func_code_string: #include <bits/stdc++.h>   using namespace std;   mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());   int main() {     ios::sync_with_stdio(false);     cin.tie(0);     int t;     cin >> t;     while (t--) {       int n;       cin >> n;       string s;       cin >> s;       string a(n,  0 );       string b(n,  0 );       int flag = 0;       for (int i = 0; i < n; i++) {         if (s[i] ==  2 ) {           if (flag == 0) {             a[i] =  1 ;             b[i] =  1 ;           } else {             a[i] =  0 ;             b[i] =  2 ;           }         }         if (s[i] ==  1 ) {           if (flag == 0) {             a[i] =  1 ;             flag = 1;           } else {             b[i] =  1 ;           }         }       }       cout << a <<   n ;       cout << b <<   n ;     }     return 0;   }   