Borderou de evaluare (job #3310044)

Utilizator InformaticianInDevenire1Munteanu Mihnea Gabriel InformaticianInDevenire1 Data 11 septembrie 2025 15:07:35
Problema Nu stiu Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/12.2.1/vector:64, from /usr/include/c++/12.2.1/functional:62, from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:71, from main.cpp:1: /usr/include/c++/12.2.1/bits/stl_vector.h: In instantiation of 'struct std::_Vector_base<int, int>': /usr/include/c++/12.2.1/bits/stl_vector.h:423:11: required from 'class std::vector<int, int>' main.cpp:36:18: required from here /usr/include/c++/12.2.1/bits/stl_vector.h:88:28: error: 'int' is not a class, struct, or union type 88 | rebind<_Tp>::other _Tp_alloc_type; | ^~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_vector.h:90:9: error: 'int' is not a class, struct, or union type 90 | pointer; | ^~~~~~~ /usr/include/c++/12.2.1/bits/stl_vector.h: In instantiation of 'class std::vector<int, int>': main.cpp:36:18: required from here /usr/include/c++/12.2.1/bits/stl_vector.h:438:64: error: 'int' is not a class, struct, or union type 438 | static_assert(is_same<typename _Alloc::value_type, _Tp>::value, | ^~~~~ /usr/include/c++/12.2.1/bits/stl_vector.h:513:20: error: '_M_allocate' has not been declared in 'std::vector<int, int>::_Base' 513 | using _Base::_M_allocate; | ^~~~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_vector.h:514:20: error: '_M_deallocate' has not been declared in 'std::vector<int, int>::_Base' 514 | using _Base::_M_deallocate; | ^~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_vector.h:516:20: error: '_M_get_Tp_allocator' has not been declared in 'std::vector<int, int>::_Base' 516 | using _Base::_M_get_Tp_allocator; | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/cassert:43, from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:33: /usr/include/c++/12.2.1/bits/stl_vector.h: In instantiation of 'constexpr std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl() [with _Tp = int; _Alloc = int]': main.cpp:36:18: required from here /usr/include/c++/12.2.1/bits/stl_vector.h:137:24: error: 'int' is not a class, struct, or union type 137 | _Vector_impl() _GLIBCXX_NOEXCEPT_IF( | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_vector.h: In instantiation of 'constexpr std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl() [with _Tp = int; _Alloc = int]': /usr/include/c++/12.2.1/bits/stl_vector.h:312:7: required from here main.cpp:36:18: in 'constexpr' expansion of 'ans.std::vector<int, int>::vector()' /usr/include/c++/12.2.1/bits/stl_vector.h:526:7: in 'constexpr' expansion of '((std::vector<int, int>*)this)->std::vector<int, int>::<anonymous>.std::_Vector_base<int, int>::_Vector_base()' /usr/include/c++/12.2.1/bits/stl_vector.h:139:26: error: 'int' is not a class, struct, or union type 139 | : _Tp_alloc_type() | ^ /usr/include/c++/12.2.1/bits/stl_vector.h: In instantiation of 'constexpr std::_Vector_base<_Tp, _Alloc>::_Vector_impl_data::_Vector_impl_data() [with _Tp = int; _Alloc = int]': /usr/include/c++/12.2.1/bits/stl_vector.h:139:19: required from here main.cpp:36:18: in 'constexpr' expansion of 'ans.std::vector<int, int>::vector()' /usr/include/c++/12.2.1/bits/stl_vector.h:526:7: in 'constexpr' expansion of '((std::vector<int, int>*)this)->std::vector<int, int>::<anonymous>.std::_Vector_base<int, int>::_Vector_base()' /usr/include/c++/12.2.1/bits/stl_vector.h:312:7: in 'constexpr' expansion of '((std::_Vector_base<int, int>*)this)->std::_Vector_base<int, int>::_M_impl.std::_Vector_base<int, int>::_Vector_impl::_Vector_impl()' /usr/include/c++/12.2.1/bits/stl_vector.h:100:54: error: using invalid field 'std::_Vector_base<_Tp, _Alloc>::_Vector_impl_data::_M_start' 100 | : _M_start(), _M_finish(), _M_end_of_storage() | ^ /usr/include/c++/12.2.1/bits/stl_vector.h:100:54: error: using invalid field 'std::_Vector_base<_Tp, _Alloc>::_Vector_impl_data::_M_finish' Non zero exit status: 1

Ceva nu functioneaza?