Problem flamethrower
User RandomCtfNoob
Submission Time 2024-02-26 16:02:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:14:25: error: ‘k’ was not declared in this scope
14 | for (h = 0; h <= K-1, k++){
| ^
flamethrower.cpp:14:28: error: expected ‘;’ before ‘)’ token
14 | for (h = 0; h <= K-1, k++){
| ^
| ;
flamethrower.cpp:22:16: error: expected ‘}’ at end of input
22 | cout << maxdmg;
| ^
flamethrower.cpp:3:12: note: to match this ‘{’
3 | int main() {
| ^