Pagini recente » Borderou de evaluare (job #1480563) | Borderou de evaluare (job #1370843) | Borderou de evaluare (job #869331) | Borderou de evaluare (job #1296139) | Borderou de evaluare (job #2106896)
Borderou de evaluare (job #2106896)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS(int, int)’:
user.cpp:31:30: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(time == 0 && child == y || time == 1 && child == x) return;
^
user.cpp: In function ‘int main()’:
user.cpp:39:35: 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:40:37: 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:42:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &nodes, &edges, &x, &y);
^
user.cpp:46:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &u, &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 528kb | OK | 10 |
2 | 0ms | 536kb | Incorect | 0 |
3 | 0ms | 540kb | Incorect | 0 |
4 | 0ms | 540kb | OK | 10 |
5 | 0ms | 536kb | OK | 10 |
6 | 12ms | 856kb | Incorect | 0 |
7 | 4ms | 628kb | Incorect | 0 |
8 | 8ms | 792kb | Incorect | 0 |
9 | 12ms | 828kb | Incorect | 0 |
10 | 12ms | 832kb | Incorect | 0 |
Punctaj total | 30 |