func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     long long n, k, s;     scanf( %I64d%I64d%I64d , &n, &k, &s);     if (k * (n - 1) < s || s < k)       printf( NO n );     else {       long long sum = s, step = k;       long long dis = n - 1;       printf( YES n );       long long now = 1;       for (int i = 1; i <= k; i++) {         if ((step - 1) <= sum - dis) {           if (now == 1) {             if (i == 1)               printf( %d , n);             else               printf(  %d , n);             now = n;           } else {             if (i == 1)               printf( %d , 1);             else               printf(  %d , 1);             now = 1;           }           step -= 1;           sum -= dis;         } else {           long long d = sum - step + 1;           if (now - d <= 0) {             if (i == 1)               printf( %d , d + now);             else               printf(  %d , d + now);             now = d + now;           } else {             if (i == 1)               printf( %d , now - d);             else               printf(  %d , now - d);             now = now - d;           }           step -= 1;           sum -= d;         }       }     }     return 0;   }   