#include using namespace std; //#include //using namespace atcoder; using ll=long long; using Graph=vector>; #define MAX 200003 #define MOD 998244353 #define INF 1000000000 void solve(){ ll A,B; cin>>A>>B; vector a(60),b(60); for(int i=0;i<60;i++){ a[i]=A%2; b[i]=B%2; A>>=1; B>>=1; } int k; for(int i=59;i>=0;i--){ if(b[i]>a[i]){ k=i; break; } } vector ans; for(int i=0;i=0;i--){ if(b[i]==1){ ans.push_back(1LL<>T; for(int i=0;i