Borderou de evaluare (job #2303731)
Utilizator | Data | 16 decembrie 2018 20:16:22 | |
---|---|---|---|
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 'int main()':
main.cpp:41:4: error: 'was' was not declared in this scope
was[nodul]=1;
^~~
main.cpp:51:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = 2 ; i <= Nrnodes ; i++)
^~~
main.cpp:56:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
return 0;
^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !