func_code_string: #include <bits/stdc++.h>   using namespace std;   double tt, anstt;   long long ansp, answ, tod[2000000], x1, x2, t1, t2, t0, ps;   int main() {     cin >> t1 >> t2 >> x1 >> x2 >> t0;     if (t1 == t2 && t1 == t0)       cout << x1 <<     << x2 << endl;     else {       tod[0] = x2;       ps = 0;       for (int i = 1; i <= x1; i++) {         long fl = 0;         while ((i * t1 + ps * t2) < (i + ps) * t0) {           ++ps;           fl = 1;           if (ps > x2) break;         }         tod[i] = ps;       }       anstt = 10000000;       for (int i = 0; i <= x1; i++) {         if (tod[i] <= x2) {           tt = i * t1 + tod[i] * t2;           tt = tt * 1.0 / (i + tod[i]);           anstt = min(anstt, tt);         }       }       anstt += 1e-8;       answ = -1;       for (int i = 0; i <= x1; i++) {         if (tod[i] <= x2) {           tt = i * t1 + tod[i] * t2;           tt = tt * 1.0 / (i + tod[i]);           if (tt < anstt) {             if (answ < i + tod[i]) {               answ = i + tod[i];               ansp = i;             }           }         }       }       cout << ansp <<     << tod[ansp] << endl;     }     cin.get();     cin.get();     return 0;   }   