Problem dinowalk
User Dolphy
Submission Time 2024-11-28 10:12:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dinowalk.cpp: In function ‘int32_t main()’:
dinowalk.cpp:23:54: error: ‘min’ cannot be used as a function
23 | if (height[i.second]<min(i.first, x.first)){
| ^
dinowalk.cpp:24:54: error: ‘min’ cannot be used as a function
24 | height[i.second]=min(i.first, x.first);
| ^