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