#include<bits/stdc++.h> using namespace std; typedef long long ll; #define endl '\n' int len(int x){ int ans=0; while(x){ x>>=1; ++ans; } return ans; } int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); int T; cin>>T; for(int _=0;_<T;++_){ int a,b,c; c...