CF 1750G - Doping

Codeforces 1750G: Doping

CF 1750G - Doping

Rating: 3300
Tags: combinatorics, dp, math
Solve time: 1m 11s
Verified: no

Solution