#2295. 练3.3 01子串

    ID: 2295 Type: RemoteJudge 1000ms 64MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>http://bas.ssoier.cn:8086/problem_show.php?pid=3009顺序结构

练3.3 01子串

说明

对于长度为 $3$ 位的一个 $0$、$1$ 串,每一位都可能是 $0$ 或 $1$,一共有 $8$ 种可能。它们的前几个是:
000
001
010
……

请按从小到大的顺序输出这 $8$ 种 $01$ 串。

输入格式

输出格式

输出 $8$ 行,按从小到大的顺序每行一个长度为 $3$ 的 $01$ 串。
000
001
010
011
100
101
110
111

Source

http://bas.ssoier.cn:8086/problem_show.php?pid=3009 顺序结构