Codeforces 2020F: Count Leaves
CF 2020F - Count Leaves
Rating: 2900 Tags: dp, math, number theory Solve time: 32s Verified: no