chore(i8n,learn): processed translations

This commit is contained in:
Crowdin Bot
2021-02-06 04:42:36 +00:00
committed by Mrugesh Mohapatra
parent 15047f2d90
commit e5c44a3ae5
3274 changed files with 172122 additions and 14164 deletions

View File

@ -1,24 +1,24 @@
---
id: 5900f4a11000cf542c50ffb4
title: 问题309整数阶梯
title: 'Problem 309: Integer Ladders'
challengeType: 5
videoUrl: ''
forumTopicId: 301963
dashedName: problem-309-integer-ladders
---
# --description--
在经典的“穿越梯子”问题中我们得到了两个梯子的长度x和y它们位于一条狭窄的水平街道的相对壁上。 我们还给出了两个梯子交叉的街道上方的高度h并要求我们找到街道的宽度w
In the classic "Crossing Ladders" problem, we are given the lengths x and y of two ladders resting on the opposite walls of a narrow, level street. We are also given the height h above the street where the two ladders cross and we are asked to find the width of the street (w).
在这里,我们仅关注所有四个变量均为正整数的实例。 例如,如果x = 70y = 119h = 30,我们可以计算出w = 56
Here, we are only concerned with instances where all four variables are positive integers. For example, if x = 70, y = 119 and h = 30, we can calculate that w = 56.
实际上对于xyh和0 <x <y <200的整数只有五个三元组xyh产生w的整数解 70、119、3074、182、2187、105、35100116、35119175、40
In fact, for integer values x, y, h and 0 < x < y < 200, there are only five triplets (x,y,h) producing integer solutions for w: (70, 119, 30), (74, 182, 21), (87, 105, 35), (100, 116, 35) and (119, 175, 40).
对于整数值xyh和0 <x <y <1 000 000有多少个三元组xyh产生w的整数解
For integer values x, y, h and 0 < x < y < 1 000 000, how many triplets (x,y,h) produce integer solutions for w?
# --hints--
`euler309()`应该返回210139
`euler309()` should return 210139.
```js
assert.strictEqual(euler309(), 210139);