Problem flamethrower
User pIaceholder
Submission Time 2023-04-17 19:47:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:26:15: error: ‘max’ was not declared in this scope; did you mean ‘std::max’?
26 | final_ans = max(ans, final_ans);
| ^~~
| std::max
In file included from /usr/include/c++/9/algorithm:62,
from flamethrower.cpp:3:
/usr/include/c++/9/bits/stl_algo.h:3468:5: note: ‘std::max’ declared here
3468 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~