Borderou de evaluare (job #675439)
Utilizator | Data | 7 februarie 2012 16:55:06 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void cauta(int, int)’:
user.cpp:17: error: no match for ‘operator=’ in ‘p = 0’
/usr/include/c++/4.4/bits/stl_list.h:114: note: candidates are: std::_List_iterator<int>& std::_List_iterator<int>::operator=(const std::_List_iterator<int>&)
user.cpp: In function ‘int main()’:
user.cpp:32: error: no match for ‘operator==’ in ‘p == 0’
/usr/include/c++/4.4/bits/stl_list.h:171: note: candidates are: bool std::_List_iterator<_Tp>::operator==(const std::_List_iterator<_Tp>&) const [with _Tp = int]
user.cpp:38: error: no match for ‘operator!=’ in ‘p != 0’
/usr/include/c++/4.4/bits/stl_list.h:175: note: candidates are: bool std::_List_iterator<_Tp>::operator!=(const std::_List_iterator<_Tp>&) const [with _Tp = int]
user.cpp:44: error: no match for ‘operator!=’ in ‘p != 0’
/usr/include/c++/4.4/bits/stl_list.h:175: note: candidates are: bool std::_List_iterator<_Tp>::operator!=(const std::_List_iterator<_Tp>&) const [with _Tp = int]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !