chore(curriculum): remove after-user-code euler problem 79 (#57140)

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
This commit is contained in:
Anna 2024-11-18 12:59:55 -05:00 committed by GitHub
parent d23452bf70
commit 5aa86122c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,43 +19,41 @@ Given that the three characters are always asked for in order, analyze the array
`passcodeDerivation(keylog1)` should return a number.
```js
assert(typeof passcodeDerivation(_keylog1) === 'number');
const _keylog1 = [
127,327,178,528,537,538,532,328,127,178,537,127,317,328,512,278,328,327,178,327,578,317,527,178,128,328,517,312,531,128,128,317,527,312,328,532,512,518,317,127,537,528,537,527,327,278,532,128,318,517
];
assert.isNumber(passcodeDerivation(_keylog1));
```
`passcodeDerivation(keylog1)` should return `531278`.
```js
const _keylog1 = [
127,327,178,528,537,538,532,328,127,178,537,127,317,328,512,278,328,327,178,327,578,317,527,178,128,328,517,312,531,128,128,317,527,312,328,532,512,518,317,127,537,528,537,527,327,278,532,128,318,517
];
assert.strictEqual(passcodeDerivation(_keylog1), 531278);
```
`passcodeDerivation(keylog2)` should return `1230567`.
```js
const _keylog2 = [
305,367,256,123,357,120,125,307,236,256,356,267,357,256,356,136,257,107,126,567,567,105,120,237,367,120,367,135,207,167,367,367,307,125,120,130,367,230,106,356,126,106,130,123,307,127,306,167,136,126
];
assert.strictEqual(passcodeDerivation(_keylog2), 1230567);
```
`passcodeDerivation(keylog3)` should return `73162890`.
```js
const _keylog3 = [
319,680,180,690,129,620,762,689,762,318,368,710,720,710,629,168,160,689,716,731,736,729,316,729,729,710,769,290,719,680,318,389,162,289,162,718,729,319,790,680,890,362,319,760,316,729,380,319,728,716,
];
assert.strictEqual(passcodeDerivation(_keylog3), 73162890);
```
# --seed--
## --after-user-code--
```js
const _keylog1 = [
127,327,178,528,537,538,532,328,127,178,537,127,317,328,512,278,328,327,178,327,578,317,527,178,128,328,517,312,531,128,128,317,527,312,328,532,512,518,317,127,537,528,537,527,327,278,532,128, 318,517
];
const _keylog2 = [
305,367,256,123,357,120,125,307,236,256,356,267,357,256,356,136,257,107,126,567,567,105,120,237,367,120,367,135,207,167,367,367,307,125,120,130,367,230,106,356,126,106,130,123,307,127,306,167,136,126
];
const _keylog3 = [
319,680,180,690,129,620,762,689,762,318,368,710,720,710,629,168,160,689,716,731,736,729,316,729,729,710,769,290,719,680,318,389,162,289,162,718,729,319,790,680,890,362,319,760,316,729,380,319,728,716,
];
```
## --seed-contents--
```js