Problem flamethrower
User ZacharyTan2010
Submission Time 2024-02-07 16:39:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:9:7: error: ‘i’ was not declared in this scope
9 | }for(i=0;i<n-k;i++){s=0;
| ^
flamethrower.cpp:14:7: error: ‘j’ was not declared in this scope
14 | for(j=0;j<k;j++){
| ^
flamethrower.cpp:17:7: error: ‘j’ was not declared in this scope
17 | }for(j=0;j<k;j++){cout<<b[j]<<" "}
| ^