Problem pigeonhole
User aj
Submission Time 2025-02-10 17:38:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pigeonhole.cpp: In function ‘int main()’:
pigeonhole.cpp:20:13: error: ‘max_pigeons’ was not declared in this scope
20 | max_pigeons = max(max_pigeons, hole_count[hole]);
| ^~~~~~~~~~~
pigeonhole.cpp:20:44: error: ‘hole_count’ was not declared in this scope; did you mean ‘hole_num’?
20 | max_pigeons = max(max_pigeons, hole_count[hole]);
| ^~~~~~~~~~
| hole_num
pigeonhole.cpp:20:55: error: ‘hole’ was not declared in this scope
20 | max_pigeons = max(max_pigeons, hole_count[hole]);
| ^~~~