看板 puzzle 關於我們 聯絡資訊
題目網址: 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"重複了第二次。 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 60.251.148.94 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/puzzle/M.1668658213.A.584.html
ACGfans: 備註又加了一些東西 我反而看不懂了 寫說 xxxyxxx 滿足? 11/17 22:04
goodword: 我也看不懂,就現在的例子,還是無法判斷以下情況可不 11/17 23:24
goodword: 可以:xyxyx, xyyxyy 11/17 23:24
ACGfans: 啊我看懂了 兩個重複的部分 如果中間有格開是ok的 11/17 23:39
ACGfans: 樓上的兩個例子都沒有隔開 所以應該都不符合條件 11/17 23:43
buffalobill: 竟然……那我也誤解整個題意了 11/18 09:37
wxtab019: 所以不是不能重複出現連續的三位數字 11/19 11:52
wxtab019: 是不能連續出現重複的連續三位數字 11/19 11:52
wxtab019: 三位以上 11/19 11:53