Pagini recente » Borderou de evaluare (job #2098498) | Borderou de evaluare (job #920145) | Borderou de evaluare (job #2756082) | Borderou de evaluare (job #1188954) | Borderou de evaluare (job #1245283)
Borderou de evaluare (job #1245283)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:55:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(depth == dist[Y])
^
user.cpp: In function ‘void read()’:
user.cpp:14:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.in", "r", stdin);
^
user.cpp:15:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.out", "w", stdout);
^
user.cpp:16:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &N, &M, &X, &Y);
^
user.cpp:20:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 376kb | OK | 10 |
2 | 0ms | 372kb | OK | 10 |
3 | 0ms | 376kb | OK | 10 |
4 | Depăşit | 356kb | Time limit exceeded. | 0 |
5 | 0ms | 376kb | OK | 10 |
6 | 12ms | 668kb | OK | 10 |
7 | 0ms | 468kb | OK | 10 |
8 | 8ms | 620kb | OK | 10 |
9 | 8ms | 668kb | OK | 10 |
10 | 12ms | 672kb | OK | 10 |
Punctaj total | 90 |