* 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>
726 B
726 B
id, title, challengeType, videoUrl, dashedName
id | title | challengeType | videoUrl | dashedName |
---|---|---|---|---|
5900f4131000cf542c50ff25 | 问题166:克里斯十字架 | 5 | problem-166-criss-cross |
--description--
4x4网格填充数字d,0≤d≤9。
可以看出,在网格中
6 3 3 0 5 0 4 3 0 7 1 4 1 2 4 5
每行和每列的总和值为12.此外,每个对角线的总和也是12。
在多少种方法中,您可以使用数字d,0≤d≤9填充4x4网格,以便每行,每列和两个对角线具有相同的总和?
--hints--
euler166()
应返回7130034。
assert.strictEqual(euler166(), 7130034);
--seed--
--seed-contents--
function euler166() {
return true;
}
euler166();
--solutions--
// solution required