* 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>
43 lines
790 B
Markdown
43 lines
790 B
Markdown
---
|
||
id: 5900f4aa1000cf542c50ffbc
|
||
title: 问题317:鞭炮
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
dashedName: problem-317-firecracker
|
||
---
|
||
|
||
# --description--
|
||
|
||
爆竹在离地面100 m的高度处爆炸。 它分为许多非常小的碎片,它们向各个方向移动。 它们都具有相同的初始速度20 m / s。
|
||
|
||
我们假设碎片在没有空气阻力的情况下在g = 9.81 m / s2的均匀重力场中运动。
|
||
|
||
找到碎片到达地面之前通过的区域的体积(单位:m3)。 将答案四舍五入到小数点后四位。
|
||
|
||
# --hints--
|
||
|
||
`euler317()`应该返回1856532.8455。
|
||
|
||
```js
|
||
assert.strictEqual(euler317(), 1856532.8455);
|
||
```
|
||
|
||
# --seed--
|
||
|
||
## --seed-contents--
|
||
|
||
```js
|
||
function euler317() {
|
||
|
||
return true;
|
||
}
|
||
|
||
euler317();
|
||
```
|
||
|
||
# --solutions--
|
||
|
||
```js
|
||
// solution required
|
||
```
|