In this problem is used to represent the bitwise exclusive or of two numbers. Starting with blank paper repeatedly do the following:
After the first round will be written on the paper. In the second round and because , and are all already written must be .
After rounds there will be numbers on the paper. Their sum is denoted by .
For example, and .
Find . Give your answer modulo .
本题用 表示两个数的按位异或运算。
我们在一张白纸上,进行如下操作:
第一轮后纸上有 三个数。第二轮中 ,而且因为 都在纸上,所以 。
轮后,纸上会有 个数,记它们的和为 。已知: 且 。
求 模 之值。
点 这个链接 回到源站。
点 这个链接 回到详细版题目目录。