Borderou de evaluare (job #447939)

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

Raport evaluator

Eroare de compilare: user.cpp:52:2: warning: no newline at end of file user.cpp: In function 'int main()': user.cpp:36: warning: operation on 'cur' may be undefined user.cpp:27: warning: unused variable 'fin' user.cpp:27: warning: unused variable 'fout' user.cpp:28: 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 int* const, int>, _Key = const int*, _HashFcn = __gnu_cxx::hash<const int*>, _ExtractKey = std::_Select1st<std::pair<const int* const, 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 int* const, int>, _Key = const int*, _HashFcn = __gnu_cxx::hash<const int*>, _ExtractKey = std::_Select1st<std::pair<const int* const, 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 int* const, int>, _Key = const int*, _HashFcn = __gnu_cxx::hash<const int*>, _ExtractKey = std::_Select1st<std::pair<const int* const, 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 = const int*, _Tp = int, _HashFn = __gnu_cxx::hash<const int*>, _EqualKey = hashCmp, _Alloc = std::allocator<int>]' user.cpp:42: instantiated from here /usr/include/c++/4.2/ext/hashtable.h:595: error: no match for call to '(const __gnu_cxx::hash<const int*>) (const int* const&)'

Ceva nu functioneaza?