K-periodic Garland(思维DP)(Codeforces Round #642 (Div. 3) E题)

NoSuchKey