Borderou de evaluare (job #940739)

Utilizator krissu93FMI Tiugan Cristiana Elena krissu93 Data 16 aprilie 2013 23:44:37
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In member function ‘int hash_functions::Hash(std::string&)’: user.cpp:71: warning: comparison between signed and unsigned integer expressions user.cpp: At global scope: user.cpp:93: error: ISO C++ forbids initialization of member ‘nr’ user.cpp:93: error: making ‘nr’ static user.cpp:93: error: ISO C++ forbids in-class initialization of non-const static member ‘nr’ user.cpp: In instantiation of ‘Cuckoo_Hash<unsigned int>’: user.cpp:283: instantiated from here user.cpp:93: error: ISO C++ forbids in-class initialization of non-const static member ‘Cuckoo_Hash<unsigned int>::nr’ user.cpp: In function ‘int main()’: user.cpp:287: warning: comparison between signed and unsigned integer expressions user.cpp: In member function ‘bool Chaining_Hash<Type>::operator+=(Type&) [with Type = unsigned int]’: user.cpp:301: instantiated from here user.cpp:265: warning: comparison between signed and unsigned integer expressions user.cpp: In member function ‘void Chaining_Hash<Type>::operator-=(Type&) [with Type = unsigned int]’: user.cpp:301: instantiated from here user.cpp:253: warning: comparison between signed and unsigned integer expressions user.cpp:301: instantiated from here user.cpp:250: warning: unused variable ‘b’ user.cpp:251: warning: unused variable ‘a’ user.cpp: In member function ‘bool Chaining_Hash<Type>::operator==(Type&) [with Type = unsigned int]’: user.cpp:301: instantiated from here user.cpp:241: warning: comparison between signed and unsigned integer expressions user.cpp: In member function ‘void Cuckoo_Hash<Type>::Rehash() [with Type = unsigned int]’: user.cpp:189: instantiated from ‘bool Cuckoo_Hash<Type>::operator+=(Type&) [with Type = unsigned int]’ user.cpp:301: instantiated from here user.cpp:199: warning: comparison between signed and unsigned integer expressions

Ceva nu functioneaza?