Problem duckhunt19
User smartsword
Submission Time 2025-12-05 10:43:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt19.cpp: In function ‘int main()’:
duckhunt19.cpp:21:19: error: ‘arr2’ was not declared in this scope; did you mean ‘arr’?
21 | maxr = max(maxr,arr2[i]);
| ^~~~
| arr