func_code_string: #include <bits/stdc++.h>   using namespace std;   template <typename T>   T id(T b) {     return b;   };   template <class It>   bool all(It f, It l) {     return std::all_of(f, l, id<bool>);   }   template <class It>   bool any(It f, It l) {     return std::any_of(f, l, id<bool>);   }   const int MAX_N = 2000, MAX_A = 1000000;   int n, k, s;   int a[MAX_N];   int main() {     cin >> k;     s = a[0] = -1;     n = 1;     while (s - n + 1 != k) {       a[n] = min(k - (s - n), MAX_A);       s += a[n];       n++;     }     cout << n << endl;     for (int i = 0; i < n; i++) cout << a[i] <<    n [i + 1 == n];     return 0;   }   