Record Detail

Compile Error

In file included from /in/driver/main.cpp:5:0:
/in/hashtable.hpp: In member function 'size_t HashTable<Key, Value, Hash, KeyEqual>::findMinimumBucketSize(size_t) const':
/in/hashtable.hpp:173:12: error: expected primary-expression before 'unsigned'
         if(unsigned int(double(tableSize)/maxLoadFactor)>=HashPrime::g_a_sizes[61]){
            ^~~~~~~~
/in/hashtable.hpp:173:12: error: expected ')' before 'unsigned'

Information

Submit By
Type
Submission
Homework
Project 2
Language
C++
Submit At
2022-06-25 16:08:03
Judged At
2022-06-25 16:08:03
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes