Borderou de evaluare (job #3002850)

Utilizator alexscanteieScanteie Alexandru alexscanteie Data 15 martie 2023 11:37:35
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
10ms172kbOK10
20ms172kbOK10
31ms303kbOK10
41ms303kbOK10
54ms958kbOK10
64ms1089kbOK10
79ms2088kbOK10
824ms3891kbOK10
914ms3665kbOK10
1048ms5787kbOK10
Punctaj total100

Ceva nu functioneaza?