Borderou de evaluare (job #1081369)

Utilizator Catalina_BrinzaBrinza Catalina Catalina_Brinza Data 13 ianuarie 2014 16:05:13
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<int>’: /usr/local/include/c++/4.8.0/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/local/include/c++/4.8.0/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/local/include/c++/4.8.0/bits/stl_vector.h:210:11: required from ‘class std::vector<int, int>’ user.cpp:23:19: required from here /usr/local/include/c++/4.8.0/bits/alloc_traits.h:90:43: error: ‘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<int>::_S_pointer_helper(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 = 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 = int] [with _Tp = int]’: /usr/local/include/c++/4.8.0/bits/alloc_traits.h:100:1: required from ‘struct std::allocator_traits<int>’ /usr/local/include/c++/4.8.0/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/local/include/c++/4.8.0/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/local/include/c++/4.8.0/bits/stl_vector.h:210:11: required from ‘class std::vector<int, int>’ user.cpp:23:19: required from here /usr/local/include/c++/4.8.0/bits/alloc_traits.h:100:1: error: ‘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<int>’: /usr/local/include/c++/4.8.0/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/local/include/c++/4.8.0/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/local/include/c++/4.8.0/bits/stl_vector.h:210:11: required from ‘class std::vector<int, int>’ user.cpp:23:19: 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<int>::_S_const_pointer_helper(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 = 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 = int] [with _Tp = int]’: /usr/local/include/c++/4.8.0/bits/alloc_traits.h:109:1: required from ‘struct std::allocator_traits<int>’ /usr/local/include/c++/4.8.0/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/local/include/c++/4.8.0/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/local/include/c++/4.8.0/bits/stl_vector.h:210:11: required from ‘class std::vector<int, int>’ user.cpp:23:19: required from here /usr/local/include/c++/4.8.0/bits/alloc_traits.h:109:1: error: ‘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<int>’: /usr/local/include/c++/4.8.0/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/local/include/c++/4.8.0/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’

Ceva nu functioneaza?