func_code_string: #include <bits/stdc++.h>   using namespace std;   mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());   signed main() {     std::ios::sync_with_stdio(false);     string str;     cin >> str;     long long int n = str.size();     string prf =   ;     vector<long long int> v(n, 0);     for (long long int i = 0; i < n - 1; i++)       if (str[i] != str[i + 1]) v[i] = 1;     if (str[n - 1] ==  a ) v[n - 1] = 1;     for (long long int i = 0; i < n; i++) cout << v[i] <<    ;   }   