Problem sumint
User yuwen1st
Submission Time 2026-01-13 21:29:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:11:11: error: expected unqualified-id before numeric constant
11 | for(int 1; D
| ^
sumint.cpp:11:10: error: expected ‘;’ before numeric constant
11 | for(int 1; D
| ^~
| ;
sumint.cpp:11:15: error: expected ‘)’ before ‘return’
11 | for(int 1; D
| ~ ^
| )
12 | return 0;
| ~~~~~~