Borderou de evaluare (job #3002851)

Utilizator alexscanteieScanteie Alexandru alexscanteie Data 15 martie 2023 11:37:42
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void Dijkstra(int)': main.cpp:39:19: warning: integer overflow in expression of type 'int' results in '2147483647' [-Woverflow] 39 | #define oo (1<<31)-1 | ~~~~~~~^~ main.cpp:71:16: note: in expansion of macro 'oo' 71 | D[i] = oo; | ^~ main.cpp: In function 'void Afiseaza()': main.cpp:39:19: warning: integer overflow in expression of type 'int' results in '2147483647' [-Woverflow] 39 | #define oo (1<<31)-1 | ~~~~~~~^~ main.cpp:105:20: note: in expansion of macro 'oo' 105 | if(D[i] != oo) | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK10
20ms184kbOK10
30ms184kbOK10
40ms184kbOK10
57ms1888kbOK10
620ms2281kbOK10
723ms2621kbOK10
862ms4112kbOK10
945ms3948kbOK10
10135ms6033kbOK10
Punctaj total100

Ceva nu functioneaza?