Borderou de evaluare (job #2509122)
Utilizator | Data | 13 decembrie 2019 20:21:56 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool bellmanford(int)':
main.cpp:54:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(Inqueue[Neighbour] == false)
^~
main.cpp:56:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
Inqueue[Neighbour] = true;
^~~~~~~
main.cpp: In function 'void Write()':
main.cpp:65:21: error: 'S' was not declared in this scope
if (bellmanford(S)) {
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !