Problem lightningrod
User haydendoo
Submission Time 2023-04-26 08:15:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp:9:12: error: expected initializer before ‘readint’
9 | inline int readint() {
| ^~~~~~~
lightningrod.cpp: In function ‘void radix_sort(std::vector<_Tp>&)’:
lightningrod.cpp:33:17: error: expected initializer before ‘word_bits’
33 | constexpr int word_bits = numeric_limits<int>::digits;
| ^~~~~~~~~
lightningrod.cpp:37:7: error: expected initializer before ‘max_bits’
37 | int max_bits = 1;
| ^~~~~~~~
lightningrod.cpp:38:30: error: ‘max_bits’ was not declared in this scope
38 | while ((size_t(1) << (3 * (max_bits+1))) <= data.size()) {
| ^~~~~~~~
lightningrod.cpp:41:13: error: expected initializer before ‘num_groups’
41 | const int num_groups = (word_bits + max_bits - 1) / max_bits;
| ^~~~~~~~~~
lightningrod.cpp:48:12: error: expected ‘;’ before ‘group’
48 | for (int gro