Problem of The Day 18 December 2016 — Xor is Mad
The problem is straight and simple.
Given a number X,find how many positive A (A>0) exists, such that
1. A⊕ X=A + X
2. A < X
Input:
The first line of the input will contain T, the number of test-cases.
Next T lines will contain integer X…