* 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>
1.1 KiB
1.1 KiB
id, title, challengeType, forumTopicId, dashedName
id | title | challengeType | forumTopicId | dashedName |
---|---|---|---|---|
5900f3c11000cf542c50fed4 | Problem 85: Counting rectangles | 5 | 302199 | problem-85-counting-rectangles |
--description--
By counting carefully it can be seen that a rectangular grid measuring 3 by 2 contains eighteen rectangles:

Although there exists no rectangular grid that contains exactly two million rectangles, find the area of the grid with the nearest solution.
--hints--
countingRectangles()
should return a number.
assert(typeof countingRectangles() === 'number');
countingRectangles()
should return 2772.
assert.strictEqual(countingRectangles(), 2772);
--seed--
--seed-contents--
function countingRectangles() {
return true;
}
countingRectangles();
--solutions--
// solution required