func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, a, b, ans[100], i, sum, z = 1;     scanf( %d%d%d , &n, &a, &b);     sum = ans[0] = 1;     for (i = 1; i <= b; i++) {       ans[i] = sum + 1;       if (ans[i] > 50000) z = 0;       sum += ans[i];     }     if (z) {       if (b != 0) {         for (; i <= a + b; i++) {           ans[i] = ans[i - 1] + 1;           if (ans[i] > 50000) z = 0;         }       } else {         sum = ans[0] = ans[1] = 1;         for (i = 2; i <= 1 + a + b; i++) {           ans[i] = ans[i - 1] + 1;           if (ans[i] > 50000) z = 0;         }         if ((n != 1) && (a == n - 1)) z = 0;       }     }     if (z == 0)       printf( -1 );     else {       for (; i < n; i++) {         ans[i] = ans[i - 1];       }       for (i = 0; i < n; i++) printf( %d  , ans[i]);     }     return 0;   }   