Borderou de evaluare (job #1990013)
Utilizator | Data | 9 iunie 2017 22:51:17 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:37: error: invalid initialization of reference of type ‘std::vector<int>&’ from expression of type ‘std::vector<bool>’
visit(check, vertices, i);
^
user.cpp:5:6: error: in passing argument 1 of ‘void visit(std::vector<int>&, std::vector<int>*, int)’
void visit(std::vector<int> &check, std::vector<int> *vertices, int curr) {
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !