XOR-Powers
We use to be the bitwise XOR of and .
Define the XOR-product of and , denoted by , similar to a long multiplication in base , except that the intermediate results are XORed instead of the usual integer addition.
For example, , or in base , :
Further we define . For example .
Find . Give your answer modulo .
异或幂
记为和按位异或的结果。
我们定义一种新运算,称为和的异或积并记作。这种运算类似于对和的二进制表示做长乘法,但是将其中的相加替换为异或。
例如,,或用二进制表示写作:
进一步定义,例如。
求,并将你的答案对取余。
Gitalking ...