Borderou de evaluare (job #396302)
Utilizator | Data | 14 februarie 2010 21:22:27 | |
---|---|---|---|
Problema | Scoici | 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.2/backward/hash_map.h:59,
from user.cpp:3:
/usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
user.cpp:50:3: warning: no newline at end of file
/usr/include/c++/4.2/ext/hashtable.h: In member function 'size_t __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num_key(const _Key&, size_t) const [with _Val = std::pair<const std::vector<int, std::allocator<int> >, int>, _Key = std::vector<int, std::allocator<int> >, _HashFcn = __gnu_cxx::hash<std::vector<int, std::allocator<int> > >, _ExtractKey = std::_Select1st<std::pair<const std::vector<int, std::allocator<int> >, int> >, _EqualKey = std::equal_to<std::vector<int, std::allocator<int> > >, _Alloc = std::allocator<int>]':
/usr/include/c++/4.2/ext/hashtable.h:587: instantiated from 'size_t __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num_key(const _Key&) const [with _Val = std::pair<const std::vector<int, std::allocator<int> >, int>, _Key = std::vector<int, std::allocator<int> >, _HashFcn = __gnu_cxx::hash<std::vector<int, std::allocator<int> > >, _ExtractKey = std::_Select1st<std::pair<const std::vector<int, std::allocator<int> >, int> >, _EqualKey = std::equal_to<std::vector<int, std::allocator<int> > >, _Alloc = std::allocator<int>]'
/usr/include/c++/4.2/ext/hashtable.h:510: instantiated from '__gnu_cxx::_Hashtable_iterator<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc> __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::find(const _Key&) [with _Val = std::pair<const std::vector<int, std::allocator<int> >, int>, _Key = std::vector<int, std::allocator<int> >, _HashFcn = __gnu_cxx::hash<std::vector<int, std::allocator<int> > >, _ExtractKey = std::_Select1st<std::pair<const std::vector<int, std::allocator<int> >, int> >, _EqualKey = std::equal_to<std::vector<int, std::allocator<int> > >, _Alloc = std::allocator<int>]'
/usr/include/c++/4.2/ext/hash_map:215: instantiated from 'typename __gnu_cxx::hashtable<std::pair<const _Key, _Tp>, _Key, _HashFn, std::_Select1st<std::pair<const _Key, _Tp> >, _EqualKey, _Alloc>::iterator __gnu_cxx::hash_map<_Key, _Tp, _HashFn, _EqualKey, _Alloc>::find(const typename __gnu_cxx::hashtable<std::pair<const _Key, _Tp>, _Key, _HashFn, std::_Select1st<std::pair<const _Key, _Tp> >, _EqualKey, _Alloc>::key_type&) [with _Key = std::vector<int, std::allocator<int> >, _Tp = int, _HashFn = __gnu_cxx::hash<std::vector<int, std::allocator<int> > >, _EqualKey = std::equal_to<std::vector<int, std::allocator<int> > >, _Alloc = std::allocator<int>]'
user.cpp:37: instantiated from here
/usr/include/c++/4.2/ext/hashtable.h:595: error: no match for call to '(const __gnu_cxx::hash<std::vector<int, std::allocator<int> > >) (const std::vector<int, std::allocator<int> >&)'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !