Feat: add new Markdown parser (#39800)

and change all the challenges to new `md` format.
This commit is contained in:
Oliver Eyton-Williams
2020-11-27 19:02:05 +01:00
committed by GitHub
parent a07f84c8ec
commit 0bd52f8bd1
2580 changed files with 113436 additions and 111979 deletions

View File

@ -1,38 +1,27 @@
---
id: 5900f44b1000cf542c50ff5d
challengeType: 5
title: 'Problem 222: Sphere Packing'
challengeType: 5
forumTopicId: 301865
---
## Description
<section id='description'>
# --description--
What is the length of the shortest pipe, of internal radius 50mm, that can fully contain 21 balls of radii 30mm, 31mm, ..., 50mm?
Give your answer in micrometres (10-6 m) rounded to the nearest integer.
</section>
## Instructions
<section id='instructions'>
# --hints--
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler222()</code> should return 1590933.
testString: assert.strictEqual(euler222(), 1590933);
`euler222()` should return 1590933.
```js
assert.strictEqual(euler222(), 1590933);
```
</section>
# --seed--
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
## --seed-contents--
```js
function euler222() {
@ -43,17 +32,8 @@ function euler222() {
euler222();
```
</div>
</section>
## Solution
<section id='solution'>
# --solutions--
```js
// solution required
```
</section>