#LQ1049. t33 [中级组] 01 字串
t33 [中级组] 01 字串
题目描述
对于长度为 位的一个 串,每一位都可能是 或 ,一共有 种可能。它们的前几个是:
请按从小到大的顺序输出这 种01字串。
输入格式
无
输出格式
输出 行,按从小到大的顺序每行一个长度为 的 串。
Statistics
Related
In following contests:
对于长度为 5 位的一个 01 串,每一位都可能是 0 或 1,一共有 32 种可能。它们的前几个是: 00000 00001 00010 00011 00100
请按从小到大的顺序输出这 32种01字串。
无
输出 32 行,按从小到大的顺序每行一个长度为 5 的 01 串。
In following contests:
By signing up a 核OJ_核桃编程 universal account, you can submit code and join discussions in all online judging services provided by us.