#SDNU1404. 01字串
01字串
Description
问题描述 对于长度为位的一个串,每一位都可能是或,一共有种可能。它们的前几个是: 请按从小到大的顺序输出这32种01串。
Format
Input
本题无输入
Output
输出行,按从小到大的顺序每行一个长度为的01串。
Samples
00000
00001
00010
00011
< 以下部分省略>
问题描述 对于长度为5位的一个01串,每一位都可能是0或1,一共有32种可能。它们的前几个是: 00000 00001 00010 00011 00100 请按从小到大的顺序输出这32种01串。
本题无输入
输出32行,按从小到大的顺序每行一个长度为5的01串。
00000
00001
00010
00011
< 以下部分省略>
By signing up a GENESIS universal account, you can submit code and join discussions in all online judging services provided by us.