CF 1736E - Swap and Take

Codeforces 1736E: Swap and Take

CF 1736E - Swap and Take

Rating: 2600
Tags: dp, greedy
Solve time: 2m 2s
Verified: no

Solution