#UnknownID32. XHXMMMlOPUlMFF#%/':
XHXMMMlOPUlMFF#%/':
Statement
For an arbitrary binary string , let be the number of non-empty subsequences of that contain only , and let be the number of non-empty subsequences of that contain at least one .
Note that for and for , each subsequence is counted as many times as it appears in . E.g., .
We define the oneness of the binary string to be , where for an arbitrary integer , represents the absolute value of .
You are given a positive integer . Find a binary string of length such that its oneness is as small as possible. If there are multiple strings, you can print any of them.
A binary string is a string that only consists of characters and .
A sequence is a subsequence of a sequence if can be obtained from by the deletion of several (possibly, zero or all) elements. For example, subsequences of are , , , , but not nor .
Format
Input
The first line contains an integer ( ) — the number of test cases.
The only line of each test case contains an integer ( ) — the length of .
It is guaranteed that the sum of over all test cases does not exceed .
Output
For each test case, output on a new line. If multiple answers exist, output any.
Sample
3
1
2
3
0
01
010
相关
在下列比赛中: