Problem stepgame
User joeioel
Submission Time 2026-07-22 00:31:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stepgame.cpp: In function ‘int32_t main()’:
stepgame.cpp:19:38: error: ‘min’ cannot be used as a function
19 | dp[i] = min(s[i],dp[i-1]+s[i]);
| ^