Skip to content

Commit d62fec4

Browse files
authored
chore(i18n,learn): processed translations (freeCodeCamp#45299)
1 parent c6ec251 commit d62fec4

File tree

61 files changed

+752
-606
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+752
-606
lines changed

curriculum/challenges/italian/10-coding-interview-prep/algorithms/implement-binary-search.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ assert.deepEqual(binarySearch(_testArray, 11), [13, 5, 10, 11])
8080
assert.deepEqual(binarySearch(_testArray, 13), [13]);
8181
```
8282

83+
`binarySearch(testArray, 70)` dovrebbe restituire `[13, 19, 22, 49, 70]`.
84+
85+
```js
86+
assert.deepEqual(binarySearch(_testArray, 70), [13, 19, 22, 49, 70]);
87+
```
8388

8489
# --seed--
8590

curriculum/challenges/italian/10-coding-interview-prep/project-euler/problem-184-triangles-containing-the-origin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Quanti triangoli contengono l'origine all'interno e hanno tutti e tre i vertici
2323
`trianglesContainingOrigin()` dovrebbe restituire `1725323624056`.
2424

2525
```js
26-
assert.strictEqual(trianglesConttainingOrigin(), 1725323624056);
26+
assert.strictEqual(trianglesContainingOrigin(), 1725323624056);
2727
```
2828

2929
# --seed--

curriculum/challenges/italian/10-coding-interview-prep/project-euler/problem-246-tangents-to-an-ellipse.md

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,54 @@
11
---
22
id: 5900f4621000cf542c50ff75
3-
title: 'Problem 246: Tangents to an ellipse'
3+
title: 'Problema 246: Tangenti a un ellisse'
44
challengeType: 5
55
forumTopicId: 301893
66
dashedName: problem-246-tangents-to-an-ellipse
77
---
88

99
# --description--
1010

11-
A definition for an ellipse is:
11+
Una definizione di un'ellisse è:
1212

13-
Given a circle c with centre M and radius r and a point G such that d(G,M)
13+
Dato un cerchio $c$ con centro $M$ e raggio $r$ e un punto $G$ affinché $d(G, m) < r$, il luogo dei punti che sono equidistanti da $c$ e $G$ forma una ellisse.
1414

15-
The construction of the points of the ellipse is shown below.
15+
La costruzione dei punti dell'ellisse è mostrato qua sotto.
1616

17-
Given are the points M(-2000,1500) and G(8000,1500). Given is also the circle c with centre M and radius 15000. The locus of the points that are equidistant from G and c form an ellipse e. From a point P outside e the two tangents t1 and t2 to the ellipse are drawn. Let the points where t1 and t2 touch the ellipse be R and S.
17+
<img class="img-responsive center-block" alt="animazione della costruzione di un'ellisse" src="https://cdn.freecodecamp.org/curriculum/project-euler/tangents-to-an-ellipse-1.gif" style="background-color: white; padding: 10px;" />
1818

19-
For how many lattice points P is angle RPS greater than 45 degrees?
19+
Dati i punti $M(-2000, 1500)$ e $G(800, 1500)$.
20+
21+
Dato il cerchio $c$ con centro $M$ e raggio $15\\,000$.
22+
23+
Il luogo dei punti che sono equidistanti da $G$ e $c$ formano un'ellisse $e$.
24+
25+
Da un punto $P$ al di fuori di $e$ le due tangenti $$t_1$ e $t_2$ all'ellisse sono disegnate.
26+
27+
Siano $R$ e $S$ i punti dove $t_1$ e $t_2$ toccano sull'ellisse.
28+
29+
<img class="img-responsive center-block" alt="cerchio c con centro M, raggio 15000 e punto P al di fuori dell'ellisse e; dal punto P due tangenti t_1 e t_2 sono disegnate all'ellisse, con i punti che toccano l'ellisse R e S" src="https://cdn.freecodecamp.org/curriculum/project-euler/tangents-to-an-ellipse-2.gif" style="background-color: white; padding: 10px;" />
30+
31+
Per quanti punti $P$ del reticolo l'angolo $RPS$ è maggiore di 45°?
2032

2133
# --hints--
2234

23-
`euler246()` should return 810834388.
35+
`tangentsToAnEllipse()` dovrebbe restituire `810834388`.
2436

2537
```js
26-
assert.strictEqual(euler246(), 810834388);
38+
assert.strictEqual(tangentsToAnEllipse(), 810834388);
2739
```
2840

2941
# --seed--
3042

3143
## --seed-contents--
3244

3345
```js
34-
function euler246() {
46+
function tangentsToAnEllipse() {
3547

3648
return true;
3749
}
3850

39-
euler246();
51+
tangentsToAnEllipse();
4052
```
4153

4254
# --solutions--

curriculum/challenges/italian/10-coding-interview-prep/project-euler/problem-274-divisibility-multipliers.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,48 @@
11
---
22
id: 5900f47f1000cf542c50ff91
3-
title: 'Problem 274: Divisibility Multipliers'
3+
title: 'Problema 274: Moltiplicatori di divisibilità'
44
challengeType: 5
55
forumTopicId: 301924
66
dashedName: problem-274-divisibility-multipliers
77
---
88

99
# --description--
1010

11-
For each integer p > 1 coprime to 10 there is a positive divisibility multiplier m &lt; p which preserves divisibility by p for the following function on any positive integer, n:
11+
Per ogni intero $p > 1$ coprimo a 10 c'è un moltiplicatore di divisibilità positivo $m &lt; p$ che preserva la divisibilità per $p$ per la seguente funzione su qualsiasi intero positivo, $n$:
1212

13-
f(n) = (all but the last digit of n) + (the last digit of n) \* m
13+
$f(n) = (\text{all but the last digit of} \\; n) + (\text{the last digit of} \\; n) \times m$
1414

15-
That is, if m is the divisibility multiplier for p, then f(n) is divisible by p if and only if n is divisible by p.
15+
Cioè, se $m$ è il moltiplicatore di divisibilità per $p$, poi $f(n)$ è divisibile per $p$ se e solo se $n$ è divisibile per $p$.
1616

17-
(When n is much larger than p, f(n) will be less than n and repeated application of f provides a multiplicative divisibility test for p.)
17+
(Quando $n$ è molto più grande di $p$, $f(n)$ sarà inferiore a $n$ e l'applicazione ripetuta di $f$ fornisce un test di divisibilità moltiplicativa per $p$.)
1818

19-
For example, the divisibility multiplier for 113 is 34.
19+
Ad esempio, il moltiplicatore di divisibilità per 113 è 34.
2020

21-
f(76275) = 7627 + 5 *34 = 7797 : 76275 and 7797 are both divisible by 113f(12345) = 1234 + 5* 34 = 1404 : 12345 and 1404 are both not divisible by 113
21+
$f(76275) = 7627 + 5 \times 34 = 7797$: 76275 e 7797 sono entrambi divisibili per 113
2222

23-
The sum of the divisibility multipliers for the primes that are coprime to 10 and less than 1000 is 39517. What is the sum of the divisibility multipliers for the primes that are coprime to 10 and less than 107?
23+
$f(12345) = 1234 + 5 \times 34 = 1404$: 12345 e 1404 non sono entrambi divisibili per 113
24+
25+
La somma dei moltiplicatori di divisibilità per i primi che sono coprimi a 10 e minori di 1000 è 39517. Qual è la somma dei moltiplicatori di divisibilità per i primi che sono coprimi a 10 e minori di ${10}^7$?
2426

2527
# --hints--
2628

27-
`euler274()` should return 1601912348822.
29+
`divisibilityMultipliers()` dovrebbe restituire `1601912348822`.
2830

2931
```js
30-
assert.strictEqual(euler274(), 1601912348822);
32+
assert.strictEqual(divisibilityMultipliers(), 1601912348822);
3133
```
3234

3335
# --seed--
3436

3537
## --seed-contents--
3638

3739
```js
38-
function euler274() {
40+
function divisibilityMultipliers() {
3941

4042
return true;
4143
}
4244

43-
euler274();
45+
divisibilityMultipliers();
4446
```
4547

4648
# --solutions--

curriculum/challenges/italian/10-coding-interview-prep/project-euler/problem-275-balanced-sculptures.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,47 @@
11
---
22
id: 5900f4801000cf542c50ff92
3-
title: 'Problem 275: Balanced Sculptures'
3+
title: 'Problema 275: Sculture Bilanciate'
44
challengeType: 5
55
forumTopicId: 301925
66
dashedName: problem-275-balanced-sculptures
77
---
88

99
# --description--
1010

11-
Let us define a balanced sculpture of order n as follows:
11+
Definiamo una scultura bilanciata di ordine $n$ come segue:
1212

13-
A polyomino made up of n+1 tiles known as the blocks (n tiles) and the plinth (remaining tile);
13+
- Un poliomino fatto di $n + 1$ mattonelle noti come i blocchi ($n$ mattonelle) e il plinto (la mattonella rimanente);
14+
- il plinto ha il suo centro in posizione ($x = 0$, $y = 0$);
15+
- i blocchi hanno coordinate $y$ maggiori di zero (quindi il plinto è l'unica piastrella più in basso);
16+
- il centro di massa di tutti i blocchi, combinati, ha una coordinata di $x$ pari a zero.
1417

15-
the plinth has its centre at position (x = 0, y = 0);
18+
Quando si contano le strutture, qualsiasi arrangiamento che è una semplice riflessione lungo l'asse $y$, <u>non</u> viene contato come distinto. Per esempio, le 18 sculture bilanciate di ordine 6 sono mostrate di seguito; nota che ogni coppia d'immagini specchiate (intorno all'asse $y$) è contata come una sola scultura:
1619

17-
the blocks have y-coordinates greater than zero (so the plinth is the unique lowest tile);
20+
<img class="img-responsive center-block" alt="18 sculture bilanciate di ordine 6" src="https://cdn.freecodecamp.org/curriculum/project-euler/balanced-sculptures.gif" style="background-color: white; padding: 10px;" />
1821

19-
the centre of mass of all the blocks, combined, has x-coordinate equal to zero.
22+
Ci sono 964 sculture bilanciate di ordine 10 e 360505 di ordine 15.
2023

21-
When counting the sculptures, any arrangements which are simply reflections about the y-axis, are not counted as distinct. For example, the 18 balanced sculptures of order 6 are shown below; note that each pair of mirror images (about the y-axis) is counted as one sculpture:
22-
23-
There are 964 balanced sculptures of order 10 and 360505 of order 15.How many balanced sculptures are there of order 18?
24+
Quante sculture bilanciate di ordine 18 ci sono?
2425

2526
# --hints--
2627

27-
`euler275()` should return 15030564.
28+
`balancedSculptures()` dovrebbe restituire `15030564`.
2829

2930
```js
30-
assert.strictEqual(euler275(), 15030564);
31+
assert.strictEqual(balancedSculptures(), 15030564);
3132
```
3233

3334
# --seed--
3435

3536
## --seed-contents--
3637

3738
```js
38-
function euler275() {
39+
function balancedSculptures() {
3940

4041
return true;
4142
}
4243

43-
euler275();
44+
balancedSculptures();
4445
```
4546

4647
# --solutions--

curriculum/challenges/italian/10-coding-interview-prep/project-euler/problem-276-primitive-triangles.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
---
22
id: 5900f4801000cf542c50ff93
3-
title: 'Problem 276: Primitive Triangles'
3+
title: 'Problema 276: Triangoli Primitivi'
44
challengeType: 5
55
forumTopicId: 301926
66
dashedName: problem-276-primitive-triangles
77
---
88

99
# --description--
1010

11-
Consider the triangles with integer sides a, b and c with a ≤ b ≤ c.
11+
Considera i triangoli con lati interi $a$, $b$ e $c$ con $a ≤ b ≤ c$.
1212

13-
An integer sided triangle (a,b,c) is called primitive if gcd(a,b,c)=1.
13+
Un lato intero del triangolo $(a,b,c)$ è chiamato primitivo se $gcd(a,b,c) = 1$.
1414

15-
How many primitive integer sided triangles exist with a perimeter not exceeding 10 000 000?
15+
Quanti triangoli di lato intero primitivi esistono con un perimetro non superiore a $10\\,000\\,000$?
1616

1717
# --hints--
1818

19-
`euler276()` should return 5777137137739633000.
19+
`primitiveTriangles()` dovrebbe restituire `5777137137739633000`.
2020

2121
```js
22-
assert.strictEqual(euler276(), 5777137137739633000);
22+
assert.strictEqual(primitiveTriangles(), 5777137137739633000);
2323
```
2424

2525
# --seed--
2626

2727
## --seed-contents--
2828

2929
```js
30-
function euler276() {
30+
function primitiveTriangles() {
3131

3232
return true;
3333
}
3434

35-
euler276();
35+
primitiveTriangles();
3636
```
3737

3838
# --solutions--

curriculum/challenges/italian/10-coding-interview-prep/project-euler/problem-277-a-modified-collatz-sequence.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,52 @@
11
---
22
id: 5900f4811000cf542c50ff94
3-
title: 'Problem 277: A Modified Collatz sequence'
3+
title: 'Problema 277: Una sequenza di Collatz modificata'
44
challengeType: 5
55
forumTopicId: 301927
66
dashedName: problem-277-a-modified-collatz-sequence
77
---
88

99
# --description--
1010

11-
A modified Collatz sequence of integers is obtained from a starting value a1 in the following way:
11+
Una sequenza di numeri interi modificata è ottenuta da un valore iniziale $a_1$ nel seguente modo:
1212

13-
an+1 = an/3 if an is divisible by 3. We shall denote this as a large downward step, "D".
13+
$a_{n + 1} = \frac{a_n}{3}$ se $a_n$ è divisibile per 3. Lo indicheremo come un passo grande verso il basso, "D".
1414

15-
an+1 = (4an + 2)/3 if an divided by 3 gives a remainder of 1. We shall denote this as an upward step, "U".
15+
$a_{n + 1} = \frac{4a_n + 2}{3}$ se $a_n$ diviso per 3 dà un resto di 1. Lo indicheremo come un passo verso l'alto, "U".
1616

17-
an+1 = (2an - 1)/3 if an divided by 3 gives a remainder of 2. We shall denote this as a small downward step, "d".
17+
$a_{n + 1} = \frac{2a_n - 1}{3}$ se $a_n$ diviso per 3 dà un resto di 2. Lo indicheremo come un piccolo passo verso il basso, "d".
1818

19-
The sequence terminates when some an = 1.
19+
La sequenza termina quando qualche $a_n = 1$.
2020

21-
Given any integer, we can list out the sequence of steps. For instance if a1=231, then the sequence {an}={231,77,51,17,11,7,10,14,9,3,1} corresponds to the steps "DdDddUUdDD".
21+
Dato qualsiasi numero intero, possiamo elencare la sequenza dei passaggi. Per esempio se $a_1 = 231$, allora la sequenza \\{a_n\\} = \\{231, 77, 51, 17, 11, 7, 10, 14, 9, 3, 1\\}$ corrisponde ai passi "DdDddUUdDD".
2222

23-
Of course, there are other sequences that begin with that same sequence "DdDddUUdDD....". For instance, if a1=1004064, then the sequence is DdDddUUdDDDdUDUUUdDdUUDDDUdDD. In fact, 1004064 is the smallest possible a1 > 106 that begins with the sequence DdDddUUdDD.
23+
Naturalmente, ci sono altre sequenze che iniziano con quella stessa sequenza "DdDddUUdDD...".
2424

25-
What is the smallest a1 > 1015 that begins with the sequence "UDDDUdddDDUDDddDdDddDDUDDdUUDd"?
25+
Per esempio, se $a_1 = 1004064$, allora la sequenza è DdDddUUdDDDdUDUUUdDdUUDDDUdDD.
26+
27+
Infatti, 1004064 è il più piccolo possibile $a_1 > {10}^6$ che inizia con la sequenza DdDddUUdDD.
28+
29+
Qual è il più piccolo $a_1 > {10}^{15}$ che inizia con la sequenza "UDDDUdddDDUDDddDdDddDDUDDdUUDd"?
2630

2731
# --hints--
2832

29-
`euler277()` should return 1125977393124310.
33+
`modifiedCollatzSequence()` dovrebbe restituire `1125977393124310`.
3034

3135
```js
32-
assert.strictEqual(euler277(), 1125977393124310);
36+
assert.strictEqual(modifiedCollatzSequence(), 1125977393124310);
3337
```
3438

3539
# --seed--
3640

3741
## --seed-contents--
3842

3943
```js
40-
function euler277() {
44+
function modifiedCollatzSequence() {
4145

4246
return true;
4347
}
4448

45-
euler277();
49+
modifiedCollatzSequence();
4650
```
4751

4852
# --solutions--

curriculum/challenges/italian/10-coding-interview-prep/project-euler/problem-278-linear-combinations-of-semiprimes.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
11
---
22
id: 5900f4831000cf542c50ff95
3-
title: 'Problem 278: Linear Combinations of Semiprimes'
3+
title: 'Problema 278: Combinazioni lineari di semiprimi'
44
challengeType: 5
55
forumTopicId: 301928
66
dashedName: problem-278-linear-combinations-of-semiprimes
77
---
88

99
# --description--
1010

11-
Given the values of integers 1 &lt; a1 &lt; a2 &lt;... &lt; an, consider the linear combination q1a1 + q2a2 + ... + qnan = b, using only integer values qk ≥ 0.
11+
Dati i valori di numeri interi $1 &lt; a_1 &lt; a_2 &lt; \ldots &lt; a_n$, considera la combinazione lineare $q_1a_1 + q_2a_2 + \ldots + q_na_n = b$, utilizzando solo valori interi $q_k ≥ 0$.
1212

13-
Note that for a given set of ak, it may be that not all values of b are possible. For instance, if a1 = 5 and a2 = 7, there are no q1 ≥ 0 and q2 ≥ 0 such that b could be 1, 2, 3, 4, 6, 8, 9, 11, 13, 16, 18 or 23.
13+
Nota che per un dato set di $a_k$ potrebbe essere che non tutti i valori di $b$ siano possibili. Per esempio, se $a_1 = 5$ e $a_2 = 7$, non ci sono $q_1 ≥ 0$ e $q_2 ≥ 0$ tali che $b$ possa essere 1, 2, 3, 4, 6, 8, 9, 11, 13, 16, 18 o 23.
1414

15-
In fact, 23 is the largest impossible value of b for a1 = 5 and a2 = 7. We therefore call f(5, 7) = 23. Similarly, it can be shown that f(6, 10, 15)=29 and f(14, 22, 77) = 195.
15+
Infatti 23 è il più grande valore impossibile di $b$ per $a_1 = 5$ e $a_2 = 7$. Chiamiamo quindi $f(5, 7) = 23$. Allo stesso modo, si può dimostrare che $f(6, 10, 15)=29$ e $f(14, 22, 77) = 195$.
1616

17-
Find ∑ f(p*q,p*r,q\*r), where p, q and r are prime numbers and p &lt; q &lt; r &lt; 5000.
17+
Trova $\sum f(pq,pr,qr)$, dove $p$, $q$ e $r$ sono numeri primi e $p &lt; q &lt; r &lt; 5000$.
1818

1919
# --hints--
2020

21-
`euler278()` should return 1228215747273908500.
21+
`linearCombinationOfSemiprimes()` dovrebbe restituire `1228215747273908500`.
2222

2323
```js
24-
assert.strictEqual(euler278(), 1228215747273908500);
24+
assert.strictEqual(linearCombinationOfSemiprimes(), 1228215747273908500);
2525
```
2626

2727
# --seed--
2828

2929
## --seed-contents--
3030

3131
```js
32-
function euler278() {
32+
function linearCombinationOfSemiprimes() {
3333

3434
return true;
3535
}
3636

37-
euler278();
37+
linearCombinationOfSemiprimes();
3838
```
3939

4040
# --solutions--

0 commit comments

Comments
 (0)