chore(i18n,learn): processed translations (#45165)

This commit is contained in:
camperbot
2022-02-19 12:56:08 +05:30
committed by GitHub
parent 8138a07d52
commit ba14990876
134 changed files with 1540 additions and 1511 deletions

View File

@ -1,6 +1,6 @@
---
id: 5a23c84252665b21eecc8042
title: Sum of squares
title: Somma di quadrati
challengeType: 5
forumTopicId: 302334
dashedName: sum-of-squares
@ -8,47 +8,47 @@ dashedName: sum-of-squares
# --description--
Write a function to find the sum of squares of an array of integers.
Scrivi una funzione per trovare la somma dei quadrati di un array di interi.
# --hints--
`sumsq` should be a function.
`sumsq` dovrebbe essere una funzione.
```js
assert(typeof sumsq == 'function');
```
`sumsq([1, 2, 3, 4, 5])` should return a number.
`sumsq([1, 2, 3, 4, 5])` dovrebbe restituire un numero.
```js
assert(typeof sumsq([1, 2, 3, 4, 5]) == 'number');
```
`sumsq([1, 2, 3, 4, 5])` should return `55`.
`sumsq([1, 2, 3, 4, 5])` dovrebbe restituire `55`.
```js
assert.equal(sumsq([1, 2, 3, 4, 5]), 55);
```
`sumsq([25, 32, 12, 7, 20])` should return `2242`.
`sumsq([25, 32, 12, 7, 20])` dovrebbe restituire `2242`.
```js
assert.equal(sumsq([25, 32, 12, 7, 20]), 2242);
```
`sumsq([38, 45, 35, 8, 13])` should return `4927`.
`sumsq([38, 45, 35, 8, 13])` dovrebbe restituire `4927`.
```js
assert.equal(sumsq([38, 45, 35, 8, 13]), 4927);
```
`sumsq([43, 36, 20, 34, 24])` should return `5277`.
`sumsq([43, 36, 20, 34, 24])` dovrebbe restituire `5277`.
```js
assert.equal(sumsq([43, 36, 20, 34, 24]), 5277);
```
`sumsq([12, 33, 26, 18, 1, 16, 3])` should return `2499`.
`sumsq([12, 33, 26, 18, 1, 16, 3])` dovrebbe restituire `2499`.
```js
assert.equal(sumsq([12, 33, 26, 18, 1, 16, 3]), 2499);