Borderou de evaluare (job #2408619)
Utilizator | Data | 18 aprilie 2019 10:35:52 | |
---|---|---|---|
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:27:28: error: expected primary-expression before '->' token
G[b].push_back(Edge->b, cost);
^~
main.cpp:37:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(auto edge:G[ind])
^~~
main.cpp:40:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
viz[ind] = 1;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !