看板 puzzle 關於我們 聯絡資訊
首頁:http://www.puzzleup.com/2010/ 時限:2010/08/26(四)19:00~09/01(三)18:59 答案可上傳次,但每改1次扣20(基本分為100分) 在比賽期間內可隨時回答,但只有在時限內回答者有額外加分 ◆Neighboring Digits We have a number. All the digits of this number are different from one another and all the digits except the first and the last have a greater value than the mean of its neighbors (ie. the digits immediately to the left and to the right). What can this number be at maximum? 這裡有一個數,它所有的數字都相異,而且除了首尾兩個數字外 都符合"本身大於左右兩邊的平均"這條規則。 問這個數字最大可能是多少? -- 解完了好唄 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.25.198 ※ 編輯: weeeeeeeeell 來自: 140.113.25.198 (08/25 19:15)
puzzlez:為什麼我覺得這題好像出過? 08/25 19:18
walkwall:我覺得很像 PuzzleUp 2009 (23)Neighborhood Value 那題 08/25 19:41
walkwall:阿就排列不是最簡單那鍋 不過當然又是程式題.... 08/25 19:43
walkwall:(寫程式中.....) 08/25 19:44
ars1an:跟PuzzleUp 2009 (7)Arithmetic Mean of the Neighbors一樣 08/25 20:24
ars1an:不對,只是類似,這次要求每個digit不同 08/25 20:25
ars1an:同意走牆大,這種complexity直接寫程式秒殺就好 XD 08/25 20:26
walkwall:(握手) 08/25 20:54
walkwall:0.0 寫完了 收工睡覺 08/25 21:49
LPH66:我剛剛才發現我去年的第七題做錯了.... 08/26 10:51
LPH66:....再次耍笨 加上那個條件去年第七題的答案還是那個... 08/26 10:56
LPH66:不過這題加上這個條件就不一樣了 0.0 08/26 10:57
walkwall:其實我也考慮過可不可能是"大於等於"左右平均 08/26 19:52
walkwall:不過當程式顯示出9876543210的時候我就知道我錯了 0.0 08/26 19:53
LPH66:噢不是 我的"那個條件"是自己耍笨加上去的限制 不是≧... 08/26 21:05