Feat: add new Markdown parser (#39800)
and change all the challenges to new `md` format.
This commit is contained in:
committed by
GitHub
parent
a07f84c8ec
commit
0bd52f8bd1
@ -1,43 +1,29 @@
|
||||
---
|
||||
id: 5900f4aa1000cf542c50ffbc
|
||||
challengeType: 5
|
||||
title: 'Problem 317: Firecracker'
|
||||
challengeType: 5
|
||||
forumTopicId: 301973
|
||||
---
|
||||
|
||||
## Description
|
||||
<section id='description'>
|
||||
A firecracker explodes at a height of 100 m above level ground. It breaks into a large number of very small fragments, which move in every direction; all of them have the same initial velocity of 20 m/s.
|
||||
# --description--
|
||||
|
||||
A firecracker explodes at a height of 100 m above level ground. It breaks into a large number of very small fragments, which move in every direction; all of them have the same initial velocity of 20 m/s.
|
||||
|
||||
We assume that the fragments move without air resistance, in a uniform gravitational field with g=9.81 m/s2.
|
||||
|
||||
Find the volume (in m3) of the region through which the fragments move before reaching the ground. Give your answer rounded to four decimal places.
|
||||
|
||||
Find the volume (in m3) of the region through which the fragments move before reaching the ground.
|
||||
Give your answer rounded to four decimal places.
|
||||
</section>
|
||||
# --hints--
|
||||
|
||||
## Instructions
|
||||
<section id='instructions'>
|
||||
|
||||
</section>
|
||||
|
||||
## Tests
|
||||
<section id='tests'>
|
||||
|
||||
```yml
|
||||
tests:
|
||||
- text: <code>euler317()</code> should return 1856532.8455.
|
||||
testString: assert.strictEqual(euler317(), 1856532.8455);
|
||||
`euler317()` should return 1856532.8455.
|
||||
|
||||
```js
|
||||
assert.strictEqual(euler317(), 1856532.8455);
|
||||
```
|
||||
|
||||
</section>
|
||||
# --seed--
|
||||
|
||||
## Challenge Seed
|
||||
<section id='challengeSeed'>
|
||||
|
||||
<div id='js-seed'>
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
function euler317() {
|
||||
@ -48,17 +34,8 @@ function euler317() {
|
||||
euler317();
|
||||
```
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
## Solution
|
||||
<section id='solution'>
|
||||
# --solutions--
|
||||
|
||||
```js
|
||||
// solution required
|
||||
```
|
||||
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user