#nt701. 上帝与集合的正确用法
上帝与集合的正确用法
The Correct Use of God and the Set
Problem Source
BZOJ 3884
Problem Description
Given a number , compute
Input Format
The first line contains an integer , the number of test cases.
The next lines each contain one integer .
Output Format
A total of lines, each containing one integer: the answer.
Sample Input
3
2
3
6
Sample Output
0
1
4
Constraints
For all data, and are guaranteed.