Problem boxes2
User PlayVoltz
Submission Time 2024-01-02 12:59:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boxes2.cpp: In function ‘int32_t main()’:
boxes2.cpp:66:23: error: expected ‘;’ before ‘ans’
66 | if (i)res+=psum[i-1]
| ^
| ;
67 | ans=max(ans, res);
| ~~~