Problem | stepgame |
---|---|
User | personjs |
Submission Time | 2025-02-11 10:13:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
stepgame.cpp: In function ‘int main()’:
stepgame.cpp:10:10: error: ‘max’ was not declared in this scope; did you mean ‘std::max’?
10 | best = max(best, v)
| ^~~
| std::max
In file included from /usr/include/c++/9/algorithm:62,
from stepgame.cpp:2:
/usr/include/c++/9/bits/stl_algo.h:3468:5: note: ‘std::max’ declared here
3468 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~