Borderou de evaluare (job #2841440)

Utilizator anaop32Oprea Ana-Maria anaop32 Data 29 ianuarie 2022 18:47:24
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:37:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 37 | for (int i = 0; i < lv[nod].size(); i++){ | ~~^~~~~~~~~~~~~~~~ main.cpp:41:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 41 | if (dist[nod] + cost < dist[nodVecin]) | ^~ main.cpp:43:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 43 | pq.push(make_pair(dist[nodVecin], nodVecin)); | ^~ main.cpp:48:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<std::pair<int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | for (int i = 1; i < lv.size(); i++){ | ~~^~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK10
32ms184kbOK10
42ms184kbOK10
530ms1024kbOK10
654ms1630kbOK10
773ms2326kbOK10
8189ms5242kbOK10
9121ms4075kbOK10
10385ms6840kbOK10
Punctaj total100

Ceva nu functioneaza?