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,37 @@
---
id: 594db4d0dedb4c06a2a4cefd
title: 巴贝奇问题
title: Babbage problem
challengeType: 5
videoUrl: ''
forumTopicId: 302229
dashedName: babbage-problem
---
# --description--
<p> <a href='https://en.wikipedia.org/wiki/Charles_Babbage' title='wpCharles_Babbage'>Charles Babbage</a> ,展望他的分析引擎能解决的各种问题,给出了这个例子: </p><blockquote>什么是正方形以数字269,696结尾的最小正整数 </blockquote><p> - 巴贝奇致鲍登勋爵的信1837年;见Hollingdale和Tootill <i>电子计算机</i> 第二版1970年p。 125。 </p><p>他认为答案可能是99,736其平方是9,947,269,696;但他无法确定。 </p><p>任务是找出巴贝奇是否有正确的答案。 </p><p>实现一个函数来返回满足Babbage问题的最小整数。如果巴贝奇是对的返回巴贝奇的号码。 </p>
[Charles Babbage](https://en.wikipedia.org/wiki/Charles_Babbage "wp: Charles_Babbage"), looking ahead to the sorts of problems his Analytical Engine would be able to solve, gave this example:
<blockquote>
What is the smallest positive integer whose square ends in the digits 269,696?
<footer style='margin-left: 2em;'>Babbage, letter to Lord Bowden, 1837; see Hollingdale and Tootill, <i>Electronic Computers</i>, second edition, 1970, p. 125.</footer>
</blockquote>
He thought the answer might be 99,736, whose square is 9,947,269,696; but he couldn't be certain.
The task is to find out if Babbage had the right answer.
# --instructions--
Implement a function to return the lowest integer that satisfies the Babbage problem. If Babbage was right, return Babbage's number.
# --hints--
`babbage`是一种功能。
`babbage` should be a function.
```js
assert(typeof babbage === 'function');
```
`babbage(99736, 269696)`不应该返回99736答案较小
`babbage(99736, 269696)` should not return 99736 (there is a smaller answer).
```js
assert.equal(babbage(babbageAns, endDigits), answer);