Problem pigeonhole
User ILBBBM
Submission Time 2024-01-31 17:01:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pigeonhole.cpp: In function ‘int main()’:
pigeonhole.cpp:23:25: error: ‘max_element’ was not declared in this scope
23 | int maxPigeons = *max_element(holes.begin(), holes.end());
| ^~~~~~~~~~~