Problem | sumint |
---|---|
User | privatepolychoron |
Submission Time | 2024-01-26 10:45:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:10:6: error: ‘i’ was not declared in this scope
10 | for(i = 0, i <= 100000, i++){
| ^
sumint.cpp:13:2: error: expected primary-expression before ‘return’
13 | return 0;
| ^~~~~~
sumint.cpp:12:3: error: expected ‘;’ before ‘return’
12 | }
| ^
| ;
13 | return 0;
| ~~~~~~
sumint.cpp:13:2: error: expected primary-expression before ‘return’
13 | return 0;
| ^~~~~~
sumint.cpp:12:3: error: expected ‘)’ before ‘return’
12 | }
| ^
| )
13 | return 0;
| ~~~~~~
sumint.cpp:10:5: note: to match this ‘(’
10 | for(i = 0, i <= 100000, i++){
| ^