func_code_string: #include <bits/stdc++.h>   using namespace std;   long long int arr[123456];   map<long long int, bool> mp;   int main() {     int a = 0, b = 0, n, k, l, r, all, kall;     cin >> n >> k >> l >> r >> all >> kall;     int rest = all - kall;     for (int i = 0; i < k; i++) {       arr[i] = kall / k;       if (kall % k != 0) {         arr[i]++;         kall--;       }     }     int rem, man = n - k;     if (k != n) {       for (int i = k; i < n; i++) {         arr[i] = rest / man;         rem = rest % man;         if (rem != 0) {           arr[i]++;           rest--;         }       }     }     random_shuffle(arr, arr + n);     for (int i = 0; i < n - 1; i++) {       printf( %d  , arr[i]);     }     cout << arr[n - 1] << endl;   }   