CodeFoeces-745A

题目

原题链接:A. Hongcow Learns the Cyclic Shift

题意

问字符串逐个向后推一位,能得到几个不同的字符串。

代码

#include
using namespace std;
int main() {
    string s,t;
    set set;
    cin>>s;
    for(int i=0;i

你可能感兴趣的:(CodeFoeces-745A)