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
注册一个 云斗学院 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 云斗学院 通用账户