Borderou de evaluare (job #972129)

Utilizator mihai995mihai995 mihai995 Data 11 iulie 2013 01:18:07
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In instantiation of ‘HashTable<Size>::HashTable() [with int Size = 3036643]’: user.cpp:46:20: required from here user.cpp:27:37: error: ‘memset’ was not declared in this scope memset(hash, 0, sizeof(hash)); ^ user.cpp: In instantiation of ‘int HashTable<Size>::supposedPosition(int) [with int Size = 3036643]’: user.cpp:35:35: required from ‘void HashTable<Size>::insert(int) [with int Size = 3036643]’ user.cpp:60:23: required from here user.cpp:19:52: error: no matching function for call to ‘HashTable<3036643>::keepGoing(int)’ while ( keepGoing( (val + poz * poz) % Size), val ) ^ user.cpp:19:52: note: candidate is: user.cpp:12:17: note: bool HashTable<Size>::keepGoing(int, int) [with int Size = 3036643] inline bool keepGoing(int poz, int val){ ^ user.cpp:12:17: note: candidate expects 2 arguments, 1 provided

Ceva nu functioneaza?