func_code_string: #include <bits/stdc++.h>   using namespace std;   using ll = long long;   using pii = pair<int, int>;   using pll = pair<long long, long long>;   using pcc = pair<char, char>;   using pdd = pair<double, double>;   using vi = vector<int>;   using vs = vector<string>;   using vll = vector<ll>;   using vpii = vector<pii>;   using vc = vector<char>;   using vd = vector<double>;   ll POW(ll a, ll b) {     if (b == 0) return 1;     ll x = POW(a, b / 2);     x = (x * x);     if (b & 1) x = (x * a);     return x;   }   int main(int argc, char* argv[]) {     ll n, a, b;     scanf( %lld%*c , &(n));     while (n--) {       scanf( %lld%*c , &(a)), scanf( %lld%*c , &(b));       int aa[100]{0}, bb[100]{0}, i;       ll ans{0}, bbb = b;       for (i = 0; i < 100; i++) {         aa[i] = a % 2;         a /= 2;         bb[i] = b % 2;         b /= 2;       }       for (i = 99; i >= 0; i--) {         if (bb[i]) {           if (!aa[i]) {             ans += POW(2, i) - 1;             if (ans + POW(2, i) <= bbb) ans += POW(2, i);             break;           } else             ans += POW(2, i);         }       }       printf( %lld , (ans)), printf(  n );     }     return 0;   }   