chore(i18n,curriculum): update translations (#43140)

This commit is contained in:
camperbot
2021-08-09 17:35:35 +09:00
committed by GitHub
parent dd5d2919be
commit 919728131e
64 changed files with 852 additions and 844 deletions

View File

@ -1,6 +1,6 @@
---
id: 597f1e7fbc206f0e9ba95dc4
title: Factors of an integer
title: Fatores de um inteiro
challengeType: 5
forumTopicId: 302265
dashedName: factors-of-an-integer
@ -8,31 +8,31 @@ dashedName: factors-of-an-integer
# --description--
Write a function that returns the factors of a positive integer as an array.
Escreva uma função que retorne os fatores de um inteiro positivo como um array.
These factors are the positive integers by which the number being factored can be divided to yield a positive integer result.
Estes fatores são os inteiros positivos através dos quais o número que está sendo fatorado pode ser dividido para produzir um resultado inteiro e positivo.
# --hints--
`factors` should be a function.
`factors` deve ser uma função.
```js
assert(typeof factors === 'function');
```
`factors(45)` should return `[1,3,5,9,15,45]`.
`factors(45)` deve retornar `[1,3,5,9,15,45]`.
```js
assert.deepEqual(factors(45), ans[0]);
```
`factors(53)` should return `[1,53]`.
`factors(53)` deve retornar `[1,53]`.
```js
assert.deepEqual(factors(53), ans[1]);
```
`factors(64)` should return `[1,2,4,8,16,32,64]`.
`factors(64)` deve retornar `[1,2,4,8,16,32,64]`.
```js
assert.deepEqual(factors(64), ans[2]);