Puzzleup 2018 (4) DIGIT SUMS - 拼圖

Table of Contents

題目網址: http://www.puzzleup.com/2018/
http://www.puzzleup.com/2018/puzzle/?4
答題時限: 8月22日7PM-比賽結束(約12月12日)
加分時限: 8月22日7PM-8月28日6:59PM

答對可得基本分100分。答案可上傳次,每改1次答案從基本分扣20分。
比賽期間內可隨時上傳答案,加分時限內答對第n天加(6-n)分      
另依題目的難易有額外加分(如有80%的人這題答錯,答對者加80分)  

◆DIGIT SUMS

When all numbers from 1 to X are written, the sum of the written digits is
ten times X. Find the positive integer X satisfying this condition.

Example: When numbers up to 18 are written, sum of the written digits is 90.

(1+2+3+4+5+6+7+8+9+ 1+0+ 1+1+ 1+2+ 1+3+ 1+4+ 1+5+ 1+6+ 1+7+ 1+8 =90)

將所有1至X的數字寫下,加總每個位數,其值為十倍的X。找出滿足上述條件的正整數X。

範例:寫到18的話,加總每個位數會得到90。


--

All Comments