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:200:88: error: expected primary-expression before 'distinct_size'
         auto it = std::lower_bound(HashPrime::g_a_sizes, HashPrime::g_a_sizes + size_t distinct_size - 1, large);
                                                                                        ^~~~~~~~~~~~~
/in/hashtable.hpp:201:49: error: expected primary-expression before 'distinct_size'
         if (it == HashPrime::g_a_sizes + size_t distinct_size)
                                                 ^~~~~~~~~~~~~
/in/hashtable.hpp:201:49: error: expected ')' before 'distinct_size'

Information

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