Borderou de evaluare (job #2340803)
Utilizator | Data | 11 februarie 2019 08:23:05 | |
---|---|---|---|
Problema | Subsecvente2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/6/ext/alloc_traits.h:36:0,
from /usr/include/c++/6/bits/basic_string.h:40,
from /usr/include/c++/6/string:52,
from /usr/include/c++/6/bits/locale_classes.h:40,
from /usr/include/c++/6/bits/ios_base.h:41,
from /usr/include/c++/6/ios:42,
from /usr/include/c++/6/istream:38,
from /usr/include/c++/6/sstream:38,
from /usr/include/c++/6/complex:45,
from /usr/include/c++/6/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:52,
from main.cpp:1:
/usr/include/c++/6/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<int>':
/usr/include/c++/6/ext/alloc_traits.h:50:10: required from 'struct __gnu_cxx::__alloc_traits<int>'
/usr/include/c++/6/bits/stl_vector.h:75:28: required from 'struct std::_Vector_base<long long int, int>'
/usr/include/c++/6/bits/stl_vector.h:214:11: required from 'class std::vector<long long int, int>'
main.cpp:10:33: required from here
/usr/include/c++/6/bits/alloc_traits.h:88:43: error: 'int' is not a class, struct, or union type
typedef typename _Alloc::value_type value_type;
^~~~~~~~~~
/usr/include/c++/6/bits/alloc_traits.h:95:70: error: 'int' is not a class, struct, or union type
using pointer = __detected_or_t<value_type*, __pointer, _Alloc>;
^
/usr/include/c++/6/bits/alloc_traits.h:135:79: error: 'int' is not a class, struct, or union type
using const_pointer = typename _Ptr<__c_pointer, const value_type>::type;
^
/usr/include/c++/6/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<int>::_Ptr<std::__allocator_traits_base::__v_pointer, void, void>':
/usr/include/c++/6/bits/alloc_traits.h:143:66: required from 'struct std::allocator_traits<int>'
/usr/include/c++/6/ext/alloc_traits.h:50:10: required from 'struct __gnu_cxx::__alloc_traits<int>'
/usr/include/c++/6/bits/stl_vector.h:75:28: required from 'struct std::_Vector_base<long long int, int>'
/usr/include/c++/6/bits/stl_vector.h:214:11: required from 'class std::vector<long long int, int>'
main.cpp:10:33: required from here
/usr/include/c++/6/bits/alloc_traits.h:102:71: error: 'int' is not a class, struct, or union type
using type = typename pointer_traits<pointer>::template rebind<_Tp>;
^
/usr/include/c++/6/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<int>::_Ptr<std::__allocator_traits_base::__cv_pointer, const void, void>':
/usr/include/c++/6/bits/alloc_traits.h:151:79: required from 'struct std::allocator_traits<int>'
/usr/include/c++/6/ext/alloc_traits.h:50:10: required from 'struct __gnu_cxx::__alloc_traits<int>'
/usr/include/c++/6/bits/stl_vector.h:75:28: required from 'struct std::_Vector_base<long long int, int>'
/usr/include/c++/6/bits/stl_vector.h:214:11: required from 'class std::vector<long long int, int>'
main.cpp:10:33: required from here
/usr/include/c++/6/bits/alloc_traits.h:102:71: error: 'int' is not a class, struct, or union type
/usr/include/c++/6/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<int>':
/usr/include/c++/6/ext/alloc_traits.h:50:10: required from 'struct __gnu_cxx::__alloc_traits<int>'
/usr/include/c++/6/bits/stl_vector.h:75:28: required from 'struct std::_Vector_base<long long int, int>'
/usr/include/c++/6/bits/stl_vector.h:214:11: required from 'class std::vector<long long int, int>'
main.cpp:10:33: required from here
/usr/include/c++/6/bits/alloc_traits.h:159:68: error: 'int' is not a class, struct, or union type
using difference_type = typename _Diff<_Alloc, pointer>::type;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !