Problem flamethrower
User jerrielchangjiebin
Submission Time 2024-12-02 13:29:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:18:28: error: ‘current’ was not declared in this scope
18 | max_cost = max(max_cost, current cost);
| ^~~~~~~