|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 597289
Mesaj evaluator:
pal.cpp: In function 'int main()':
pal.cpp:87: warning: comparison between signed and unsigned integer expressions
pal.cpp:91: warning: comparison between signed and unsigned integer expressions
pal.cpp:93: warning: 'auto' will change meaning in C++0x; please remove it
pal.cpp:93: error: ISO C++ forbids declaration of 'it' with no type
pal.cpp:93: error: cannot convert 'std::_Deque_iterator<int, int&, int*>' to 'int' in initialization
pal.cpp:93: error: no match for 'operator!=' in 'it != std::deque<_Tp, _Alloc>::end() [with _Tp = int, _Alloc = std::allocator<int>]()'
pal.cpp:94: error: invalid type argument of 'unary *'
pal.cpp:95: error: no matching function for call to 'std::deque<int, std::allocator<int> >::insert(int&, int&)'
/usr/include/c++/4.4/bits/deque.tcc:120: note: candidates are: typename std::deque<_Tp, _Alloc>::iterator std::deque<_Tp, _Alloc>::insert(typename std::_Deque_base<_Tp, _Alloc>::iterator, const _Tp&) [with _Tp = int, _Alloc = std::allocator<int>]
/usr/include/c++/4.4/bits/stl_deque.h:1330: note: void std::deque<_Tp, _Alloc>::insert(typename std::_Deque_base<_Tp, _Alloc>::iterator, size_t, const _Tp&) [with _Tp = int, _Alloc = std::allocator<int>]
pal.cpp:99: warning: 'auto' will change meaning in C++0x; please remove it
pal.cpp:99: error: ISO C++ forbids declaration of 'it' with no type
pal.cpp:99: error: cannot convert 'std::reverse_iterator<std::_Deque_iterator<int, int&, int*> >' to 'int' in initialization
pal.cpp:99: error: no match for 'operator!=' in 'it != std::deque<_Tp, _Alloc>::rend() [with _Tp = int, _Alloc = std::allocator<int>]()'
pal.cpp:100: error: invalid type argument of 'unary *'
pal.cpp:101: error: no match for 'operator-' in 'it - std::deque<_Tp, _Alloc>::rbegin() [with _Tp = int, _Alloc = std::allocator<int>]()'
/usr/include/c++/4.4/bits/stl_bvector.h:179: note: candidates are: ptrdiff_t std::operator-(const std::_Bit_iterator_base&, const std::_Bit_iterator_base&)
pal.cpp:110: warning: comparison between signed and unsigned integer expressions
pal.cpp:113: warning: comparison between signed and unsigned integer expressions
|
||||||||||||||
ajutor |