Problem maintainsum
User Nayaa2403
Submission Time 2026-08-27 14:36:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

maintainsum.cpp: In function ‘int main()’:
maintainsum.cpp:10:15: error: expected ‘;’ before ‘i’
10 | for (int i=i;1 i<=N; i++){
| ^~
| ;
maintainsum.cpp:10:20: error: expected ‘)’ before ‘;’ token
10 | for (int i=i;1 i<=N; i++){
| ~ ^
| )
maintainsum.cpp:10:22: error: ‘i’ was not declared in this scope
10 | for (int i=i;1 i<=N; i++){
| ^