Find the value of 1⊕2⊕⋯⊕N1 \oplus 2 \oplus\cdots\oplus N1⊕2⊕⋯⊕N.
A⊕BA \oplus BA⊕B denotes the bitwise XOR of A,BA,BA,B.
One line with an integer NNN.
One integer, the answer.
3
0
Translated by ChatGPT 5
使用您的 清北信奥登峰计划 通用账户