Problem flamethrower
User justin271828
Submission Time 2023-06-01 11:24:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:10:7: error: ‘i’ was not declared in this scope
10 | for (i = 0; i < N; i++){
| ^
flamethrower.cpp:13:7: error: ‘i’ was not declared in this scope
13 | for (i = 0; i <= N-K; i++){
| ^
flamethrower.cpp:14:8: error: expected ‘;’ before ‘for’
14 | a = 0
| ^
| ;
15 | for (j = 0; j < K; j++){
| ~~~
flamethrower.cpp:15:15: error: ‘j’ was not declared in this scope
15 | for (j = 0; j < K; j++){
| ^