Problem duckhunt19
User smartsword
Submission Time 2025-12-05 09:59:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt19.cpp: In function ‘int main()’:
duckhunt19.cpp:21:76: error: expected ‘}’ at end of input
21 | ans += *max_element(arr, arr + xx) + *max_element(arr2, arr2 + (n-xx - 1));
| ^
duckhunt19.cpp:5:11: note: to match this ‘{’
5 | int main(){
| ^