Borderou de evaluare (job #1050047)

Utilizator brainwashed20Alexandru Gherghe brainwashed20 Data 8 decembrie 2013 02:15:57
Problema Dtcsu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/local/include/c++/4.8.0/ext/hash_set:60:0, from user.cpp:2: /usr/local/include/c++/4.8.0/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/local/include/c++/4.8.0/ext/hash_set:64:0, from user.cpp:2: /usr/local/include/c++/4.8.0/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 = long long int; _Key = long long int; _HashFcn = __gnu_cxx::hash<long long int>; _ExtractKey = std::_Identity<long long int>; _EqualKey = std::equal_to<long long int>; _Alloc = std::allocator<long long 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 int; std::size_t = unsigned int]’: /usr/local/include/c++/4.8.0/backward/hashtable.h:601:55: 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_key(const key_type&) const [with _Val = long long int; _Key = long long int; _HashFcn = __gnu_cxx::hash<long long int>; _ExtractKey = std::_Identity<long long int>; _EqualKey = std::equal_to<long long int>; _Alloc = std::allocator<long long 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 int]’ /usr/local/include/c++/4.8.0/backward/hashtable.h:536:38: required from ‘__gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::const_iterator __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::find(const key_type&) const [with _Val = long long int; _Key = long long int; _HashFcn = __gnu_cxx::hash<long long int>; _ExtractKey = std::_Identity<long long int>; _EqualKey = std::equal_to<long long int>; _Alloc = std::allocator<long long int>; __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::const_iterator = __gnu_cxx::_Hashtable_const_iterator<long long int, long long int, __gnu_cxx::hash<long long int>, std::_Identity<long long int>, std::equal_to<long long int>, std::allocator<long long int> >; __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::key_type = long long int]’ /usr/local/include/c++/4.8.0/ext/hash_set:214:32: required from ‘__gnu_cxx::hash_set<_Value, _HashFcn, _EqualKey, _Alloc>::iterator __gnu_cxx::hash_set<_Value, _HashFcn, _EqualKey, _Alloc>::find(const key_type&) const [with _Value = long long int; _HashFcn = __gnu_cxx::hash<long long int>; _EqualKey = std::equal_to<long long int>; _Alloc = std::allocator<long long int>; __gnu_cxx::hash_set<_Value, _HashFcn, _EqualKey, _Alloc>::iterator = __gnu_cxx::_Hashtable_const_iterator<long long int, long long int, __gnu_cxx::hash<long long int>, std::_Identity<long long int>, std::equal_to<long long int>, std::allocator<long long int> >; __gnu_cxx::hash_set<_Value, _HashFcn, _EqualKey, _Alloc>::key_type = long long int]’ user.cpp:28:22: required from here /usr/local/include/c++/4.8.0/backward/hashtable.h:609:31: error: no match for call to ‘(const hasher {aka const __gnu_cxx::hash<long long int>}) (const key_type&)’ { return _M_hash(__key) % __n; } ^

Ceva nu functioneaza?