CF 1034C - Region Separation

Codeforces 1034C: Region Separation

CF 1034C - Region Separation

Rating: 2700
Tags: combinatorics, dp, number theory, trees
Solve time: 10m 26s
Verified: no

Solution