Borderou de evaluare (job #3377114)
| Utilizator | Data | 21 noiembrie 2026 17:02:23 | |
|---|---|---|---|
| Problema | Oite | 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++/12.2.1/bits/move.h:57,
from /usr/include/c++/12.2.1/bits/exception_ptr.h:43,
from /usr/include/c++/12.2.1/exception:168,
from /usr/include/c++/12.2.1/ios:39,
from /usr/include/c++/12.2.1/istream:38,
from /usr/include/c++/12.2.1/fstream:38,
from main.cpp:1:
/usr/include/c++/12.2.1/type_traits: In instantiation of 'struct std::is_default_constructible<std::pmr::polymorphic_allocator<std::pair<const int, std::pair<int, int> > > >':
/usr/include/c++/12.2.1/type_traits:167:12: required from 'struct std::__and_<std::is_default_constructible<std::hash<int> >, std::is_default_constructible<std::pmr::polymorphic_allocator<std::pair<const int, std::pair<int, int> > > > >'
/usr/include/c++/12.2.1/type_traits:172:12: required from 'struct std::__and_<std::is_default_constructible<std::equal_to<int> >, std::is_default_constructible<std::hash<int> >, std::is_default_constructible<std::pmr::polymorphic_allocator<std::pair<const int, std::pair<int, int> > > > >'
/usr/include/c++/12.2.1/bits/hashtable.h:59:11: required by substitution of 'template<class _Equal, class _Hash, class _Allocator> using _Hashtable_enable_default_ctor = std::_Enable_default_constructor<std::__and_<std::is_default_constructible<_Tp>, std::is_default_constructible<_Hash>, std::is_default_constructible<_Allocator> >{}, std::__detail::_Hash_node_base> [with _Equal = std::equal_to<int>; _Hash = std::hash<int>; _Allocator = std::pmr::polymorphic_allocator<std::pair<const int, std::pair<int, int> > >]'
/usr/include/c++/12.2.1/bits/hashtable.h:182:11: required from 'class std::_Hashtable<int, std::pair<const int, std::pair<int, int> >, std::pmr::polymorphic_allocator<std::pair<const int, std::pair<int, int> > >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, false> >'
/usr/include/c++/12.2.1/bits/unordered_map.h:1248:18: required from 'class std::unordered_multimap<int, std::pair<int, int>, std::hash<int>, std::equal_to<int>, std::pmr::polymorphic_allocator<std::pair<const int, std::pair<int, int> > > >'
main.cpp:12:50: required from here
/usr/include/c++/12.2.1/type_traits:989:52: error: static assertion failed: template argument must be a complete class or an unbounded array
989 | static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/type_traits:989:52: note: 'std::__is_complete_or_unbounded<__type_identity<pmr::polymorphic_allocator<pair<const int, pair<int, int> > > > >((std::__type_identity<std::pmr::polymorphic_allocator<std::pair<const int, std::pair<int, int> > > >(), std::__type_identity<std::pmr::polymorphic_allocator<std::pair<const int, std::pair<int, int> > > >()))' evaluates to false
In file included from /usr/include/c++/12.2.1/bits/hashtable.h:35,
from /usr/include/c++/12.2.1/unordered_map:46,
from main.cpp:3:
/usr/include/c++/12.2.1/bits/hashtable_policy.h: In instantiation of 'struct std::__detail::_Hashtable_alloc<std::pmr::polymorphic_allocator<std::__detail::_Hash_node<std::pair<const int, std::pair<int, int> >, false> > >':
/usr/include/c++/12.2.1/bits/hashtable_policy.h:859:13: required from 'struct std::__detail::_Insert_base<int, std::pair<const int, std::pair<int, int> >, std::pmr::polymorphic_allocator<std::pair<const int, std::pair<int, int> > >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, false> >'
/usr/include/c++/12.2.1/bits/hashtable_policy.h:1053:12: required from 'struct std::__detail::_Insert<int, std::pair<const int, std::pair<int, int> >, std::pmr::polymorphic_allocator<std::pair<const int, std::pair<int, int> > >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, false>, false>'
/usr/include/c++/12.2.1/bits/hashtable.h:182:11: required from 'class std::_Hashtable<int, std::pair<const int, std::pair<int, int> >, std::pmr::polymorphic_allocator<std::pair<const int, std::pair<int, int> > >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, false> >'
/usr/include/c++/12.2.1/bits/unordered_map.h:1248:18: required from 'class std::unordered_multimap<int, std::pair<int, int>, std::hash<int>, std::equal_to<int>, std::pmr::polymorphic_allocator<std::pair<const int, std::pair<int, int> > > >'
main.cpp:12:50: required from here
/usr/include/c++/12.2.1/bits/hashtable_policy.h:1170:30: error: invalid use of incomplete type 'class std::pmr::polymorphic_allocator<std::__detail::_Hash_node<std::pair<const int, std::pair<int, int> >, false> >'
1170 | bool __use_ebo = !__is_final(_Tp) && __is_empty(_Tp)>
| ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/12.2.1/bits/locale_classes.h:40,
from /usr/include/c++/12.2.1/bits/ios_base.h:41,
from /usr/include/c++/12.2.1/ios:42:
/usr/include/c++/12.2.1/string:61:34: note: declaration of 'class std::pmr::polymorphic_allocator<std::__detail::_Hash_node<std::pair<const int, std::pair<int, int> >, false> >'
61 | template<typename _Tp> class polymorphic_allocator;
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/hashtable_policy.h:1170:49: error: invalid use of incomplete type 'class std::pmr::polymorphic_allocator<std::__detail::_Hash_node<std::pair<const int, std::pair<int, int> >, false> >'
1170 | bool __use_ebo = !__is_final(_Tp) && __is_empty(_Tp)>
| ^~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/string:61:34: note: declaration of 'class std::pmr::polymorphic_allocator<std::__detail::_Hash_node<std::pair<const int, std::pair<int, int> >, false> >'
61 | template<typename _Tp> class polymorphic_allocator;
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/hashtable_policy.h:1170:30: error: invalid use of incomplete type 'class std::pmr::polymorphic_allocator<std::__detail::_Hash_node<std::pair<const int, std::pair<int, int> >, false> >'
1170 | bool __use_ebo = !__is_final(_Tp) && __is_empty(_Tp)>
| ^~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/string:61:34: note: declaration of 'class std::pmr::polymorphic_allocator<std::__detail::_Hash_node<std::pair<const int, std::pair<int, int> >, false> >'
61 | template<typename _Tp> class polymorphic_allocator;
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/hashtable_policy.h:1170:49: error: invalid use of incomplete type 'class std::pmr::polymorphic_allocator<std::__detail::_Hash_node<std::pair<const int, std::pair<int, int> >, false> >'
1170 | bool __use_ebo = !__is_final(_Tp) && __is_empty(_Tp)>
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
