[Codeforces Round #666 (Div. 2)] B. Power Sequence 暴力枚举

NoSuchKey