Problem problemsetter
User AlphanumericUsername
Submission Time 2024-03-18 22:01:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

problemsetter.cpp: In function ‘int32_t main()’:
problemsetter.cpp:155:8: error: ‘it’ was not declared in this scope; did you mean ‘i’?
155 | if(it!=con && pmax[it-con-1]-b>0) ans+=pmax[it-con-1]-b;
| ^~
| i