Record Detail

Compile Error

In file included from /in/driver/main.cpp:5:0:
/in/hashtable.hpp: In instantiation of 'bool HashTable<Key, Value, Hash, KeyEqual>::insert(const Key&, const Value&) [with Key = int; Value = int; Hash = std::hash<int>; KeyEqual = std::equal_to<int>]':
/in/driver/main.cpp:111:43:   required from here
/in/hashtable.hpp:399:51: error: 'hashkey' was not declared in this scope
         cout << "insert " << key << "(" << hashkey(key) << ")" << endl;
                                            ~~~~~~~^~~~~
/in/hashtable.hpp:399:51: note: suggested alternative: 'hashKey'
         cout << "insert " << key << "(" << hashkey(key) << ")" << endl;
                                            ~~~~~~~^~~~~
                                            hashKey

Information

Submit By
Type
Submission
Homework
Project 2: Hashing
Language
C++
Submit At
2024-11-11 15:57:19
Judged At
2024-11-11 15:57:19
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes