\(\hspace{1.2em}\)Here are \(t(1 \leq t \leq 10^5)\) tests, each test contains two integers \(a(0 \leq a \leq 10^9)\) and \(b(0 \leq b \leq 10^9)\), you should find the Mex of the sequence \(a\oplus0\), \(a\oplus1\)... \(a\oplus b\), here \(\oplus\) mean the bitwise xor operation.the Mex of the sequence of non-negative integers is the smallest non-negative integer that doesn't appear in this sequence. For example, Mex(1,2,3)=0,Mex(0,1,2,4,5)=3