Borderou de evaluare (job #2862291)

Utilizator TiberiwTiberiu Amarie Tiberiw Data 5 martie 2022 11:10:36
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int Dijkstra(int)': main.cpp:51:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 51 | for(int i = 0; i <= k; i++) | ^~~ main.cpp:54:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 54 | return sol; | ^~~~~~ main.cpp:33:15: warning: 'y' is used uninitialized in this function [-Wuninitialized] 33 | int x,y,z; | ^ main.cpp:35:13: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] 35 | x = -x; | ^~ main.cpp:37:22: warning: 'z' may be used uninitialized in this function [-Wmaybe-uninitialized] 37 | if(x > D[y][z]) | ~~~~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbKilled by Signal 110
22ms184kbKilled by Signal 110
32ms184kbKilled by Signal 110
42ms184kbKilled by Signal 110
52ms184kbKilled by Signal 110
62ms184kbKilled by Signal 110
72ms184kbKilled by Signal 110
82ms184kbKilled by Signal 110
92ms184kbKilled by Signal 110
102ms184kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?