| Problem | sumint |
|---|---|
| User | yikyewong |
| Submission Time | 2026-02-14 10:00:03 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:9:6: error: ‘i’ was not declared in this scope
9 | for (i=0, i<d, i+1){
| ^
sumint.cpp:14:1: error: expected primary-expression before ‘}’ token
14 | }
| ^
sumint.cpp:13:11: error: expected ‘)’ before ‘}’ token
13 | cout<<sum;
| ^
| )
14 | }
| ~
sumint.cpp:9:5: note: to match this ‘(’
9 | for (i=0, i<d, i+1){
| ^
sumint.cpp:14:1: error: expected primary-expression before ‘}’ token
14 | }
| ^