| Problem | sumint |
|---|---|
| User | ToiletBrIcker |
| Submission Time | 2024-06-18 10:21:02 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:7:6: error: ‘i’ was not declared in this scope
7 | for(i=0,i>a,i++){
| ^
sumint.cpp:12:1: error: expected primary-expression before ‘}’ token
12 | }
| ^
sumint.cpp:11:21: error: expected ‘)’ before ‘}’ token
11 | std::cout << total;
| ^
| )
12 | }
| ~
sumint.cpp:7:5: note: to match this ‘(’
7 | for(i=0,i>a,i++){
| ^
sumint.cpp:12:1: error: expected primary-expression before ‘}’ token
12 | }
| ^