Pagini recente » Borderou de evaluare (job #565640) | Borderou de evaluare (job #1404245) | Borderou de evaluare (job #2636996) | Borderou de evaluare (job #2704416) | Borderou de evaluare (job #2106929)
Borderou de evaluare (job #2106929)
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 | 524kb | OK | 10 |
2 | 0ms | 528kb | Incorect | 0 |
3 | 0ms | 528kb | Incorect | 0 |
4 | 0ms | 532kb | OK | 10 |
5 | 0ms | 528kb | OK | 10 |
6 | 12ms | 876kb | Incorect | 0 |
7 | 4ms | 636kb | Incorect | 0 |
8 | 8ms | 804kb | Incorect | 0 |
9 | 12ms | 844kb | Incorect | 0 |
10 | 12ms | 848kb | Incorect | 0 |
Punctaj total | 30 |