Borderou de evaluare (job #512676)

Utilizator GheorgheMihaiMihai Gheorghe GheorgheMihai Data 14 decembrie 2010 12:42:50
Problema Radio2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function 'void init(int)': user.cpp:29: error: reference to 'hash' is ambiguous user.cpp:13: error: candidates are: std::tr1::unordered_map<int, std::vector<int, std::allocator<int> >, std::tr1::hash<int>, std::equal_to<int>, std::allocator<std::pair<const int, std::vector<int, std::allocator<int> > > >, false> hash /usr/include/c++/4.2/tr1/functional_hash.h:48: error: template<class T> struct std::tr1::hash user.cpp:29: error: reference to 'hash' is ambiguous user.cpp:13: error: candidates are: std::tr1::unordered_map<int, std::vector<int, std::allocator<int> >, std::tr1::hash<int>, std::equal_to<int>, std::allocator<std::pair<const int, std::vector<int, std::allocator<int> > > >, false> hash /usr/include/c++/4.2/tr1/functional_hash.h:48: error: template<class T> struct std::tr1::hash user.cpp:37: error: reference to 'hash' is ambiguous user.cpp:13: error: candidates are: std::tr1::unordered_map<int, std::vector<int, std::allocator<int> >, std::tr1::hash<int>, std::equal_to<int>, std::allocator<std::pair<const int, std::vector<int, std::allocator<int> > > >, false> hash /usr/include/c++/4.2/tr1/functional_hash.h:48: error: template<class T> struct std::tr1::hash user.cpp:37: error: reference to 'hash' is ambiguous user.cpp:13: error: candidates are: std::tr1::unordered_map<int, std::vector<int, std::allocator<int> >, std::tr1::hash<int>, std::equal_to<int>, std::allocator<std::pair<const int, std::vector<int, std::allocator<int> > > >, false> hash /usr/include/c++/4.2/tr1/functional_hash.h:48: error: template<class T> struct std::tr1::hash user.cpp: In function 'int main()': user.cpp:76: error: reference to 'hash' is ambiguous user.cpp:13: error: candidates are: std::tr1::unordered_map<int, std::vector<int, std::allocator<int> >, std::tr1::hash<int>, std::equal_to<int>, std::allocator<std::pair<const int, std::vector<int, std::allocator<int> > > >, false> hash /usr/include/c++/4.2/tr1/functional_hash.h:48: error: template<class T> struct std::tr1::hash user.cpp:76: error: reference to 'hash' is ambiguous user.cpp:13: error: candidates are: std::tr1::unordered_map<int, std::vector<int, std::allocator<int> >, std::tr1::hash<int>, std::equal_to<int>, std::allocator<std::pair<const int, std::vector<int, std::allocator<int> > > >, false> hash /usr/include/c++/4.2/tr1/functional_hash.h:48: error: template<class T> struct std::tr1::hash user.cpp:76: error: reference to 'hash' is ambiguous user.cpp:13: error: candidates are: std::tr1::unordered_map<int, std::vector<int, std::allocator<int> >, std::tr1::hash<int>, std::equal_to<int>, std::allocator<std::pair<const int, std::vector<int, std::allocator<int> > > >, false> hash /usr/include/c++/4.2/tr1/functional_hash.h:48: error: template<class T> struct std::tr1::hash user.cpp:76: error: reference to 'hash' is ambiguous user.cpp:13: error: candidates are: std::tr1::unordered_map<int, std::vector<int, std::allocator<int> >, std::tr1::hash<int>, std::equal_to<int>, std::allocator<std::pair<const int, std::vector<int, std::allocator<int> > > >, false> hash /usr/include/c++/4.2/tr1/functional_hash.h:48: error: template<class T> struct std::tr1::hash user.cpp:77: error: reference to 'hash' is ambiguous user.cpp:13: error: candidates are: std::tr1::unordered_map<int, std::vector<int, std::allocator<int> >, std::tr1::hash<int>, std::equal_to<int>, std::allocator<std::pair<const int, std::vector<int, std::allocator<int> > > >, false> hash /usr/include/c++/4.2/tr1/functional_hash.h:48: error: template<class T> struct std::tr1::hash user.cpp:77: error: reference to 'hash' is ambiguous user.cpp:13: error: candidates are: std::tr1::unordered_map<int, std::vector<int, std::allocator<int> >, std::tr1::hash<int>, std::equal_to<int>, std::allocator<std::pair<const int, std::vector<int, std::allocator<int> > > >, false> hash /usr/include/c++/4.2/tr1/functional_hash.h:48: error: template<class T> struct std::tr1::hash user.cpp:77: error: reference to 'hash' is ambiguous user.cpp:13: error: candidates are: std::tr1::unordered_map<int, std::vector<int, std::allocator<int> >, std::tr1::hash<int>, std::equal_to<int>, std::allocator<std::pair<const int, std::vector<int, std::allocator<int> > > >, false> hash /usr/include/c++/4.2/tr1/functional_hash.h:48: error: template<class T> struct std::tr1::hash user.cpp:77: error: reference to 'hash' is ambiguous user.cpp:13: error: candidates are: std::tr1::unordered_map<int, std::vector<int, std::allocator<int> >, std::tr1::hash<int>, std::equal_to<int>, std::allocator<std::pair<const int, std::vector<int, std::allocator<int> > > >, false> hash /usr/include/c++/4.2/tr1/functional_hash.h:48: error: template<class T> struct std::tr1::hash

Ceva nu functioneaza?