Borderou de evaluare (job #2191183)

Utilizator Anastasia11Susciuc Anastasia Anastasia11 Data 1 aprilie 2018 22:25:09
Problema Catun Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:41:30: error: ‘class std::priority_queue<std::pair<int, int> >’ has no member named ‘front’ int old_node = dij.front().second; ^~~~~ user.cpp:43:10: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if(seen[old_node] == 1) ^~ user.cpp:45:11: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ seen[old_node]=1; ^~~~ user.cpp:46:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( int k = 0 ; k < v[old_node].size(); k ++ ) ~~^~~~~~~~~~~~~~~~~~~~

Ceva nu functioneaza?