Problem | flamethrower |
---|---|
User | TheAccomplice |
Submission Time | 2024-04-27 10:48:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:23:21: error: expected ‘;’ before ‘for’
23 | currentsum = maxsum
| ^
| ;
24 |
25 | for (int i = 1; i <= n - k; ++i) {
| ~~~
flamethrower.cpp:25:18: error: ‘i’ was not declared in this scope
25 | for (int i = 1; i <= n - k; ++i) {
| ^