[中譯] Puzzleup 2022 (5) ONE AND TWO

看板puzzle (益智遊戲 - 數獨,拼圖,推理,西洋棋)作者 (水牛比爾)時間1年前 (2022/11/17 12:10), 編輯推噓3(306)
留言9則, 4人參與, 1年前最新討論串1/1
題目網址: 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

11/17 22:04, 1年前 , 1F
備註又加了一些東西 我反而看不懂了 寫說 xxxyxxx 滿足?
11/17 22:04, 1F

11/17 23:24, 1年前 , 2F
我也看不懂,就現在的例子,還是無法判斷以下情況可不
11/17 23:24, 2F

11/17 23:24, 1年前 , 3F
可以:xyxyx, xyyxyy
11/17 23:24, 3F

11/17 23:39, 1年前 , 4F
啊我看懂了 兩個重複的部分 如果中間有格開是ok的
11/17 23:39, 4F

11/17 23:43, 1年前 , 5F
樓上的兩個例子都沒有隔開 所以應該都不符合條件
11/17 23:43, 5F

11/18 09:37, 1年前 , 6F
竟然……那我也誤解整個題意了
11/18 09:37, 6F

11/19 11:52, 1年前 , 7F
所以不是不能重複出現連續的三位數字
11/19 11:52, 7F

11/19 11:52, 1年前 , 8F
是不能連續出現重複的連續三位數字
11/19 11:52, 8F

11/19 11:53, 1年前 , 9F
三位以上
11/19 11:53, 9F
文章代碼(AID): #1ZTRGbM4 (puzzle)
文章代碼(AID): #1ZTRGbM4 (puzzle)