思维+模拟 Codeforces Round #629 (Div. 3) D题 Carousel

NoSuchKey