Problem flamethrower
User ggracekkim
Submission Time 2025-09-29 16:14:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp:1:1: error: ‘include’ does not name a type
1 | include <iostream>
| ^~~~~~~
flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:6:5: error: ‘cin’ was not declared in this scope
6 | cin >> N >> K;
| ^~~
flamethrower.cpp:7:5: error: ‘string’ was not declared in this scope
7 | string A;
| ^~~~~~
flamethrower.cpp:8:12: error: ‘A’ was not declared in this scope
8 | cin >> A;
| ^
flamethrower.cpp:18:1: error: expected ‘}’ at end of input
18 | }
| ^
flamethrower.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^