Borderou de evaluare (job #2549908)

Utilizator gabbie02Thomits Gabriel gabbie02 Data 18 februarie 2020 09:09:43
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'void rd()': main.cpp:23:22: warning: result of '(2 << 31)' requires 34 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=] dist[i] = (2 << 31) - 1; ~~^~~~~ main.cpp: In function 'int main()': main.cpp:57:26: warning: result of '(2 << 31)' requires 34 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=] if(dist[i] == (2 << 31) - 1){ ~~^~~~~ main.cpp:57:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(dist[i] == (2 << 31) - 1){ ~~~~~~~~^~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
34ms262kbOK10
45ms262kbOK10
529ms1310kbOK10
658ms2228kbOK10
772ms2883kbOK10
812ms1703kbIncorect0
915ms1703kbIncorect0
1015ms1703kbIncorect0
Punctaj total70

Ceva nu functioneaza?