{"trustable":false,"prependHtml":"\u003cscript\u003e window.katexOptions \u003d { disable: true }; \u003c/script\u003e\n\u003cscript type\u003d\"text/x-mathjax-config\"\u003e\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [[\u0027$$$\u0027,\u0027$$$\u0027], [\u0027$\u0027,\u0027$\u0027]],\n displayMath: [[\u0027$$$$$$\u0027,\u0027$$$$$$\u0027], [\u0027$$\u0027,\u0027$$\u0027]]\n }\n });\n\u003c/script\u003e\n\u003cscript async src\u003d\"https://mathjax.codeforces.org/MathJax.js?config\u003dTeX-AMS-MML_HTMLorMML\" type\u003d\"text/javascript\"\u003e\u003c/script\u003e","sections":[{"title":"","value":{"format":"HTML","content":"现在我们有两个正整数A和B,请找出一个正整数C,使得式子( (A ^ C)\u0026(B ^ C) )最小 (^是异或运算) \u003cbr\u003e\n如果有多个满足该条件的C,输出最小的那个,如果使得式子最小的C为0时,请你输出1\u003cbr\u003e"}},{"title":"Input","value":{"format":"HTML","content":"第一行输入T,代表有T组数据\u003cbr\u003e\n接下来每一行输入两个数A,B(A,B\u003c\u003d2^32)\u003cbr\u003e"}},{"title":"Output","value":{"format":"HTML","content":"对于每一组数据输出一个正整数C\u003cbr\u003e"}},{"title":"Sample Input","value":{"format":"HTML","content":"\u003cpre\u003e1\n3 5\u003c/pre\u003e"}},{"title":"Sample Output","value":{"format":"HTML","content":"\u003cpre\u003e1\u003c/pre\u003e"}}]}