Problem | flamethrower |
---|---|
User | Armnotsostrong123456 |
Submission Time | 2025-02-15 10:51:53 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:12:28: error: expected primary-expression before ‘=’ token
12 | for(int start=0; start,=n-k; start++){
| ^
flamethrower.cpp:15:29: error: ‘treee’ was not declared in this scope; did you mean ‘tree’?
15 | for(int tree=start; treee<=start+k-3; tree+){
| ^~~~~
| tree
flamethrower.cpp:15:52: error: expected primary-expression before ‘)’ token
15 | for(int tree=start; treee<=start+k-3; tree+){
| ^
flamethrower.cpp:18:18: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
18 | if(sum >=ans){
| ^~~
| abs
flamethrower.cpp:22:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
22 | cout << ans;