Borderou de evaluare (job #2798039)
Utilizator | Data | 10 noiembrie 2021 20:42:05 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:17:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for(int i = 0; i < la[nod].size(); ++i){
| ~~^~~~~~~~~~~~~~~~
main.cpp:23:1: error: a function-definition is not allowed here before '{' token
23 | {
| ^
main.cpp:39:1: error: expected '}' at end of input
39 | }
| ^
main.cpp:15:1: note: to match this '{'
15 | {
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !