Borderou de evaluare (job #447938)

Utilizator voyagerSachelarie Bogdan voyager Data 2 mai 2010 00:45:05
Problema Scoici Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:50:2: warning: no newline at end of file user.cpp: In member function 'bool hashCmp::operator()(const std::vector<int, std::allocator<int> >&, const std::vector<int, std::allocator<int> >&) const': user.cpp:15: warning: comparison between signed and unsigned integer expressions user.cpp: In function 'int main()': user.cpp:34: warning: operation on 'cur' may be undefined user.cpp:39: warning: comparison between signed and unsigned integer expressions user.cpp:25: warning: unused variable 'fin' user.cpp:25: warning: unused variable 'fout' user.cpp:26: warning: unused variable 'cur' /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 = hashCmp, _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 = hashCmp, _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 = hashCmp, _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 = hashCmp, _Alloc = std::allocator<int>]' user.cpp:40: 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?