✔ 最佳答案
? can be 0 or 1 :
???1000001 , 2³ strings.
??1000001? , 2³ strings.
? 1000001?? , 2³ strings.
1000001??? , 2³ strings.
??? 0111110 , 2³ strings.
?? 0111110 ? , 2³ strings.
? 0111110 ?? , 2³ strings.
0111110 ??? , 2³ strings.
000001 ???? (not include 0000011111) , 2⁴- 1 strings.
???? 100000 (not include 1111100000) , 2⁴- 1 strings.
111110 ???? (not include 1111100000) , 2⁴- 1 strings.
???? 011111 (not include 0000011111) , 2⁴- 1 strings.
0000011111 and 1111100000 , 2 strings.
Total 8 * 2³ + 4(2⁴- 1) + 2 = 126 strings.