.campion
conectare | înregistrare | căutare
Pagina principală » Surse trimise » Sursa 628067

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 628067
Concurent: Octavian Dunel (Dunel Octavian)Progres: evaluare completă
Problemă: bursaPunctaj exemplu: 0
Limbaj: cppPunctaj final: 0
Dată: 20 ian 2023, 21:32
Mesaj evaluator:
bursa.cpp:1: error: stray '#' in program bursa.cpp:1: error: 'u' does not name a type In file included from /usr/include/c++/4.4/bits/stl_algobase.h:61, from /usr/include/c++/4.4/vector:61, from bursa.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/vector:61, from bursa.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/vector:61, from bursa.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/vector:61, from bursa.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/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 bursa.cpp:2: /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 bursa.cpp:2: /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 bursa.cpp:2: /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 bursa.cpp:2: /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_iterator' /usr/include/c++/4.4/bits/stl_bvector.h:331: error: 'difference_type' has not been declared /usr/include/c++/4.4/bits/stl_bvector.h:338: error: 'difference_type' has not been declared /usr/include/c++/4.4/bits/stl_bvector.h:345: error: 'difference_type' has not been declared /usr/include/c++/4.4/bits/stl_bvector.h: In member function 'std::_Bit_const_iterator std::_Bit_const_iterator::operator+(int) const': /usr/include/c++/4.4/bits/stl_bvector.h:334: error: no match for 'operator+=' in '__tmp += __i' /usr/include/c++/4.4/bits/stl_bvector.h: In member function 'std::_Bit_const_iterator std::_Bit_const_iterator::operator-(int) const': /usr/include/c++/4.4/bits/stl_bvector.h:341: 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:350: error: declaration of 'operator+' as non-function /usr/include/c++/4.4/bits/stl_bvector.h:350: error: 'ptrdiff_t' was not declared in this scope /usr/include/c++/4.4/bits/stl_bvector.h:350: error: expected primary-expression before 'const' /usr/include/c++/4.4/bits/stl_bvector.h:481: error: 'ptrdiff_t' does not name a type In file included from /usr/include/c++/4.4/bits/stl_algobase.h:67, from /usr/include/c++/4.4/vector:61, from bursa.cpp:2: /usr/include/c++/4.4/bits/stl_iterator_base_types.h: In instantiation of 'std::iterator_traits<std::_Bit_iterator>': /usr/include/c++/4.4/bits/stl_iterator.h:103: instantiated from 'std::reverse_iterator<std::_Bit_iterator>' /usr/include/c++/4.4/bits/stl_bvector.h:622: instantiated from here /usr/include/c++/4.4/bits/stl_iterator_base_types.h:127: error: no type named 'iterator_category' in 'struct std::_Bit_iterator' /usr/include/c++/4.4/bits/stl_iterator_base_types.h:128: error: no type named 'value_type' in 'struct std::_Bit_iterator' /usr/include/c++/4.4/bits/stl_iterator_base_types.h:129: error: no type named 'difference_type' in 'struct std::_Bit_iterator' /usr/include/c++/4.4/bits/stl_iterator_base_types.h: In instantiation of 'std::iterator_traits<std::_Bit_const_iterator>': /usr/include/c++/4.4/bits/stl_iterator.h:103: instantiated from 'std::reverse_iterator<std::_Bit_const_iterator>' /usr/include/c++/4.4/bits/stl_bvector.h:626: instantiated from here /usr/include/c++/4.4/bits/stl_iterator_base_types.h:127: error: no type named 'iterator_category' in 'struct std::_Bit_const_iterator' /usr/include/c++/4.4/bits/stl_iterator_base_types.h:128: error: no type named 'value_type' in 'struct std::_Bit_const_iterator' /usr/include/c++/4.4/bits/stl_iterator_base_types.h:129: error: no type named 'difference_type' in 'struct std::_Bit_const_iterator' In file included from /usr/include/c++/4.4/vector:66, from bursa.cpp:2: /usr/include/c++/4.4/bits/stl_bvector.h: In member function 'size_t std::vector<bool, _Alloc>::max_size() const': /usr/include/c++/4.4/bits/stl_bvector.h:662: error: 'difference_type' was not declared in this scope /usr/include/c++/4.4/bits/stl_bvector.h:662: error: template argument 1 is invalid /usr/include/c++/4.4/bits/stl_bvector.h: In member function 'std::_Bit_iterator std::vector<bool, _Alloc>::insert(std::_Bit_iterator, const bool&)': /usr/include/c++/4.4/bits/stl_bvector.h:775: error: 'difference_type' does not name a type /usr/include/c++/4.4/bits/stl_bvector.h:781: error: '__n' was not declared in this scope /usr/include/c++/4.4/bits/stl_bvector.h: In member function 'void st
ajutor