Borderou de evaluare (job #497078)
Utilizator | Data | 1 noiembrie 2010 16:38:09 | |
---|---|---|---|
Problema | Oite | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function 'void insert(int)':
user.cpp:27: error: conversion from '__gnu_cxx::__normal_iterator<std::pair<int, int>*, std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > > >' to non-scalar type 'std::_List_iterator<std::pair<int, int> >' requested
user.cpp:27: error: no match for 'operator!=' in 'it != H[p].std::vector<_Tp, _Alloc>::end [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >]()'
/usr/include/c++/4.2/bits/stl_list.h:174: note: candidates are: bool std::_List_iterator<_Tp>::operator!=(const std::_List_iterator<_Tp>&) const [with _Tp = std::pair<int, int>]
user.cpp: In function 'void erase(int)':
user.cpp:36: error: conversion from '__gnu_cxx::__normal_iterator<std::pair<int, int>*, std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > > >' to non-scalar type 'std::_List_iterator<std::pair<int, int> >' requested
user.cpp:36: error: no match for 'operator!=' in 'it != H[p].std::vector<_Tp, _Alloc>::end [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >]()'
/usr/include/c++/4.2/bits/stl_list.h:174: note: candidates are: bool std::_List_iterator<_Tp>::operator!=(const std::_List_iterator<_Tp>&) const [with _Tp = std::pair<int, int>]
user.cpp: In function 'int find(int)':
user.cpp:50: error: conversion from '__gnu_cxx::__normal_iterator<std::pair<int, int>*, std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > > >' to non-scalar type 'std::_List_iterator<std::pair<int, int> >' requested
user.cpp:50: error: no match for 'operator!=' in 'it != H[p].std::vector<_Tp, _Alloc>::end [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >]()'
/usr/include/c++/4.2/bits/stl_list.h:174: note: candidates are: bool std::_List_iterator<_Tp>::operator!=(const std::_List_iterator<_Tp>&) const [with _Tp = std::pair<int, int>]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !