Problem | flamethrower |
---|---|
User | Armnotsostrong123456 |
Submission Time | 2025-02-15 10:46:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:6:5: error: expected initializer before ‘cin’
6 | cin >> n >> k;
| ^~~
flamethrower.cpp:8:27: error: expected ‘;’ before ‘)’ token
8 | for(int i= 0; i<n, i++){
| ^
| ;
flamethrower.cpp:11:28: error: expected primary-expression before ‘=’ token
11 | for(int start=0; start,=n-k; start++){
| ^
flamethrower.cpp:11:31: error: ‘k’ was not declared in this scope
11 | for(int start=0; start,=n-k; start++){
| ^
flamethrower.cpp:14:9: error: expected ‘,’ or ‘;’ before ‘for’
14 | for(int tree=start; treee<=start+k-3; tree+){
| ^~~
flamethrower.cpp:14:29: error: ‘treee’ was not declared in this scope
14 | for(int tree=start; treee<=start+k-3; tree+){