func_code_string: #include <bits/stdc++.h>   using namespace std;   const int INF = 987654321;   double f[107][107][107];   int main() {     ios::sync_with_stdio(false);     cout.precision(10);     cout << fixed;     int R, S, P;     cin >> R >> S >> P;     memset(f, 0, sizeof(f));     f[R][S][P] = 1.0;     for (int r = R; r >= 0; --r) {       for (int s = S; s >= 0; --s) {         for (int p = P; p >= 0; --p) {           int n = r + s + p;           if (n < 2) continue;           double x =               1.0 * (r * (r - 1) + s * (s - 1) + p * (p - 1)) / n / (n - 1);           if (r && p)             f[r - 1][s][p] +=                 f[r][s][p] * (2 * r * p) / (n * (n - 1)) / (1.0 - x);           if (r && s)             f[r][s - 1][p] +=                 f[r][s][p] * (2 * r * s) / (n * (n - 1)) / (1.0 - x);           if (s && p)             f[r][s][p - 1] +=                 f[r][s][p] * (2 * s * p) / (n * (n - 1)) / (1.0 - x);         }       }     }     double res[3];     memset(res, 0, sizeof(res));     for (int r = 1; r <= R; ++r) res[0] += f[r][0][0];     for (int s = 1; s <= S; ++s) res[1] += f[0][s][0];     for (int p = 1; p <= P; ++p) res[2] += f[0][0][p];     cout << res[0] <<     << res[1] <<     << res[2] << endl;     return 0;   }   