func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int w;     w = 1;     while (w--) {       int n, maxi = -1, b = 0;       vector<int> s, t[10];       bool f1 = true, f = false;       cin >> n;       while (n > 0) {         int x = n % 10;         s.push_back(x);         maxi = max(maxi, x);         n /= 10;       }       reverse(s.begin(), s.end());       while (f1) {         f1 = false;         f = false;         for (int i = 0; i < s.size(); i++) {           int y = s[i];           if (y > 0) {             f1 = true;             f = true;             t[b].push_back(1);             y--;             s[i] = y;           } else {             if (f) t[b].push_back(0);           }         }         b++;       }       string ans[maxi];       cout << maxi << endl;       for (int i = 0; i < maxi; i++) {         for (int j = 0; j < t[i].size(); j++) {           char c = (char)(t[i][j] +  0 );           ans[i].push_back(c);         }       }       for (int i = 0; i < maxi; i++) cout << ans[i] <<    ;     }   }   