Problem flamethrower
User thelusidian
Submission Time 2024-02-19 18:02:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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:11: error: ‘tree’ was not declared in this scope; did you mean ‘trees’?
14 | val += tree[index + gap]
| ^~~~
| trees