func_code_string: #include <bits/stdc++.h>   using namespace std;   void rc(char &a) {     a = 0;     register int x = getchar_unlocked();     while (x <  a  || x >  z ) {       if (x ==   n ) {         a =  0 ;         return;       }       x = getchar_unlocked();     }     a = x;   }   const int maxn = 100100;   int key;   int main() {     ios_base::sync_with_stdio(0);     string ans =   ;     char cur;     while (true) {       rc(cur);       if (cur ==  0 ) break;       if (cur ==  a ) {         if (key == 0)           ans +=  a ;         else if (key == 1) {           ans +=  a ;           key = 2;         } else {           ans +=  a ;         }       } else {         if (key == 1)           ans += (cur - 1);         else if (key == 0) {           ans += (cur - 1);           key = 1;         } else {           ans += cur;         }       }     }     if (key == 0) {       ans = ans.substr(0, ans.size() - 1) +  z ;       cout << ans <<   n ;       return 0;     }     cout << ans <<   n ;   }   