Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alien dp #7

Open
beet-aizu opened this issue Sep 11, 2021 · 0 comments
Open

alien dp #7

beet-aizu opened this issue Sep 11, 2021 · 0 comments

Comments

@beet-aizu
Copy link
Owner

ペナルティ p に対する個数の最大値を cnt(p) とすると、cnt(p) は広義単調減少
p = \argmax_{q} k <= cnt(q) とすると
定義から \all_{0 < eps} cnt(p+eps)<k<=cnt(p)
連続性から lim_{eps->+0} ans(p+eps) = ans(p)
したがって \max_{0 < eps} cnt(p+eps) (<k) 個でもペナルティ p での最適解が存在し、OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant