Borderou de evaluare (job #1514980)

Utilizator bciobanuBogdan Ciobanu bciobanu Data 31 octombrie 2015 22:35:38
Problema SETI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/4.8/backward/hash_map:60:0, from user.cpp:2: /usr/include/c++/4.8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^ In file included from /usr/include/c++/4.8/backward/hash_map:64:0, from user.cpp:2: /usr/include/c++/4.8/backward/hashtable.h: In instantiation of ‘__gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::size_type __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num_key(const key_type&, std::size_t) const [with _Val = std::pair<const long long unsigned int, int>; _Key = long long unsigned int; _HashFcn = __gnu_cxx::hash<long long unsigned int>; _ExtractKey = std::_Select1st<std::pair<const long long unsigned int, int> >; _EqualKey = std::equal_to<long long unsigned int>; _Alloc = std::allocator<int>; __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::size_type = unsigned int; __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::key_type = long long unsigned int; std::size_t = unsigned int]’: /usr/include/c++/4.8/backward/hashtable.h:613:53: required from ‘__gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::size_type __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num(const value_type&, std::size_t) const [with _Val = std::pair<const long long unsigned int, int>; _Key = long long unsigned int; _HashFcn = __gnu_cxx::hash<long long unsigned int>; _ExtractKey = std::_Select1st<std::pair<const long long unsigned int, int> >; _EqualKey = std::equal_to<long long unsigned int>; _Alloc = std::allocator<int>; __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::size_type = unsigned int; __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::value_type = std::pair<const long long unsigned int, int>; std::size_t = unsigned int]’ /usr/include/c++/4.8/backward/hashtable.h:1039:17: required from ‘void __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::resize(__gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::size_type) [with _Val = std::pair<const long long unsigned int, int>; _Key = long long unsigned int; _HashFcn = __gnu_cxx::hash<long long unsigned int>; _ExtractKey = std::_Select1st<std::pair<const long long unsigned int, int> >; _EqualKey = std::equal_to<long long unsigned int>; _Alloc = std::allocator<int>; __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::size_type = unsigned int]’ /usr/include/c++/4.8/backward/hashtable.h:808:33: required from ‘__gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::value_type& __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::find_or_insert(const value_type&) [with _Val = std::pair<const long long unsigned int, int>; _Key = long long unsigned int; _HashFcn = __gnu_cxx::hash<long long unsigned int>; _ExtractKey = std::_Select1st<std::pair<const long long unsigned int, int> >; _EqualKey = std::equal_to<long long unsigned int>; _Alloc = std::allocator<int>; __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::reference = std::pair<const long long unsigned int, int>&; __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::value_type = std::pair<const long long unsigned int, int>]’ /usr/include/c++/4.8/backward/hash_map:221:63: required from ‘_Tp& __gnu_cxx::hash_map<_Key, _Tp, _HashFn, _EqualKey, _Alloc>::operator[](const key_type&) [with _Key = long long unsigned int; _Tp = int; _HashFn = __gnu_cxx::hash<long long unsigned int>; _EqualKey = std::equal_to<long long unsigned int>; _Alloc = std::allocator<int>; __gnu_cxx::hash_map<_Key, _Tp, _HashFn, _EqualKey, _Alloc>::key_type = long long unsigned int]’ user.cpp:37:12: required from here /usr/include/c++/4.8/backward/hashtable.h:609:31: error: no match for call to ‘(const hasher {aka const __gnu_cxx::hash<long long unsigned int>}) (const key_type&)’ { return _M_hash(__key) % __n; } ^

Ceva nu functioneaza?