Borderou de evaluare (job #3199232)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:45:17: warning: iteration 100000 invokes undefined behavior [-Waggressive-loop-optimizations]
45 | cost[i] = -1;
| ~~~~~~~~^~~~
main.cpp:44:19: note: within this loop
44 | for(int i=1; i<=NN; i++)
| ^
main.cpp:45:17: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [400004, 400007] is out of the bounds [0, 400004] of object 'cost' with type 'int [100001]' [-Warray-bounds]
45 | cost[i] = -1;
| ~~~~~~~~^~~~
main.cpp:8:5: note: 'cost' declared here
8 | int cost[NN] = {-1}, c[NN];
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 557kb | OK | 10 |
2 | 0ms | 557kb | OK | 10 |
3 | 0ms | 819kb | OK | 10 |
4 | 1ms | 819kb | OK | 10 |
5 | 2ms | 819kb | OK | 10 |
6 | 8ms | 1605kb | OK | 10 |
7 | 19ms | 2596kb | OK | 10 |
8 | 14ms | 2568kb | OK | 10 |
9 | 33ms | 2428kb | Killed by Signal 11 | 0 |
10 | 30ms | 2416kb | Killed by Signal 11 | 0 |
Punctaj total | 80 |