Borderou de evaluare (job #2549914)

Utilizator gabbie02Thomits Gabriel gabbie02 Data 18 februarie 2020 09:13:00
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
530ms1703kbOK10
662ms3014kbOK10
775ms3932kbOK10
815ms1835kbIncorect0
915ms1835kbIncorect0
1015ms1835kbIncorect0
Punctaj total70

Ceva nu functioneaza?