Borderou de evaluare (job #72356)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | GPS | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 5 iun. 2014 16:12:25 | Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/4.6/ext/hash_set:61:0,
from user.cpp:12:
/usr/include/c++/4.6/backward/backward_warning.h:33: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]
In file included from /usr/include/c++/4.6/ext/hash_set:65:0,
from user.cpp:12:
/usr/include/c++/4.6/backward/hashtable.h: In member function ‘__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/include/c++/4.6/backward/hashtable.h:596:53: instantiated 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 = 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>::value_type = long long int, std::size_t = unsigned int]’
/usr/include/c++/4.6/backward/hashtable.h:1021:17: instantiated 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 = 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]’
/usr/include/c++/4.6/backward/hashtable.h:434:2: instantiated from ‘std::pair<__gnu_cxx::_Hashtable_iterator<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>, bool> __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::insert_unique(const value_type&) [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>::value_type = long long int]’
/usr/include/c++/4.6/ext/hash_set:196:68: instantiated from ‘std::pair<typename __gnu_cxx::hashtable<_Value, _Value, _HashFcn, std::_Identity<_Value>, _EqualKey, _Alloc>::const_iterator, bool> __gnu_cxx::hash_set<_Value, _HashFcn, _EqualKey, _Alloc>::insert(const value_type&) [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>, typename __gnu_cxx::hashtable<_Value, _Value, _HashFcn, std::_Identity<_Value>, _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::hash_set<_Value, _HashFcn, _EqualKey, _Alloc>::value_type = long long int]’
user.cpp:136:30: instantiated from here
/usr/include/c++/4.6/backward/hashtable.h:592:33: error: no match for call to ‘(const hasher {aka const __gnu_cxx::hash<long long int>}) (const key_type&)’
user.cpp: In function ‘int main()’:
user.cpp:165:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:166:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:168:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:173:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]