摘要:
原题链接#include #include using namespace std;int main(){ string str; int n; while(cin >> str >> n){ int len = str.size(); n %= len; int count = len - n, j = 0; while(j < len){ cout << str.at(count++ % len); ++j; } cout << endl; } return 0;} 阅读全文
posted @ 2014-03-05 17:02
长木Qiu
阅读(146)
评论(0)
推荐(0)
浙公网安备 33010602011771号