Codeforces 1497E2 linear sieve + ruler picking method + DP

NoSuchKey

Guess you like

Origin blog.csdn.net/neweryyy/article/details/115266153