Pagini recente » Borderou de evaluare (job #685410) | Borderou de evaluare (job #3199234)
Borderou de evaluare (job #3199234)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:45:17: warning: iteration 100009 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 [400040, 400043] is out of the bounds [0, 400040] of object 'cost' with type 'int [100010]' [-Warray-bounds]
45 | cost[i] = -1;
| ~~~~~~~~^~~~
main.cpp:8:5: note: 'cost' declared here
8 | int cost[NN], c[NN];
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 819kb | OK | 10 |
2 | 0ms | 819kb | OK | 10 |
3 | 0ms | 819kb | OK | 10 |
4 | 1ms | 819kb | OK | 10 |
5 | 2ms | 823kb | OK | 10 |
6 | 8ms | 1605kb | OK | 10 |
7 | 19ms | 2600kb | OK | 10 |
8 | 14ms | 2584kb | OK | 10 |
9 | 109ms | 9646kb | OK | 10 |
10 | 104ms | 9613kb | OK | 10 |
Punctaj total | 100 |