2020暑期牛客多校第三场B.Classical String Problem(字符串移动)

题目连接:https://ac.nowcoder.com/acm/contest/5668/B 解题思路: 找规律,每次M x,对字符串开头进行更新便可 至关于把字符串s当作一个循环串,开头不断变化ios #include<iostream> #include<cstdio> #include<string.h> #include<string> using namespace std; stri
相关文章
相关标签/搜索