Pagini recente » Borderou de evaluare (job #3141071) | Borderou de evaluare (job #2741806) | Borderou de evaluare (job #642280) | Borderou de evaluare (job #2819459) | Borderou de evaluare (job #1245281)
Borderou de evaluare (job #1245281)
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 | 372kb | OK | 10 |
| 2 | 0ms | 376kb | OK | 10 |
| 3 | 0ms | 376kb | OK | 10 |
| 4 | Depăşit | 348kb | Time limit exceeded. | 0 |
| 5 | 0ms | 372kb | OK | 10 |
| 6 | 12ms | 676kb | OK | 10 |
| 7 | 0ms | 468kb | OK | 10 |
| 8 | 8ms | 620kb | OK | 10 |
| 9 | 8ms | 540kb | OK | 10 |
| 10 | 8ms | 668kb | OK | 10 |
| Punctaj total | 90 |