Borderou de evaluare (job #282034)
Utilizator | Data | 16 martie 2009 19:46:05 | |
---|---|---|---|
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 'void dfs(int)':
user.cpp:17: error: cannot convert '__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >' to '__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >*' in assignment
user.cpp:17: error: no match for 'operator!=' in 'it != a[nod].std::vector<_Tp, _Alloc>::end [with _Tp = int, _Alloc = std::allocator<int>]()'
user.cpp:18: error: no match for 'operator[]' in 'viz[* it]'
user.cpp:19: error: cannot convert '__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >' to 'int' for argument '1' to 'void dfs(int)'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !