Pagini recente » Borderou de evaluare (job #718691) | Borderou de evaluare (job #1441136) | Borderou de evaluare (job #1866584) | Borderou de evaluare (job #1192380) | Borderou de evaluare (job #3001967)
Borderou de evaluare (job #3001967)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra(int)':
main.cpp:43:19: warning: iteration 50000 invokes undefined behavior [-Waggressive-loop-optimizations]
43 | d_adev[i] = INF32;
| ~~~~~~~~~~^~~~~~~
main.cpp:42:22: note: within this loop
42 | for(int i = 1; i <= N; i++){
| ~~^~~~
main.cpp:43:19: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [200004, 200007] is out of the bounds [0, 200004] of object 'd_adev' with type 'int [50001]' [-Warray-bounds]
43 | d_adev[i] = INF32;
| ~~~~~~~~~~^~~~~~~
main.cpp:10:17: note: 'd_adev' declared here
10 | int h[N], d[N], d_adev[N];
| ^~~~~~
main.cpp:44:20: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset 50001 is out of the bounds [0, 50001] of object 'in_heap' with type 'bool [50001]' [-Warray-bounds]
44 | in_heap[i] = false;
| ~~~~~~~~~~~^~~~~~~
main.cpp:12:6: note: 'in_heap' declared here
12 | bool in_heap[N];
| ^~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 565kb | Incorect | 0 | 0 |
2 | 3ms | 958kb | Incorect | 0 | 0 |
3 | 3ms | 827kb | Incorect | 0 | 0 |
4 | 9ms | 1531kb | Incorect | 0 | 0 |
5 | 9ms | 1851kb | Incorect | 0 | 0 |
6 | 43ms | 4947kb | Incorect | 0 | 0 |
7 | 33ms | 5812kb | Incorect | 0 | 0 |
8 | 19ms | 2490kb | Incorect | 0 |
9 | 43ms | 5255kb | Incorect | 0 |
10 | 38ms | 4943kb | Incorect | 0 |
Punctaj total | 0 |