Borderou de evaluare (job #189555)
Utilizator | Data | 15 mai 2008 17:06:11 | |
---|---|---|---|
Problema | Online | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare in evaluator:
user.cpp: In function 'int main()':
user.cpp:30: error: no match for 'operator=' in '((std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >*)a.std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >, _Alloc = std::allocator<std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > > >](((unsigned int)x)))->std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >](((unsigned int)y)) = z'
/usr/include/c++/4.2/bits/stl_pair.h:69: note: candidates are: std::pair<int, int>& std::pair<int, int>::operator=(const std::pair<int, int>&)
user.cpp:31: error: no match for 'operator=' in '((std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >*)a.std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >, _Alloc = std::allocator<std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > > >](((unsigned int)y)))->std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >](((unsigned int)x)) = z'
/usr/include/c++/4.2/bits/stl_pair.h:69: note: candidates are: std::pair<int, int>& std::pair<int, int>::operator=(const std::pair<int, int>&)
user.cpp:35: error: could not convert '((std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >*)a.std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >, _Alloc = std::allocator<std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > > >](((unsigned int)i)))->std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >](((unsigned int)j))' to 'bool'
user.cpp:39: error: 'v' was not declared in this scope
user.cpp:40: error: 'it' was not declared in this scope
user.cpp:40: error: expected unqualified-id before '=' token
user.cpp:41: error: 'v' was not declared in this scope
user.cpp:45: error: 'folosit' was not declared in this scope
user.cpp:45: error: 'second' was not declared in this scope
user.cpp:46: error: 'cost' was not declared in this scope
user.cpp:54: error: 'cost' was not declared in this scope
user.cpp:55: error: 'k' was not declared in this scope
user.cpp:59: error: 'e' was not declared in this scope
user.cpp:60: error: no match for 'operator==' in '((std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >*)a.std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >, _Alloc = std::allocator<std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > > >](((unsigned int)x)))->std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >](((unsigned int)y)) == 0'
user.cpp:62: error: no match for 'operator=' in '((std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >*)a.std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >, _Alloc = std::allocator<std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > > >](((unsigned int)x)))->std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >](((unsigned int)y)) = z'
/usr/include/c++/4.2/bits/stl_pair.h:69: note: candidates are: std::pair<int, int>& std::pair<int, int>::operator=(const std::pair<int, int>&)
user.cpp:63: error: no match for 'operator=' in '((std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >*)a.std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >, _Alloc = std::allocator<std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > > >](((unsigned int)y)))->std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >](((unsigned int)x)) = z'
/usr/include/c++/4.2/bits/stl_pair.h:69: note: candidates are: std::pair<int, int>& std::pair<int, int>::operator=(const std::pair<int, int>&)
user.cpp:67: error: expected `;' before '}' token
/usr/include/c++/4.2/bits/stl_pair.h: In constructor 'std::pair<_T1, _T2>::pair(const std::pair<_U1, _U2>&) [with _U1 = std::pair<int, int>, _U2 = std::pair<int, int>, _T1 = int, _T2 = std::pair<int, int>]':
user.cpp:36: instantiated from here
/usr/include/c++/4.2/bits/stl_pair.h:90: error: cannot convert 'const std::pair<int, int>' to 'int' in initialization
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !