Borderou de evaluare (job #937701)

Utilizator vladm97Matei Vlad vladm97 Data 10 aprilie 2013 21:30:36
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In constructor ‘Hash_int::Hash_int(char*, char*)’: user.cpp:42: error: class ‘Hash_int’ does not have any field named ‘Hash’ user.cpp:42: error: no matching function for call to ‘Hash<int>::Hash()’ user.cpp:24: note: candidates are: Hash<T>::Hash(char*, char*) [with T = int] user.cpp:12: note: Hash<int>::Hash(const Hash<int>&) user.cpp: In constructor ‘Hash_float::Hash_float(char*, char*)’: user.cpp:54: error: class ‘Hash_float’ does not have any field named ‘Hash’ user.cpp:54: error: no matching function for call to ‘Hash<float>::Hash()’ user.cpp:24: note: candidates are: Hash<T>::Hash(char*, char*) [with T = float] user.cpp:12: note: Hash<float>::Hash(const Hash<float>&) user.cpp: In constructor ‘Hash_char::Hash_char(char*, char*)’: user.cpp:65: error: class ‘Hash_char’ does not have any field named ‘Hash’ user.cpp:65: error: no matching function for call to ‘Hash<char>::Hash()’ user.cpp:24: note: candidates are: Hash<T>::Hash(char*, char*) [with T = char] user.cpp:12: note: Hash<char>::Hash(const Hash<char>&) user.cpp: In constructor ‘Hash_string::Hash_string(char*, char*)’: user.cpp:76: error: class ‘Hash_string’ does not have any field named ‘Hash’ user.cpp:76: error: no matching function for call to ‘Hash<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::Hash()’ user.cpp:24: note: candidates are: Hash<T>::Hash(char*, char*) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >] user.cpp:12: note: Hash<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::Hash(const Hash<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&) user.cpp: In function ‘int main()’: user.cpp:87: warning: deprecated conversion from string constant to ‘char*’ user.cpp:87: warning: deprecated conversion from string constant to ‘char*’ user.cpp: In member function ‘virtual int Hash_float::h1(float)’: user.cpp:104: warning: unused variable ‘result’ user.cpp: In member function ‘virtual int Hash_float::h2(float)’: user.cpp:111: warning: unused variable ‘result’

Ceva nu functioneaza?