Borderou de evaluare (job #818520)

Utilizator unholyfrozenCostea Andrei unholyfrozen Data 17 noiembrie 2012 16:47:39
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In member function ‘void hash_map::Insert(int)’: user.cpp:44: error: ‘original_key’ was not declared in this scope user.cpp:46: error: expected type-specifier before ‘hash_key’ user.cpp:46: error: cannot convert ‘int*’ to ‘hash_map::hash_key*’ in assignment user.cpp:46: error: expected ‘;’ before ‘hash_key’ user.cpp: In member function ‘hash_map::hash_key* hash_map::Find(int)’: user.cpp:54: error: ‘hk’ was not declared in this scope user.cpp: In member function ‘void hash_map::Delete(int)’: user.cpp:62: error: ‘prev_key’ was not declared in this scope user.cpp:63: error: ‘cur_key’ was not declared in this scope user.cpp:71: error: type ‘<type error>’ argument given to ‘delete’, expected pointer user.cpp: In function ‘int main()’: user.cpp:79: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:80: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:84: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:92: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

Ceva nu functioneaza?