2456: Exclusive or
内存限制:128 MB
时间限制:3.000 S
评测方式:文本比较
命题人:
提交:0
解决:0
题目描述
Given n, find the value of
Note: ⊕ denotes bitwise exclusive-or.
输入
The input consists of several tests. For each tests:
A single integer n (2≤n<10500).
输出
For each tests:
A single integer, the value of the sum.
样例输入 复制
3
4
样例输出 复制
6
4