Maximize The Value

Problem Name:
Maximize The Value
Site:CodeForces
Links:
Tags: