Borderou de evaluare (job #2653979)

Utilizator PetyAlexandru Peticaru Pety Data 29 septembrie 2020 17:14:37
Problema Nums 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/bits/hashtable.h:35:0, from /usr/include/c++/6/unordered_map:47, from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:117, from main.cpp:1: /usr/include/c++/6/bits/hashtable_policy.h: In instantiation of 'struct std::__detail::__is_noexcept_hash<std::__cxx11::basic_string<char>, int>': /usr/include/c++/6/type_traits:143:12: required from 'struct std::__and_<std::__is_fast_hash<int>, std::__detail::__is_noexcept_hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> >' /usr/include/c++/6/type_traits:154:38: required from 'struct std::__not_<std::__and_<std::__is_fast_hash<int>, std::__detail::__is_noexcept_hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > >' /usr/include/c++/6/bits/unordered_set.h:95:63: required from 'class std::unordered_set<std::__cxx11::basic_string<char>, int>' main.cpp:47:29: required from here /usr/include/c++/6/bits/hashtable_policy.h:85:34: error: expression cannot be used as a function noexcept(declval<const _Hash&>()(declval<const _Key&>()))> ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/bits/move.h:57:0, from /usr/include/c++/6/bits/nested_exception.h:40, from /usr/include/c++/6/exception:171, from /usr/include/c++/6/ios:39, 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/type_traits: In instantiation of 'struct std::__not_<std::__and_<std::__is_fast_hash<int>, std::__detail::__is_noexcept_hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > >': /usr/include/c++/6/bits/unordered_set.h:95:63: required from 'class std::unordered_set<std::__cxx11::basic_string<char>, int>' main.cpp:47:29: required from here /usr/include/c++/6/type_traits:154:38: error: 'value' is not a member of 'std::__and_<std::__is_fast_hash<int>, std::__detail::__is_noexcept_hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> >' : public integral_constant<bool, !_Pp::value> ^~~~ In file included from /usr/include/c++/6/unordered_set:48:0, from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:118, from main.cpp:1: /usr/include/c++/6/bits/unordered_set.h: In instantiation of 'class std::unordered_set<std::__cxx11::basic_string<char>, int>': main.cpp:47:29: required from here /usr/include/c++/6/bits/unordered_set.h:95:63: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<int>, std::__detail::__is_noexcept_hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > >' typedef __uset_hashtable<_Value, _Hash, _Pred, _Alloc> _Hashtable; ^~~~~~~~~~ /usr/include/c++/6/bits/unordered_set.h:102:45: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<int>, std::__detail::__is_noexcept_hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > >' typedef typename _Hashtable::key_type key_type; ^~~~~~~~ /usr/include/c++/6/bits/unordered_set.h:103:47: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<int>, std::__detail::__is_noexcept_hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > >' typedef typename _Hashtable::value_type value_type; ^~~~~~~~~~ /usr/include/c++/6/bits/unordered_set.h:104:43: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<int>, std::__detail::__is_noexcept_hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > >' typedef typename _Hashtable::hasher hasher; ^~~~~~ /usr/include/c++/6/bits/unordered_set.h:105:46: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<int>, std::__detail::__is_noexcept_hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > >' typedef typename _Hashtable::key_equal key_equal; ^~~~~~~~~ /usr/include/c++/6/bits/unordered_set.h:106:51: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<int>, std::__detail::__is_noexcept_hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > >' typedef typename _Hashtable::allocator_type allocator_type; Non zero exit status: 1

Ceva nu functioneaza?