Problem pigeonhole
User CKCodeBreaker55
Submission Time 2023-10-28 20:34:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pigeonhole.cpp: In function ‘int main()’:
pigeonhole.cpp:19:20: error: expected primary-expression before ‘.’ token
19 | cin >> action >. p;
| ^
pigeonhole.cpp:30:17: error: ‘holds’ was not declared in this scope; did you mean ‘holes’?
30 | int old = holds[p%h];
| ^~~~~
| holes