Problem | sumint |
---|---|
User | Water |
Submission Time | 2023-06-26 11:20:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:7:7: error: ‘i’ was not declared in this scope
7 | for (i=0;i<n;i++) {
| ^
sumint.cpp:12:2: error: expected ‘,’ or ‘;’ before ‘for’
12 | for (i=0;i<n;i++) {
| ^~~
sumint.cpp:12:11: error: ‘i’ was not declared in this scope
12 | for (i=0;i<n;i++) {
| ^