func_code_string: #include <bits/stdc++.h>   #pragma GCC optimize( O3 )   #pragma GCC target( sse4 )   using namespace std;   const long long INF = 1e18;   const long long MOD = 1e9 + 7;   const long long N = 2e6 + 10;   const long long dx[8] = {1, 0, -1, 0, 1, 1, -1, -1},                   dy[8] = {0, 1, 0, -1, -1, 1, -1, 1};   bool TC = 0;   long long binpow(long long a, long long b) {     long long res = 1;     while (b) {       if (b & 1) res = res * 1LL * a;       a = a * 1LL * a;       b >>= 1;     }     return res;   }   long long s(long long n) {     long long res = 0;     while (n) {       res += n % 10;       n /= 10;     }     return res;   }   void test_case() {     long long a, b, c;     cin >> a >> b >> c;     vector<long long> v;     for (long long i = 1; i <= 81; i++) {       long long var = b * ((long long)binpow(i, a)) + c;       if (s(var) == i && var < 1e9) v.push_back(var);     }     cout << (long long)((v).size()) <<   n ;     for (long long i = 0; i < (long long)((v).size()); i++) {       cout << v[i] <<    ;     }   }   int32_t main() {     ios_base::sync_with_stdio(0);     cin.tie(0);     cout.tie(0);     if (TC) {       long long T;       cin >> T;       while (T--) test_case();     } else       test_case();     return 0;   }   