Borderou de evaluare (job #2858517)

Utilizator Max_CalincuMaxim Calincu Max_Calincu Data 27 februarie 2022 18:45:12
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:51:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 51 | for(int i = 0; i < a[x].size(); i++){ | ~~^~~~~~~~~~~~~ main.cpp:58:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 58 | for(int i = 1; i<n; i++) cout << d[i] << " "; cout << "\n"; | ^~~ main.cpp:58:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 58 | for(int i = 1; i<n; i++) cout << d[i] << " "; cout << "\n"; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
111ms6451kbOK10
211ms6492kbIncorect0
311ms6561kbIncorect0
410ms6598kbIncorect0
539ms7372kbIncorect0
664ms8044kbIncorect0
786ms8478kbIncorect0
8188ms10854kbIncorect0
9121ms9674kbOK10
10220ms12308kbMemory limit exceeded0
Punctaj total20

Ceva nu functioneaza?