CF 482D - Random Function and Tree

Codeforces 482D: Random Function and Tree

CF 482D - Random Function and Tree

Rating: 2700
Tags: combinatorics, dp, trees
Solve time: 5m 18s
Verified: no

Solution