Problem catlunch
User Ash
Submission Time 2024-03-29 23:32:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp: In function ‘void solve()’:
catlunch.cpp:38:52: error: expected ‘;’ before ‘cout’
38 | for(int i = 0; i < n; i++) ans = max(ans, p[i])
| ^
| ;
39 | cout << ans;
| ~~~~