func_code_string: #include <bits/stdc++.h>   using namespace std;   long long n, m, x, y, a, l, w, z, ss, t, k, e, c, total, nnn, yes,       mx = 531, mn = -1, r, xx, yy, last, cas;   map<string, int> wow;   int main() {     string s;     cin >> s;     wow[s] = 1;     x = 1;     l = s.size();     for (int i = 0; i < l; i++) {       char te = s[l - 1];       for (int j = l - 1; j > 0; j--) {         s[j] = s[j - 1];       }       s[0] = te;       if (wow[s] == 0) {         x++;         wow[s]++;       }     }     cout << x;   }   