2018-10-10 18:03:03 -04:00
|
|
|
|
---
|
|
|
|
|
id: 5900f4aa1000cf542c50ffbc
|
2020-12-16 00:37:30 -07:00
|
|
|
|
title: 问题317:鞭炮
|
2018-10-10 18:03:03 -04:00
|
|
|
|
challengeType: 5
|
|
|
|
|
videoUrl: ''
|
2021-01-13 03:31:00 +01:00
|
|
|
|
dashedName: problem-317-firecracker
|
2018-10-10 18:03:03 -04:00
|
|
|
|
---
|
|
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
|
# --description--
|
2020-02-18 01:40:55 +09:00
|
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
|
爆竹在离地面100 m的高度处爆炸。 它分为许多非常小的碎片,它们向各个方向移动。 它们都具有相同的初始速度20 m / s。
|
2020-02-18 01:40:55 +09:00
|
|
|
|
|
|
|
|
|
我们假设碎片在没有空气阻力的情况下在g = 9.81 m / s2的均匀重力场中运动。
|
|
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
|
找到碎片到达地面之前通过的区域的体积(单位:m3)。 将答案四舍五入到小数点后四位。
|
2020-02-18 01:40:55 +09:00
|
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
|
# --hints--
|
2018-10-10 18:03:03 -04:00
|
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
|
`euler317()`应该返回1856532.8455。
|
2018-10-10 18:03:03 -04:00
|
|
|
|
|
|
|
|
|
```js
|
2020-12-16 00:37:30 -07:00
|
|
|
|
assert.strictEqual(euler317(), 1856532.8455);
|
2018-10-10 18:03:03 -04:00
|
|
|
|
```
|
|
|
|
|
|
2021-01-13 03:31:00 +01:00
|
|
|
|
# --seed--
|
|
|
|
|
|
|
|
|
|
## --seed-contents--
|
|
|
|
|
|
|
|
|
|
```js
|
|
|
|
|
function euler317() {
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
euler317();
|
|
|
|
|
```
|
|
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
|
# --solutions--
|
2020-08-13 17:24:35 +02:00
|
|
|
|
|
2021-01-13 03:31:00 +01:00
|
|
|
|
```js
|
|
|
|
|
// solution required
|
|
|
|
|
```
|