Borderou de evaluare (job #2846151)
Utilizator | Data | 8 februarie 2022 20:25:12 | |
---|---|---|---|
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, std::vector<bool>&, const std::vector<std::vector<int> >&)':
main.cpp:14:19: error: 'it' was not declared in this scope; did you mean 't'?
14 | int nod = it.first;
| ^~
| t
main.cpp:17:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | if (i < adj[nod].size()) {
| ~~^~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !