func_code_string: #include <bits/stdc++.h>   using namespace std;   bool sol(long long n, long long m, long long a, long long l, long long r,            long long& b, long long& c) {     if (abs(n * a - m) <= r - l) {       long long diff = m - n * a;       b = diff > 0 ? r : l;       c = b - diff;       return true;     }     return false;   }   int main() {     int T;     cin >> T;     while (T--) {       long long l, r, m;       cin >> l >> r >> m;       for (long long a = l; a <= r; a++) {         long long n0 = m / a, n1 = m / a + 1;         long long b, c;         if (n0 > 0 && sol(n0, m, a, l, r, b, c)) {           printf( %lld %lld %lld n , a, b, c);           break;         }         if (n1 > 0 && sol(n1, m, a, l, r, b, c)) {           printf( %lld %lld %lld n , a, b, c);           break;         }       }     }   }   