看板 puzzle 關於我們 聯絡資訊
首頁: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
puzzlez:好煩哦= = 09/02 06:45
walkwall:ProgramUp +1 ,已經變成程式競賽了~ 09/02 08:10
EIORU:無限大 09/02 09:07
kohttp:每個位數皆不同 > 頂多10位數 09/02 09:29
lollygagger:我ManualUp了一下,目前最高可以十位數、8開頭... 09/02 12:46
lollygagger:進展到十位數、9開頭的 09/02 13:27
LPH66:程式找到的答案某方面來說意外的單純 XD 09/02 20:19
northkk:越來越酷了, 找時間來做.....此外, 幸好我叫北弟.... 09/02 22:03
northkk:版標的那個倒楣鬼是誰啊?? 09/02 22:03
puzzlez:你的「找時間來做」翻譯成白話文應是「永遠不會做」XDDDD 09/02 23:03
penguin7272:手爆了十位數9開頭的答案非常感動XD 09/03 00:23
meowth:9876543210 09/03 01:44
ars1an:真的能產生樓上的數字嗎?我的程式跑不出這個數字 09/03 03:13
LPH66:顯然在唬人XD 因為那數字推不出上一步 09/03 04:17
ars1an:XD 09/03 06:09
EIORU:不喜歡人腦無用的題目 09/03 10:04
ars1an:人腦是拿來寫程式的(?) 09/03 22:40