337A How to apply dynamic programming
how to solve 337A by using dp as it mentioned in its tag ?
ICPC NA North Central and South Division