Problem pigeonhole
User Yizhou
Submission Time 2024-06-04 15:39:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pigeonhole.cpp: In function ‘int main()’:
pigeonhole.cpp:15:25: error: request for member ‘begin’ in ‘arr’, which is of non-class type ‘int [2000005]’
15 | cout<<max_element(arr.begin(),arr.end())<<'\n';
| ^~~~~
pigeonhole.cpp:15:37: error: request for member ‘end’ in ‘arr’, which is of non-class type ‘int [2000005]’
15 | cout<<max_element(arr.begin(),arr.end())<<'\n';
| ^~~