|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 614570
Mesaj evaluator:
tema.cpp:1: error: stray '#' in program
tema.cpp:1: error: expected unqualified-id before '?' token
In file included from /usr/include/c++/4.4/bits/stl_algobase.h:61,
from /usr/include/c++/4.4/algorithm:61,
from tema.cpp:2:
/usr/include/c++/4.4/cstddef:51: error: '::ptrdiff_t' has not been declared
In file included from /usr/include/c++/4.4/bits/stl_algobase.h:67,
from /usr/include/c++/4.4/algorithm:61,
from tema.cpp:2:
/usr/include/c++/4.4/bits/stl_iterator_base_types.h:102: error: expected type-specifier before 'ptrdiff_t'
/usr/include/c++/4.4/bits/stl_iterator_base_types.h:102: error: expected '>' before 'ptrdiff_t'
/usr/include/c++/4.4/bits/stl_iterator_base_types.h:113: error: '_Pointer' does not name a type
/usr/include/c++/4.4/bits/stl_iterator_base_types.h:115: error: '_Reference' does not name a type
/usr/include/c++/4.4/bits/stl_iterator_base_types.h:139: error: 'ptrdiff_t' does not name a type
/usr/include/c++/4.4/bits/stl_iterator_base_types.h:149: error: 'ptrdiff_t' does not name a type
In file included from /usr/include/c++/4.4/bits/stl_algobase.h:69,
from /usr/include/c++/4.4/algorithm:61,
from tema.cpp:2:
/usr/include/c++/4.4/bits/stl_iterator.h:95: error: wrong number of template arguments (5, should be 3)
/usr/include/c++/4.4/bits/stl_iterator_base_types.h:104: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
/usr/include/c++/4.4/bits/stl_iterator.h:390: error: wrong number of template arguments (5, should be 3)
/usr/include/c++/4.4/bits/stl_iterator_base_types.h:104: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
/usr/include/c++/4.4/bits/stl_iterator.h:474: error: wrong number of template arguments (5, should be 3)
/usr/include/c++/4.4/bits/stl_iterator_base_types.h:104: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
/usr/include/c++/4.4/bits/stl_iterator.h:561: error: wrong number of template arguments (5, should be 3)
/usr/include/c++/4.4/bits/stl_iterator_base_types.h:104: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
In file included from /usr/include/c++/4.4/algorithm:61,
from tema.cpp:2:
/usr/include/c++/4.4/bits/stl_algobase.h: In static member function 'static _Tp* std::__copy_move_backward<_IsMove, true, std::random_access_iterator_tag>::__copy_move_b(const _Tp*, const _Tp*, _Tp*)':
/usr/include/c++/4.4/bits/stl_algobase.h:574: error: 'ptrdiff_t' does not name a type
/usr/include/c++/4.4/bits/stl_algobase.h:575: error: '_Num' was not declared in this scope
In file included from /usr/include/c++/4.4/bits/stl_algo.h:63,
from /usr/include/c++/4.4/algorithm:62,
from tema.cpp:2:
/usr/include/c++/4.4/bits/stl_tempbuf.h: At global scope:
/usr/include/c++/4.4/bits/stl_tempbuf.h:84: error: 'ptrdiff_t' was not declared in this scope
/usr/include/c++/4.4/bits/stl_tempbuf.h:84: error: template argument 2 is invalid
/usr/include/c++/4.4/bits/stl_tempbuf.h:85: error: invalid type in declaration before '(' token
/usr/include/c++/4.4/bits/stl_tempbuf.h:85: error: template declaration of 'int std::get_temporary_buffer'
/usr/include/c++/4.4/bits/stl_tempbuf.h:85: error: 'ptrdiff_t' was not declared in this scope
/usr/include/c++/4.4/bits/stl_tempbuf.h:131: error: 'ptrdiff_t' does not name a type
/usr/include/c++/4.4/bits/stl_tempbuf.h:134: error: 'size_type' does not name a type
/usr/include/c++/4.4/bits/stl_tempbuf.h:135: error: 'size_type' does not name a type
/usr/include/c++/4.4/bits/stl_tempbuf.h:140: error: 'size_type' does not name a type
/usr/include/c++/4.4/bits/stl_tempbuf.h:145: error: 'size_type' does not name a type
/usr/include/c++/4.4/bits/stl_tempbuf.h: In member function '_Tp* std::_Temporary_buffer<_ForwardIterator, _Tp>::end()':
/usr/include/c++/4.4/bits/stl_tempbuf.h:157: error: '_M_len' was not declared in this scope
/usr/include/c++/4.4/bits/stl_tempbuf.h: In destructor 'std::_Temporary_buffer<_ForwardIterator, _Tp>::~_Temporary_buffer()':
/usr/include/c++/4.4/bits/stl_tempbuf.h:167: error: '_M_len' was not declared in this scope
/usr/include/c++/4.4/bits/stl_tempbuf.h: In constructor 'std::_Temporary_buffer<_ForwardIterator, _Tp>::_Temporary_buffer(_ForwardIterator, _ForwardIterator)':
/usr/include/c++/4.4/bits/stl_tempbuf.h:182: error: class 'std::_Temporary_buffer<_ForwardIterator, _Tp>' does not have any field named '_M_original_len'
/usr/include/c++/4.4/bits/stl_tempbuf.h:183: error: class 'std::_Temporary_buffer<_ForwardIterator, _Tp>' does not have any field named '_M_len'
/usr/include/c++/4.4/bits/stl_tempbuf.h:187: error: 'size_type' was not declared in this scope
/usr/include/c++/4.4/bits/stl_tempbuf.h:187: error: template argument 2 is invalid
/usr/include/c++/4.4/bits/stl_tempbuf.h:187: error: invalid type in declaration before '(' token
/usr/include/c++/4.4/bits/stl_tempbuf.h:187: error: 'get_temporary_buffer' is not a member of 'std'
/usr/include/c++/4.4/bits/stl_tempbuf.h:188: error: expected primary-expression before '>' token
/usr/include/c++/4.4/bits/stl_tempbuf.h:188: error: '_M_original_len' was not declared in this scope
/usr/include/c++/4.4/bits/stl_tempbuf.h:189: error: request for member 'first' in '__p', which is of non-class type 'int'
/usr/include/c++/4.4/bits/stl_tempbuf.h:190: error: '_M_len' was not declared in this scope
/usr/include/c++/4.4/bits/stl_tempbuf.h:190: error: request for member 'second' in '__p', which is of non-class type 'int'
/usr/include/c++/4.4/bits/stl_tempbuf.h:198: error: '_M_len' was not declared in this scope
In file included from /usr/include/c++/4.4/iosfwd:42,
from /usr/include/c++/4.4/ios:39,
from /usr/include/c++/4.4/istream:40,
from /usr/include/c++/4.4/fstream:40,
from tema.cpp:5:
/usr/include/c++/4.4/bits/postypes.h: At global scope:
/usr/include/c++/4.4/bits/postypes.h:98: error: 'ptrdiff_t' does not name a type
In file included from /usr/include/c++/4.4/i486-linux-gnu/bits/c++allocator.h:34,
from /usr/include/c++/4.4/bits/allocator.h:48,
from /usr/include/c++/4.4/string:43,
from /usr/include/c++/4.4/bits/locale_classes.h:42,
from /usr/include/c++/4.4/bits/ios_base.h:43,
from /usr/include/c++/4.4/ios:43,
from /usr/include/c++/4.4/istream:40,
from /usr/include/c++/4.4/fstream:40,
from tema.cpp:5:
/usr/include/c++/4.4/ext/new_allocator.h:40: error: 'std::ptrdiff_t' has not been declared
/usr/include/c++/4.4/ext/new_allocator.h:55: error: 'ptrdiff_t' does not name a type
In file included from /usr/include/c++/4.4/string:43,
from /usr/include/c++/4.4/bits/locale_classes.h:42,
from /usr/include/c++/4.4/bits/ios_base.h:43,
from /usr/include/c++/4.4/ios:43,
from /usr/include/c++/4.4/istream:40,
from /usr/include/c++/4.4/fstream:40,
from tema.cpp:5:
/usr/include/c++/4.4/bits/allocator.h:68: error: 'ptrdiff_t' does not name a type
/usr/include/c++/4.4/bits/allocator.h:90: error: 'ptrdiff_t' does not name a type
In file included from /usr/include/c++/4.4/string:46,
from /usr/include/c++/4.4/bits/locale_classes.h:42,
from /usr/include/c++/4.4/bits/ios_base.h:43,
from /usr/include/c++/4.4/ios:43,
from /usr/include/c++/4.4/istream:40,
from /usr/include/c++/4.4/fstream:40,
from tema.cpp:5:
/usr/include/c++/4.4/bits/ostream_insert.h:43: error: 'streamsize' has not been declared
/usr/include/c++/4.4/bits/ostream_insert.h: In function 'void std::__ostream_write(std::basic_ostream<_CharT, _Traits>&, const _CharT*, int)':
/usr/include/c++/4.4/bits/ostream_insert.h:48: error: 'streamsize' does not name a type
/usr/include/c++/4.4/bits/ostream_insert.h:49: error: '__put' was not declared in this scope
/usr/include/c++/4.4/bits/ostream_insert.h: At global scope:
/usr/include/c++/4.4/bits/ostream_insert.h:55: error: 'streamsize' has not been declared
/usr/include/c++/4.4/bits/ostream_insert.h:75: error: 'streamsize' has not been declared
/usr/include/c++/4.4/bits/ostream_insert.h: In function 'std::basic_ostream<_CharT, _Traits>& std::__ostream_insert(std::basic_ostream<_CharT, _Traits>&, const _CharT*, int)':
/usr/include/c++/4.4/bits/ostream_insert.h:85: error: 'streamsize' does not name a type
/usr/include/c++/4.4/bits/ostream_insert.h:86: error: '__w' was not declared in this scope
/usr/include/c++/4.4/bits/ostream_insert.h: At global scope:
/usr/include/c++/4.4/bits/ostream_insert.h:117: error: 'streamsize' has not been declared
/usr/include/c++/4.4/bits/ostream_insert.h:121: error: 'streamsize' has not been declared
In file included from /usr/include/c++/4.4/string:56,
from /usr/include/c++/4.4/bits/locale_classes.h:42,
from /usr/include/c++/4.4/bits/ios_base.h:43,
from /usr/include/c++/4.4/ios:43,
from /usr/include/c++/4.4/istream:40,
from /usr/include/c++/4.4/fstream:40,
from tema.cpp:5:
/usr/include/c++/4.4/bits/basic_string.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::basic_string<_CharT, _Traits, _Alloc>&)':
/usr/include/c++/4.4/bits/basic_string.tcc:996: error: 'streamsize' does not name a type
/usr/include/c++/4.4/bits/basic_string.tcc:997: error: '__w' was not declared in this scope
In file included from /usr/include/c++/4.4/string:53,
from /usr/include/c++/4.4/bits/locale_classes.h:42,
from /usr/include/c++/4.4/bits/ios_base.h:43,
from /usr/include/c++/4.4/ios:
|
||||||||||||||
ajutor |