* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
785 B
785 B
id, title, challengeType, videoUrl, dashedName
id | title | challengeType | videoUrl | dashedName |
---|---|---|---|---|
5900f4931000cf542c50ffa5 | 问题294:数字总和-经验#23 | 5 | problem-294-sum-of-digits---experience-23 |
--description--
对于正整数k,将d(k)定义为通常的十进制表示形式中k的位数之和。
因此d(42)= 4 + 2 = 6。
对于正整数n,将S(n)定义为具有以下属性的正整数k <10n的数量: k可被23整除 d(k)= 23。
给出S(9)= 263626和S(42)= 6377168878570056。
找到S(1112)并给出答案mod 109。
--hints--
euler294()
应该返回789184709。
assert.strictEqual(euler294(), 789184709);
--seed--
--seed-contents--
function euler294() {
return true;
}
euler294();
--solutions--
// solution required