Problem flamethrower
User blob
Submission Time 2023-11-15 10:47:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:12:19: error: ‘k’ was not declared in this scope
12 | for (int j = 0;j=k;j++) {
| ^
flamethrower.cpp:13:12: error: expected initializer before ‘+’ token
13 | auto *arr+j
| ^
flamethrower.cpp:16:10: error: expected ‘;’ before ‘cout’
16 | return 0
| ^
| ;
17 | cout << ans;
| ~~~~