Borderou de evaluare (job #3001967)

Utilizator CaptnBananaPetcu Tudor CaptnBanana Data 14 martie 2023 09:43:50
Problema Distante Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

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
11ms565kbIncorect00
23ms958kbIncorect00
33ms827kbIncorect00
49ms1531kbIncorect00
59ms1851kbIncorect00
643ms4947kbIncorect00
733ms5812kbIncorect00
819ms2490kbIncorect0
943ms5255kbIncorect0
1038ms4943kbIncorect0
Punctaj total0

Ceva nu functioneaza?