Problem | flamethrower |
---|---|
User | thelusidian |
Submission Time | 2024-02-19 18:02:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:12:49: error: ‘i’ was not declared in this scope
12 | for (unsigned long int index=0; index<(n - k); i++) {
| ^
flamethrower.cpp:14:29: error: expected ‘;’ before ‘}’ token
14 | val += trees[index + gap]
| ^
| ;
15 | }
| ~