Problem flamethrower
User altuser1609
Submission Time 2023-04-17 15:56:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:13:26: error: ‘k’ was not declared in this scope
13 | for (int i = 0; i < n - k; i++) {
| ^
flamethrower.cpp:21:21: error: expected ‘}’ at end of input
21 | cout << ans << endl;
| ^
flamethrower.cpp:5:13: note: to match this ‘{’
5 | int main () {
| ^