Problem flamethrower
User Armnotsostrong123456
Submission Time 2025-02-15 10:52:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
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;
| ^~~
| abs