func_code_string: #include <bits/stdc++.h>   using namespace std;   inline int read() {     long long f = 1;     long long x = 0;     char ch = getchar();     while (ch >  9  || ch <  0 ) {       if (ch ==  - ) f = -1;       ch = getchar();     }     while (ch >=  0  && ch <=  9 )       x = (x << 3) + (x << 1) + ch -  0 , ch = getchar();     return x * f;   };   const int maxn = 1e4 + 5;   int res[maxn];   int main() {     int n = read(), d = read(), l = read();     int up, dw;     up = (n / 2 + (n & 1)) * l - (n / 2);     dw = (n / 2 + (n & 1)) - (n / 2) * l;     if (d < dw || d > up) {       printf( -1 );       return 0;     }     for (int i = 1, now = up; i <= n; ++i) {       if (now == d) {         printf( %d  , i & 1 ? l : 1);         continue;       }       int del = min(now - d, l - 1);       if (i & 1) {         printf( %d  , l - del);         now -= del;       } else {         printf( %d  , 1 + del);         now -= del;       }     }     return 0;   }   