usaco 6.1 Cow XOR(USACO终结,二进制的一些应用)
Cow XORAdrian Vladu -- 2005Farmer John is stuck with another problem while feeding his cows. All of his N (1 ≤ N ≤ 100,000) cows (numbered 1..N) are lined up in front of the barn, sorted by their