Problem flamethrower
User KingKian
Submission Time 2024-02-20 17:54:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:17:9: error: ‘class std::vector<int>’ has no member named ‘pushback’; did you mean ‘push_back’?
17 | trees.pushback(cost);
| ^~~~~~~~
| push_back
flamethrower.cpp: At global scope:
flamethrower.cpp:33:1: error: expected declaration before ‘}’ token
33 | }
| ^