func_code_string: #include <bits/stdc++.h>   using namespace std;   long long t0, t1, t2, x1, x2;   long long count(long long y1, long long y2) {     return t1 * y1 + t2 * y2 - t0 * (y1 + y2);   }   int main() {     cin >> t1 >> t2 >> x1 >> x2 >> t0;     if (t1 == t2) {       cout << x1 <<     << x2;       return 0;     }     long long by1 = 0, by2 = x2;     for (long long y1 = 0; y1 <= x1; y1++) {       long long l = (y1 == 0 ? 1 : 0), r = x2;       while (l <= r) {         long long m = (l + r) / 2;         long long c = count(y1, m);         if (c < 0)           l = m + 1;         else {           if ((t1 * y1 + t2 * m) * (by1 + by2) <                   (t1 * by1 + t2 * by2) * (y1 + m) ||               ((t1 * y1 + t2 * m) * (by1 + by2) ==                    (t1 * by1 + t2 * by2) * (y1 + m) &&                (by1 + by2) < (y1 + m))) {             by1 = y1;             by2 = m;           }           r = m - (r == m ? 1 : 0);         }       }     }     cout << by1 <<     << by2;   }   