func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, m;     scanf( %d%d , &n, &m);     if (m < n - 1 || m > 2 * (n + 1)) {       printf( -1 n );     } else if (m == n || m == n - 1) {       int flg = 0;       while (m || n) {         if (!flg) {           printf( 0 );           n--;           flg = 1;         } else {           printf( 1 );           m--;           flg = 0;         }       }       printf(  n );     } else if (m == n + 1) {       while (n) {         printf( 10 );         n -= 1;       }       printf( 1 n );     } else {       while (m != n && n > 0) {         printf( 110 );         m -= 2;         n -= 1;       }       if (n == 0) {         while (m--) {           printf( 1 );         }       } else {         while (n--) {           printf( 10 );         }       }       printf(  n );     }     return 0;   }   