This documentation is automatically generated by online-judge-tools/verification-helper
import cp_library.alg.dp.__header__
def chmin(dp, i, v):
if ch:=dp[i]>v:dp[i]=v
return ch
'''
╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸
https://kobejean.github.io/cp-library
'''
def chmin(dp, i, v):
if ch:=dp[i]>v:dp[i]=v
return ch