Borderou de evaluare (job #743132)

Utilizator darkseekerBoaca Cosmin darkseeker Data 3 mai 2012 14:26:15
Problema APDM 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/algorithm: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/algorithm: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/algorithm: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/algorithm: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/bits/stl_algo.h:63, from /usr/include/c++/4.4/algorithm:62, from user.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’

Ceva nu functioneaza?