func_code_string: #include <bits/stdc++.h>   using namespace std;   int f(int a, int b) {     int ans = 1;     for (int i = 0; i < b; i++) ans *= a;     return ans;   }   int main() {     int a, b, sgn, n, ans = 1999;     scanf( %d %d %d , &a, &b, &n);     sgn = (a < 0) ^ (b < 0);     a = abs(a);     b = abs(b);     if (sgn == 1 && n % 2 == 0 && b != 0)       printf( No solution n );     else if (a == 0 && b == 0)       printf( 0 n );     else if (a == 0)       printf( No solution n );     else if (b % a != 0)       printf( No solution n );     else {       b /= a;       for (int i = 0;; i++) {         int k = f(i, n);         if (k == b) {           ans = i * (sgn == 1 ? -1 : 1);           break;         }         if (k > b) {           printf( No solution n );           break;         }       }       if (ans != 1999) printf( %d n , ans);     }     return 0;   }   