Problem | sumint |
---|---|
User | privatepolychoron |
Submission Time | 2024-01-26 10:47:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:11:6: error: ‘i’ was not declared in this scope
11 | for(i = 0, i <= x, i++){
| ^
sumint.cpp:15:14: error: ‘start’ was not declared in this scope
15 | accumulate (start(v), end(v), 0);
| ^~~~~
sumint.cpp:17:2: error: expected primary-expression before ‘return’
17 | return 0;
| ^~~~~~
sumint.cpp:15:35: error: expected ‘)’ before ‘return’
15 | accumulate (start(v), end(v), 0);
| ^
| )
16 |
17 | return 0;
| ~~~~~~
sumint.cpp:11:5: note: to match this ‘(’
11 | for(i = 0, i <= x, i++){
| ^