[中譯] PuzzleUp 2010 (8) Generating Numbers

看板puzzle (益智遊戲 - 數獨,拼圖,推理,西洋棋)作者 (小曹)時間15年前 (2010/09/02 01:44), 編輯推噓11(1106)
留言17則, 10人參與, 最新討論串1/1
首頁:http://www.puzzleup.com/2010/ 時限:2010/09/02(四)19:00~09/08(三)18:59 答案可上傳次,但每改1次扣20(基本分為100分) 在比賽期間內可隨時回答,但只有在時限內回答者有額外加分 ◆Generating Numbers Applying the steps below, you will generate a number, on the condition that every digit of a number produced in each step is different from its other digits. 1. Write down a number with one, two or three digits. 2. Delete at most three consecutive digits and in the places of the deleted digits place the square of the number formed by these digits. 3. For the number you get, repeat steps two and three. If you cannot get a number that satisfies the conditions, stop. What is the largest number that can be generated through this mechanism? Example: 307, 3(07), 349, 3(4)9, 3169, ... 依以下步驟產生一個數字,在每一步驟時該數字的每個位數(digit)都不相同。 1. 寫下一個個位數、兩位數、或三位數。 2. 從中取出一段連續位數(至多三位數),並替換成該數的平方後置入原來的位置。 3. 得到新數字後,重複步驟2與步驟3。如果你無法滿足(每個位數皆不同的)條件, 停止此程序。 藉由此機制,你能得到的最大數字是多少? 舉例: 307, 3(07), 349, 3(4)9, 3169, ... -- 又是ProgramUp XD -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 143.215.148.157

09/02 06:45, , 1F
好煩哦= =
09/02 06:45, 1F

09/02 08:10, , 2F
ProgramUp +1 ,已經變成程式競賽了~
09/02 08:10, 2F

09/02 09:07, , 3F
無限大
09/02 09:07, 3F

09/02 09:29, , 4F
每個位數皆不同 > 頂多10位數
09/02 09:29, 4F

09/02 12:46, , 5F
我ManualUp了一下,目前最高可以十位數、8開頭...
09/02 12:46, 5F

09/02 13:27, , 6F
進展到十位數、9開頭的
09/02 13:27, 6F

09/02 20:19, , 7F
程式找到的答案某方面來說意外的單純 XD
09/02 20:19, 7F

09/02 22:03, , 8F
越來越酷了, 找時間來做.....此外, 幸好我叫北弟....
09/02 22:03, 8F

09/02 22:03, , 9F
版標的那個倒楣鬼是誰啊??
09/02 22:03, 9F

09/02 23:03, , 10F
你的「找時間來做」翻譯成白話文應是「永遠不會做」XDDDD
09/02 23:03, 10F

09/03 00:23, , 11F
手爆了十位數9開頭的答案非常感動XD
09/03 00:23, 11F

09/03 01:44, , 12F
9876543210
09/03 01:44, 12F

09/03 03:13, , 13F
真的能產生樓上的數字嗎?我的程式跑不出這個數字
09/03 03:13, 13F

09/03 04:17, , 14F
顯然在唬人XD 因為那數字推不出上一步
09/03 04:17, 14F

09/03 06:09, , 15F
XD
09/03 06:09, 15F

09/03 10:04, , 16F
不喜歡人腦無用的題目
09/03 10:04, 16F

09/03 22:40, , 17F
人腦是拿來寫程式的(?)
09/03 22:40, 17F
文章代碼(AID): #1CVf4RYv (puzzle)
文章代碼(AID): #1CVf4RYv (puzzle)