Borderou de evaluare (job #726810)

Utilizator alexarnautuArnautu Alexandru alexarnautu Data 27 martie 2012 15:36:53
Problema Stalpi3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1: error: expected constructor, destructor, or type conversion before ‘<’ token In file included from /usr/include/c++/4.4/bits/stl_algobase.h:61, from /usr/include/c++/4.4/vector:61, from user.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 user.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 user.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 user.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 user.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 user.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 user.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 user.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

Ceva nu functioneaza?