func_code_string: #include <bits/stdc++.h>   using namespace std;   const long long mod = 1e9 + 7;   const long long mx = 2e6 + 10;   int posx[] = {1, -1, 0, 0};   int posy[] = {0, 0, 1, -1};   int main() {     ios_base::sync_with_stdio(0);     cin.tie(0);     cout.tie(0);     long long t = 1, n, k, m, a, b, c, d, h;     cin >> t;     while (t--) {       cin >> h >> c >> k;       if (h + c >= 2 * k) {         cout << 2 << endl;         continue;       }       long long x = (c - k) / (h + c - (2 * k));       long long y = x + 1;       long double xx = ((h * x) + (c * (x - 1))) / ((1.0) * 2 * x - 1);       long double yy = ((h * y) + (c * (y - 1))) / ((1.0) * 2 * y - 1);       if (abs(xx - k) <= abs(yy - k))         cout << 2 * x - 1 << endl;       else         cout << 2 * y - 1 << endl;     }     return 0;   }   