Codeforces 1374 F. Cyclic Shifts Sorting —— 暴力,贪心

NoSuchKey