[中譯] PuzzleUp 2010 (7) Neighboring Digits

看板puzzle作者 (等雨停)時間14年前 (2010/08/25 19:14), 編輯推噓8(807)
留言15則, 4人參與, 最新討論串1/1
首頁: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)

08/25 19:18, , 1F
為什麼我覺得這題好像出過?
08/25 19:18, 1F

08/25 19:41, , 2F
我覺得很像 PuzzleUp 2009 (23)Neighborhood Value 那題
08/25 19:41, 2F

08/25 19:43, , 3F
阿就排列不是最簡單那鍋 不過當然又是程式題....
08/25 19:43, 3F

08/25 19:44, , 4F
(寫程式中.....)
08/25 19:44, 4F

08/25 20:24, , 5F
跟PuzzleUp 2009 (7)Arithmetic Mean of the Neighbors一樣
08/25 20:24, 5F

08/25 20:25, , 6F
不對,只是類似,這次要求每個digit不同
08/25 20:25, 6F

08/25 20:26, , 7F
同意走牆大,這種complexity直接寫程式秒殺就好 XD
08/25 20:26, 7F

08/25 20:54, , 8F
(握手)
08/25 20:54, 8F

08/25 21:49, , 9F
0.0 寫完了 收工睡覺
08/25 21:49, 9F

08/26 10:51, , 10F
我剛剛才發現我去年的第七題做錯了....
08/26 10:51, 10F

08/26 10:56, , 11F
....再次耍笨 加上那個條件去年第七題的答案還是那個...
08/26 10:56, 11F

08/26 10:57, , 12F
不過這題加上這個條件就不一樣了 0.0
08/26 10:57, 12F

08/26 19:52, , 13F
其實我也考慮過可不可能是"大於等於"左右平均
08/26 19:52, 13F

08/26 19:53, , 14F
不過當程式顯示出9876543210的時候我就知道我錯了 0.0
08/26 19:53, 14F

08/26 21:05, , 15F
噢不是 我的"那個條件"是自己耍笨加上去的限制 不是≧...
08/26 21:05, 15F
文章代碼(AID): #1CTFijCX (puzzle)