func_code_string: #include <bits/stdc++.h>   using namespace std;   int play(int n) {     int x = 1;     for (;;) {       if (x * 2 > n)         break;       else         x *= 2;     }     return x / 2;   }   int main() {     int n, b, p, k, x = 1, btl = 0, twl = 0;     scanf( %d %d %d , &n, &b, &p);     twl = n * p;     while (1) {       int pl = play(n);       btl += (2 * b + 1) * pl;       n = pl + n - pl * 2;       if (n == 1) break;     }     cout << btl <<     << twl << endl;     return 0;   }   