func_code_string: #include <bits/stdc++.h>   using namespace std;   const double eps = 1e-9;   const double pi = 3.1415926535897932384626;   const double e = exp(1.0);   int main() {     int t;     double a, b, c;     double x, y, z;     double s;     while (~scanf( %lf , &s)) {       scanf( %lf%lf%lf , &a, &b, &c);       double tt = a + b + c;       if (tt == 0) {         x = y = 0;         z = s;       } else {         x = s * (a * 1.0 / tt);         y = s * (b * 1.0 / tt);         z = s * (c * 1.0 / tt);       }       printf( %.10lf %.10lf %.10lf n , x, y, z);     }     return 0;   }   