2009: 练3.3 01子串

Memory Limit:64 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:1

Description

对于长度为 $3$ 位的一个 $0$、$1$ 串,每一位都可能是 $0$ 或 $1$,一共有 $8$ 种可能。它们的前几个是:n 000 001 010 …… 请按从小到大的顺序输出这 $8$ 种 $01$ 串。

Input

Output

输出 $8$ 行,按从小到大的顺序每行一个长度为 $3$ 的 $01$ 串。

Sample Input Copy

Sample Output Copy

000
001
010
011
100
101
110
111

Source/Category