Problem flamethrower
User CastyLoz17
Submission Time 2024-02-28 20:14:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:8:19: error: ‘s’ was not declared in this scope
8 | cin >> n >> k;s
| ^
flamethrower.cpp:14:9: error: ‘trees’ was not declared in this scope
14 | trees.push_back(x);
| ^~~~~
flamethrower.cpp:23:21: error: ‘trees’ was not declared in this scope
23 | cost += trees[j];
| ^~~~~