Puzzleup 2022 (5) ONE AND TWO - 拼圖

Table of Contents


題目網址: https://www.puzzleup.com/2022/
https://www.puzzleup.com/2022/puzzle/?5
答題時限: 11月17日7PM-比賽結束(約12月29日)
加分時限: 11月17日7PM-11月22日6:59PM

答對可得基本分100分。答案可上傳5次,每改1次答案從基本分扣20分。 
比賽期間內可隨時上傳答案,加分時限內答對第n天加(6-n)分       
另依題目的難易有額外加分(如有80%的人這題答錯,答對者加80分)  

◆ONE AND TWO

You will generate a number using only the digits 1 and 2. Our condition
is that no sequence of 3 or more digits consecutively repeats two times.
How many digits is the largest number satisfying this condition?

Note: The sequence "xxxx" cannot be included in the number because "xxx"
repeats twice.

只用數字1跟2,組出一個數字。條件是不得重複出現相同的連續三位以上數字組合。
問滿足此條件的最大數字有幾位數?

註:如"xxxx"不滿足條件,因為"xxx"重複了第二次。

--

All Comments

Christine avatarChristine2022-11-21
備註又加了一些東西 我反而看不懂了 寫說 xxxyxxx 滿足?
Bethany avatarBethany2022-11-26
我也看不懂,就現在的例子,還是無法判斷以下情況可不
可以:xyxyx, xyyxyy
Andy avatarAndy2022-11-30
啊我看懂了 兩個重複的部分 如果中間有格開是ok的
Vanessa avatarVanessa2022-12-04
樓上的兩個例子都沒有隔開 所以應該都不符合條件
Oliver avatarOliver2022-12-09
竟然……那我也誤解整個題意了
Susan avatarSusan2022-12-13
所以不是不能重複出現連續的三位數字
是不能連續出現重複的連續三位數字
Elma avatarElma2022-12-17
三位以上