li
li
· The number filled in should be 0, 1, or 2. · The left side of the big triangle should not be filled with 0. The right side of the big triangle should not be filled with 1. The bottom side of the big triangle should not be filled with 2. · For each small triangle with side length 1, the sum of three vertices should not be a multiple of 3.
li
Please tell li
Each test contains multiple test cases. The first line contains the number of test cases T (1≤T≤1000). Desc
For each test case, there is only one line containing a single integer 1≤n≤103).
2
1
2
No
No