func_code_string: #include <bits/stdc++.h>   using namespace std;   long long MOD = 1e9 + 7, MAX = 1e18;   int main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     ;     long long t;     cin >> t;     while (t--) {       long long n0, n1, n2, i;       cin >> n0 >> n1 >> n2;       string second =   ;       if (n1) {         if (n1 % 2) {           for (i = 0; i <= n1; i++) {             if (i % 2)               second.push_back( 0 );             else               second.push_back( 1 );           }           while (n2--) cout << 1;           cout << second;           while (n0--) cout << 0;           cout <<   n ;         } else {           for (i = 1; i <= n1; i++) {             if (i % 2)               second.push_back( 0 );             else               second.push_back( 1 );           }           while (n2--) cout << 1;           cout << 1;           while (n0--) cout << 0;           cout << second <<   n ;         }       } else {         if (n2)           for (i = 0; i <= n2; i++) cout << 1;         if (n0)           for (i = 0; i <= n0; i++) cout << 0;         cout <<   n ;       }     }     return 0;   }   