func_code_string: #include <bits/stdc++.h>   using namespace std;   bool f(int n, int h, int c, int t) {     return (2 * n + 1ll) * abs(1ll * n * (h + c - 2 * t) + t - c) <=            (2 * n - 1ll) * (1ll * n * (h + c - 2 * t) + h - t);   }   int main() {     ios_base::sync_with_stdio(0);     cin.tie(NULL);     long long t = 1;     cin >> t;     while (t--) {       int h, c, t;       cin >> h >> c >> t;       if (2 * t <= h + c)         cout <<  2               <<   n ;       else {         int a = h - t;         int b = 2 * t - c - h;         int k = 2 * (a / b) + 1;         long long val1 =             abs(k / 2 * 1ll * c + (k + 1) / 2 * 1ll * h - t * 1ll * k);         long long val2 = abs((k + 2) / 2 * 1ll * c + (k + 3) / 2 * 1ll * h -                              t * 1ll * (k + 2));         if (val1 * (k + 2) <= val2 * k)           cout << k <<   n ;         else           cout << k + 2 <<   n ;       }     }   }   