| TheForces Round #10 (TEN-Forces) |
|---|
| Закончено |
You are given an integer $$$n$$$.
Your task is to find the number of pairs $$$a$$$ and $$$b$$$ that:
| means Bitwise OR Operation.
The first line contains a single integer $$$t$$$ $$$(1 \le t \le 10^5)$$$ — the number of test cases. The description of the test cases follows.
The each test case contains a single integer $$$n$$$ $$$(0 \le n \le 10^{9})$$$.
For each test case, output a single integer — the number of pairs.
5 0 1 6 7 8
1 3 22 36 38
| Название |
|---|


