Problem pigeonhole
User hwy
Submission Time 2023-06-17 11:53:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pigeonhole.cpp: In function ‘int main()’:
pigeonhole.cpp:35:25: error: ‘x’ was not declared in this scope
35 | update(1, 0, (n-1), (x%h), 1);
| ^
pigeonhole.cpp:38:25: error: ‘x’ was not declared in this scope
38 | update(1, 0, (n-1), (x%h), -1);
| ^