Borderou de evaluare (job #2784350)

Utilizator AlexTacuTacu Alexandru AlexTacu Data 16 octombrie 2021 12:52:41
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void prg()': main.cpp:4:20: warning: integer overflow in expression of type 'int' results in '2147483647' [-Woverflow] 4 | #define INF (1<<31)-1 | ~~~~~~~^~ main.cpp:63:17: note: in expansion of macro 'INF' 63 | Dist[i]=INF; | ^~~ main.cpp: In function 'void afis()': main.cpp:4:20: warning: integer overflow in expression of type 'int' results in '2147483647' [-Woverflow] 4 | #define INF (1<<31)-1 | ~~~~~~~^~ main.cpp:73:21: note: in expansion of macro 'INF' 73 | if(Dist[i]==INF) | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbOK10
212ms1355kbOK10
32ms184kbOK10
46ms1454kbOK10
529ms1908kbOK10
645ms2355kbOK10
763ms2793kbOK10
8125ms4317kbOK10
990ms4042kbOK10
10298ms6103kbOK10
Punctaj total100

Ceva nu functioneaza?