Problem pigeonhole
User Yizhou
Submission Time 2024-06-04 22:34:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pigeonhole.cpp: In function ‘int main()’:
pigeonhole.cpp:19:4: error: expected ‘,’ or ‘;’ before ‘holes’
19 | holes[p%h]++;
| ^~~~~
pigeonhole.cpp:24:4: error: expected ‘,’ or ‘;’ before ‘holes’
24 | holes[p%h]--;
| ^~~~~