Pagini recente » Borderou de evaluare (job #1037110) | Monitorul de evaluare | Borderou de evaluare (job #1106632) | Monitorul de evaluare | Borderou de evaluare (job #3334197)
Borderou de evaluare (job #3334197)
Raport evaluator
Compilare:
main.cpp: In function 'void BFS(int)':
main.cpp:18:16: warning: iteration 100010 invokes undefined behavior [-Waggressive-loop-optimizations]
18 | Cost[i]=-1;
| ~~~~~~~^~~
main.cpp:17:18: note: within this loop
17 | for(int i=0;i<=100010;i++)
| ~^~~~~~~~
main.cpp:18:16: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [400040, 400043] is out of the bounds [0, 400040] of object 'Cost' with type 'int [100010]' [-Warray-bounds]
18 | Cost[i]=-1;
| ~~~~~~~^~~
main.cpp:11:27: note: 'Cost' declared here
11 | int G[100010], S[100010], Cost[100010];
| ^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 1ms | 557kb | OK | 10 |
| 2 | 1ms | 557kb | OK | 10 |
| 3 | 1ms | 557kb | OK | 10 |
| 4 | 1ms | 819kb | OK | 10 |
| 5 | 2ms | 819kb | OK | 10 |
| 6 | 9ms | 2129kb | OK | 10 |
| 7 | 28ms | 4349kb | OK | 10 |
| 8 | 29ms | 6496kb | OK | 10 |
| 9 | 191ms | 12222kb | OK | 10 |
| 10 | 171ms | 12210kb | OK | 10 |
| Punctaj total | 100 |