Codeforces Round #686(Div.3) C- Sequence Transformation

博文链接