第一行一个数n。第二行个数第三行个数
三行每行个数,分别代表是or,and,xor时的值
2 2 4 6 8 1 3 5 7
2 22 46 250 88 64 112 56 100 92 68 60
原题链接:https://www.luogu.com.cn/problem/P4717