Chiaki would like to know the sum of the first n terms of the sequence, i.e.
There are multiple test cases. The first line of input contains an integer T (1 ≤ T ≤ 105), indicating the number of test cases. For each test case:
The first line contains an integer n (1 ≤ n ≤ 1018).
For each test case, output an integer denoting the answer.
10 1 2 3 4 5 6 7 8 9 10
0 1 2 2 4 4 6 7 8 11

暂无题解