首先这题中有一个序列1 xor 2 xor 3...xor w-1 xor w
XJOI Invoker(DP,数学,高精度)(未完待续)
原文:http://www.cnblogs.com/Yuhuger/p/7507051.html