|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 557986
Mesaj evaluator:
puncte.cpp:1: error: stray '#' in program
puncte.cpp:104: warning: integer constant is too large for 'long' type
puncte.cpp:114: error: stray '\240' in program
puncte.cpp:114: error: stray '\240' in program
puncte.cpp:114: error: stray '\240' in program
puncte.cpp:114: error: stray '\240' in program
puncte.cpp:114: error: stray '\240' in program
puncte.cpp:114: error: stray '\240' in program
puncte.cpp:114: error: stray '\240' in program
puncte.cpp:114: error: stray '\240' in program
puncte.cpp:116: warning: integer constant is too large for 'long' type
puncte.cpp:1: error: expected unqualified-id before '?' token
In file included from /usr/include/c++/4.4/cstring:44,
from puncte.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 puncte.cpp:3:
/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 puncte.cpp:3:
/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 puncte.cpp:3:
/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 puncte.cpp:3:
/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/i486-linux-gnu/bits/c++allocator.h:34,
from /usr/include/c++/4.4/bits/allocator.h:48,
from /usr/include/c++/4.4/vector:62,
from puncte.cpp:4:
/usr/include/c++/4.4/ext/new_allocator.h: At global scope:
/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/vector:62,
from puncte.cpp:4:
/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/vector:65,
from puncte.cpp:4:
/usr/include/c++/4.4/bits/stl_vector.h:192: error: 'ptrdiff_t' does not name a type
In file included from /usr/include/c++/4.4/vector:66,
from puncte.cpp:4:
/usr/include/c++/4.4/bits/stl_bvector.h:108: error: template argument 3 is invalid
/usr/include/c++/4.4/bits/stl_bvector.h:137: error: 'ptrdiff_t' has not been declared
/usr/include/c++/4.4/bits/stl_bvector.h: In member function 'void std::_Bit_iterator_base::_M_incr(int)':
/usr/include/c++/4.4/bits/stl_bvector.h:139: error: 'difference_type' was not declared in this scope
/usr/include/c++/4.4/bits/stl_bvector.h:139: error: expected ';' before '__n'
/usr/include/c++/4.4/bits/stl_bvector.h:140: error: '__n' was not declared in this scope
/usr/include/c++/4.4/bits/stl_bvector.h: At global scope:
/usr/include/c++/4.4/bits/stl_bvector.h:179: error: expected initializer before 'operator'
/usr/include/c++/4.4/bits/stl_bvector.h:231: error: declaration of 'operator+=' as non-function
/usr/include/c++/4.4/bits/stl_bvector.h:231: error: expected ';' before '(' token
/usr/include/c++/4.4/bits/stl_bvector.h:237: error: expected ';' before 'iterator'
/usr/include/c++/4.4/bits/stl_bvector.h:238: error: declaration of 'operator-=' as non-function
/usr/include/c++/4.4/bits/stl_bvector.h:238: error: expected ';' before '(' token
/usr/include/c++/4.4/bits/stl_bvector.h:244: error: expected ';' before 'iterator'
/usr/include/c++/4.4/bits/stl_bvector.h:245: error: 'difference_type' has not been declared
/usr/include/c++/4.4/bits/stl_bvector.h:252: error: 'difference_type' has not been declared
/usr/include/c++/4.4/bits/stl_bvector.h:259: error: 'difference_type' has not been declared
/usr/include/c++/4.4/bits/stl_bvector.h: In member function 'std::_Bit_iterator std::_Bit_iterator::operator+(int) const':
/usr/include/c++/4.4/bits/stl_bvector.h:248: error: no match for 'operator+=' in '__tmp += __i'
/usr/include/c++/4.4/bits/stl_bvector.h: In member function 'std::_Bit_iterator std::_Bit_iterator::operator-(int) const':
/usr/include/c++/4.4/bits/stl_bvector.h:255: error: no match for 'operator-=' in '__tmp -= __i'
/usr/include/c++/4.4/bits/stl_bvector.h: At global scope:
/usr/include/c++/4.4/bits/stl_bvector.h:264: error: declaration of 'operator+' as non-function
/usr/include/c++/4.4/bits/stl_bvector.h:264: error: 'ptrdiff_t' was not declared in this scope
/usr/include/c++/4.4/bits/stl_bvector.h:264: error: expected primary-expression before 'const'
/usr/include/c++/4.4/bits/stl_bvector.h:317: error: declaration of 'operator+=' as non-function
/usr/include/c++/4.4/bits/stl_bvector.h:317: error: expected ';' before '(' token
/usr/include/c++/4.4/bits/stl_bvector.h:323: error: expected ';' before 'const_iterator'
/usr/include/c++/4.4/bits/stl_bvector.h:324: error: declaration of 'operator-=' as non-function
/usr/include/c++/4.4/bits/stl_bvector.h:324: error: expected ';' before '(' token
/usr/include/c++/4.4/bits/stl_bvector.h:330: error: expected ';' before 'const_itera
|
||||||||||||||
ajutor |