Comments

i took a look at your solutions of your latest contest and i laughed my ass of ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

include <bits/stdc++.h>

using namespace std; using ll = long long;

int main() { ios_base::sync_with_stdio(false); cin.tie(NULL);

int t;
if (cin >> t) {
    while (t--) {
       ll a, b;
       cin >> a >> b;

       ll odd_sum = 0;
       ll even_sum = 0;
       int h = 0;

       while (true) {
         ll req = 1LL << h;
         ll temp_odd = odd_sum;
         ll temp_even = even_sum;

         if ((h + 1) % 2 != 0) {
          temp_odd += req;
         }
         else {
          temp_even += req;
         }

         bool possible = false;
         if (temp_odd <= a && temp_even <= b) possible = true;
         else if (temp_odd <= b && temp_even <= a) possible = true;

         if (possible) {
          odd_sum = temp_odd;
          even_sum = temp_even;
          h++;
         }
         else {
          break;
         }
       }
       cout << h << "\n";
    }
}
return 0;

}

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

why do you choose to name variables these weird long names ?

i actually looked up your pages , these are really intresting problems , keep it up