Borderou de evaluare (job #3202583)

Utilizator db_123Balaban David db_123 Data 11 februarie 2024 20:45:44
Problema Delfin Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int dijkstra()': main.cpp:153:1: warning: control reaches end of non-void function [-Wreturn-type] 153 | } | ^ In constructor 'Info::Info(Point, int, bool)', inlined from 'int dijkstra()' at main.cpp:106:15: main.cpp:23:53: warning: 'j_start' may be used uninitialized [-Wmaybe-uninitialized] 23 | Info(Point curr, int cost, bool touchedWater) : curr(curr), cost(cost), touchedWater(touchedWater) {} | ^~~~~~~~~~ main.cpp: In function 'int dijkstra()': main.cpp:93:18: note: 'j_start' was declared here 93 | int i_start, j_start; | ^~~~~~~ In constructor 'Info::Info(Point, int, bool)', inlined from 'int dijkstra()' at main.cpp:106:15: main.cpp:23:53: warning: 'i_start' may be used uninitialized [-Wmaybe-uninitialized] 23 | Info(Point curr, int cost, bool touchedWater) : curr(curr), cost(cost), touchedWater(touchedWater) {} | ^~~~~~~~~~ main.cpp: In function 'int dijkstra()': main.cpp:93:9: note: 'i_start' was declared here 93 | int i_start, j_start; | ^~~~~~~ main.cpp: In function 'void bfs_percy()': main.cpp:73:32: warning: 'j_percy' may be used uninitialized [-Wmaybe-uninitialized] 73 | dist_percy[i_percy][j_percy] = 0; | ^ main.cpp:60:18: note: 'j_percy' was declared here 60 | int i_percy, j_percy; | ^~~~~~~ main.cpp:73:23: warning: 'i_percy' may be used uninitialized [-Wmaybe-uninitialized] 73 | dist_percy[i_percy][j_percy] = 0; | ^ main.cpp:60:9: note: 'i_percy' was declared here 60 | int i_percy, j_percy; | ^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
210ms303kbRaspuns gresit!00
220ms303kbOK!00
230ms303kbOK!00
10ms303kbRaspuns gresit!00
20ms303kbRaspuns gresit!00
30ms303kbRaspuns gresit!00
40ms303kbRaspuns gresit!00
50ms303kbRaspuns gresit!00
60ms303kbOK!55
70ms303kbOK!55
80ms303kbOK!55
90ms303kbRaspuns gresit!00
100ms303kbOK!55
113ms1081kbOK!55
125ms1081kbOK!55
1339ms2654kbOK!55
1419ms5541kbOK!55
1598ms15507kbOK!55
16132ms12001kbOK!525
1734ms9297kbOK!5
189ms6848kbOK!5
19167ms25407kbOK!5
200ms303kbOK!5
Punctaj total70

Ceva nu functioneaza?