Define
where ⊕,∨,∧ are the bitwise XOR, OR and AND operator respectively. Also set
For example, G(10)=754 and G(102)=583766.
Find G(1018). Give your answer modulo 1000000007.
记
其中 ⊕,∨,∧ 分别指按位异或、按位或、按位与运算。
另记
例如有 G(10)=754、G(102)=583766。
求 G(1018) 模 1000000007 的值。
点 这个链接 回到源站。
点 这个链接 回到详细版题目目录。