| Codeforces Round 1099 (Div. 2) |
|---|
| Finished |
You are given an integer $$$n$$$. You need to construct an array of integers $$$a_1, a_2, \ldots, a_n$$$ such that the following conditions are satisfied:
Each test contains multiple test cases. The first line contains the number of test cases $$$t$$$ ($$$1 \le t \le 100$$$). The description of the test cases follows.
The only line of each test case contains one integer $$$n$$$ ($$$1 \le n \le 500$$$).
For each test case, output an array of length $$$n$$$ that satisfies the condition of the problem. It can be shown that such an array always exists under the given constraints.
3136
16 2 38 1 11 2 3 4
In the second example, all elements and adjacent sums form the set $$$\textbf{6}, \textbf{2}, \textbf{3}, 8, 5$$$, all of whose elements are distinct.
In the third example, all elements and adjacent sums form the set $$$\textbf{8}, \textbf{1}, \textbf{11}, \textbf{2}, \textbf{3}, \textbf{4}, 9, 12, 13, 5, 7$$$, whose elements are also distinct.
| Name |
|---|


