|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 597290
Mesaj evaluator:
pal.cpp: In function 'int main()':
pal.cpp:69: warning: comparison between signed and unsigned integer expressions
pal.cpp:76: warning: 'auto' will change meaning in C++0x; please remove it
pal.cpp:76: error: ISO C++ forbids declaration of 'it' with no type
pal.cpp:76: error: cannot convert 'std::_Deque_iterator<int, int&, int*>' to 'int' in initialization
pal.cpp:76: error: no match for 'operator!=' in 'it != std::deque<_Tp, _Alloc>::end() [with _Tp = int, _Alloc = std::allocator<int>]()'
pal.cpp:77: error: invalid type argument of 'unary *'
pal.cpp:78: 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:82: warning: 'auto' will change meaning in C++0x; please remove it
pal.cpp:82: error: ISO C++ forbids declaration of 'it' with no type
pal.cpp:82: error: cannot convert 'std::reverse_iterator<std::_Deque_iterator<int, int&, int*> >' to 'int' in initialization
pal.cpp:82: error: no match for 'operator!=' in 'it != std::deque<_Tp, _Alloc>::rend() [with _Tp = int, _Alloc = std::allocator<int>]()'
pal.cpp:83: error: invalid type argument of 'unary *'
pal.cpp:84: error: no match for 'operator-' in 'it - std::deque<_Tp, _Alloc>::rbegin() [with _Tp = int, _Alloc = std::allocator<int>]()'
pal.cpp:93: warning: comparison between signed and unsigned integer expressions
pal.cpp:96: warning: comparison between signed and unsigned integer expressions
pal.cpp:25: warning: unused variable 'pas'
pal.cpp:7: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
pal.cpp:8: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
pal.cpp:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
pal.cpp:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
|
||||||||||||||
ajutor |