Borderou de evaluare (job #2415713)
Utilizator | Data | 26 aprilie 2019 14:18:24 | |
---|---|---|---|
Problema | BFS - Parcurgere in latime | 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:44:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<v[nod].size(); i++){
~^~~~~~~~~~~~~~
main.cpp:48:17: error: 'lvl' was not declared in this scope
lvl[v[nod][i]] = lvl[nod] + 1;}}}
^~~
main.cpp:51:13: error: 'lvl' was not declared in this scope
lvl[i] = -1;}
^~~
main.cpp:52:15: error: 'lvl' was not declared in this scope
cout<<lvl[i]<<" ";}
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !