Problem badpotato
User asbx
Submission Time 2023-12-13 16:19:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

badpotato.cpp: In function ‘int32_t main()’:
badpotato.cpp:21:38: error: expected ‘;’ before ‘}’ token
21 | cout<<max(s[v[0]-1],s[n-1]-s[v[0]])
| ^
| ;
22 | }
| ~