Codeforces 994F Compute Power 二分+DP

NoSuchKey