[中譯] Puzzleup 2011 (16) Ordered Codes

看板puzzle (益智遊戲 - 數獨,拼圖,推理,西洋棋)作者 (-858993460)時間14年前 (2011/11/09 22:44), 編輯推噓2(201)
留言3則, 1人參與, 最新討論串1/1
題目網址: www.puzzleup.com/2011/puzzle/?234 加分時限: 11/10 7PM - 11/15 7PM 答對可得基本分100分。答案可上傳5次,每改1次答案從基本分扣20分。  比賽期間內可隨時上傳答案,加分時限內答對第n天加(6-n)分        另依題目的難易有額外加分(如有80%的人這題答錯,答對者加80分)   ◆Ordered Codes You will generate codes using the 26 letters of the English alphabet. There is a single condition: The sum of the alphabetical order value of the letters (A=1, B=2, C=3, …, Z=26) used in a code can at most be 26. Then the codes generated on this condition are ordered alphabetically. What is the code in the middle of the sequence? If the same question was asked for a maximum total value of 3, instead of 26; the answer would be AB. (A, AA, AAA, AB, B, BA, C). 你要以 26 個英文字母產生字串。唯一的條件是:將這些字串以數字表示後 (A=1, B=2, C=3, …, Z=26) 相加的和至多是 26。將產生的字串以字典順序排序。 問正中間的那個字串是什麼? 如果題目把和至多為 26 改成至多為 3,則答案為 AB。 (產生的字串依序為 A, AA, AAA, AB, B, BA, C) -- 是個排列組合題...才怪, 又是個說破不值三兩銀的題目XD 不過我喜歡這題 -- 1985/01/12 三嶋鳴海 1989/02/22 優希堂悟 1990/02/22 冬川こころ 1993/07/05 小町 つぐみ 歡迎來到 1994/05/21 高江ミュウ 1997/03/24 守野いづみ 1997/03/24 伊野瀬 チサト 1998/06/18 守野くるみ 打越鋼太郎的 1999/10/19 楠田ゆに 2000/02/15 樋口遙 2002/12/17 八神ココ 2011/01/11 HAL18於朱倉岳墜機 ∞與∫的世界 2011/04/02 茜崎空 啟動 2012/05/21 第貮日蝕計畫預定 2017/05/01~07 LeMU崩壞 2019/04/01~07 某大學合宿 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.28.91 ※ 編輯: LPH66 來自: 140.112.28.91 (11/10 01:24)

11/10 17:50, , 1F
高中上排列組合時好像做過類似題XD
11/10 17:50, 1F

11/10 19:05, , 2F
個數是S(n)=2*S(n-1)+1 n=26時正中間為****
11/10 19:05, 2F

11/10 19:12, , 3F
更正一下 是****
11/10 19:12, 3F
馬賽克一下好了....雖然要看的大概都看光了 (爆) ※ 編輯: LPH66 來自: 140.112.28.91 (11/11 07:07)
文章代碼(AID): #1Ekf7LIT (puzzle)
文章代碼(AID): #1Ekf7LIT (puzzle)