Borderou de evaluare (job #158279)
Utilizator | Data | 13 martie 2008 16:14:08 | |
---|---|---|---|
Problema | Zvon | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare in evaluator:
In file included from /usr/include/c++/4.2/backward/vector.h:59,
from user.cpp:2:
/usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
user.cpp:47:2: warning: no newline at end of file
user.cpp: In function 'void minimizare(int)':
user.cpp:10: error: no match for 'operator=' in 'it = li[i].std::vector<_Tp, _Alloc>::begin [with _Tp = int, _Alloc = std::allocator<int>]'
/usr/include/c++/4.2/bits/stl_iterator.h:637: note: candidates are: __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >& __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >::operator=(const __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >&)
user.cpp:10: error: no match for 'operator!=' in 'it != li[i].std::vector<_Tp, _Alloc>::end [with _Tp = int, _Alloc = std::allocator<int>]'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !