Borderou de evaluare (job #1081144)
Utilizator | Data | 13 ianuarie 2014 11:18:14 | |
---|---|---|---|
Problema | Coduri Huffman | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/local/include/c++/4.8.0/ext/alloc_traits.h:36:0,
from /usr/local/include/c++/4.8.0/bits/stl_construct.h:61,
from /usr/local/include/c++/4.8.0/vector:62,
from user.cpp:10:
/usr/local/include/c++/4.8.0/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<long long int>’:
/usr/local/include/c++/4.8.0/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits<long long int>’
/usr/local/include/c++/4.8.0/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<long long int, long long int>’
/usr/local/include/c++/4.8.0/bits/stl_vector.h:210:11: required from ‘class std::vector<long long int, long long int>’
user.cpp:24:31: required from here
/usr/local/include/c++/4.8.0/bits/alloc_traits.h:90:43: error: ‘long long int’ is not a class, struct, or union type
typedef typename _Alloc::value_type value_type;
^
/usr/local/include/c++/4.8.0/bits/alloc_traits.h:100:1: error: no matching function for call to ‘std::allocator_traits<long long int>::_S_pointer_helper(long long int*)’
_GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*)
^
/usr/local/include/c++/4.8.0/bits/alloc_traits.h:100:1: note: candidate is:
/usr/local/include/c++/4.8.0/bits/alloc_traits.h:100:1: note: template<class _Tp> static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = long long int]
_GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*)
^
/usr/local/include/c++/4.8.0/bits/alloc_traits.h:100:1: note: template argument deduction/substitution failed:
/usr/local/include/c++/4.8.0/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = long long int] [with _Tp = long long int]’:
/usr/local/include/c++/4.8.0/bits/alloc_traits.h:100:1: required from ‘struct std::allocator_traits<long long int>’
/usr/local/include/c++/4.8.0/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits<long long int>’
/usr/local/include/c++/4.8.0/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<long long int, long long int>’
/usr/local/include/c++/4.8.0/bits/stl_vector.h:210:11: required from ‘class std::vector<long long int, long long int>’
user.cpp:24:31: required from here
/usr/local/include/c++/4.8.0/bits/alloc_traits.h:100:1: error: ‘long long int’ is not a class, struct, or union type
/usr/local/include/c++/4.8.0/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<long long int>’:
/usr/local/include/c++/4.8.0/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits<long long int>’
/usr/local/include/c++/4.8.0/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<long long int, long long int>’
/usr/local/include/c++/4.8.0/bits/stl_vector.h:210:11: required from ‘class std::vector<long long int, long long int>’
user.cpp:24:31: required from here
/usr/local/include/c++/4.8.0/bits/alloc_traits.h:109:1: error: no matching function for call to ‘std::allocator_traits<long long int>::_S_const_pointer_helper(long long int*)’
_GLIBCXX_ALLOC_TR_NESTED_TYPE(const_pointer,
^
/usr/local/include/c++/4.8.0/bits/alloc_traits.h:109:1: note: candidate is:
/usr/local/include/c++/4.8.0/bits/alloc_traits.h:109:1: note: template<class _Tp> static typename _Tp::const_pointer std::allocator_traits<_Alloc>::_S_const_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = long long int]
_GLIBCXX_ALLOC_TR_NESTED_TYPE(const_pointer,
^
/usr/local/include/c++/4.8.0/bits/alloc_traits.h:109:1: note: template argument deduction/substitution failed:
/usr/local/include/c++/4.8.0/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::const_pointer std::allocator_traits<_Alloc>::_S_const_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = long long int] [with _Tp = long long int]’:
/usr/local/include/c++/4.8.0/bits/alloc_traits.h:109:1: required from ‘struct std::allocator_traits<long long int>’
/usr/local/include/c++/4.8.0/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits<long long int>’
/usr/local/include/c++/4.8.0/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<long long int, long long int>’
/usr/local/include/c++/4.8.0/bits/stl_vector.h:210:11: required from ‘class std::vector<long long int, long long int>’
user.cpp:24:31: required from here
/usr/local/include/c++/4.8.0/bits/alloc_traits.h:109:1: error: ‘long long int’ is not a class, struct, or union type
/usr/local/include/c++/4.8.0/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<long long int>’:
/usr/local/include/c++/4.8.0/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits<long long int>’
/usr/local/include/c++/4.8.0/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<long long int, long long int>’
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !