chore(curriculum) Project Euler problems 301–400 to use assert.isString() (#60657)

This commit is contained in:
Dan Bokete
2025-06-02 17:21:09 +01:00
committed by GitHub
parent 5bf1e82257
commit 725130ed55
4 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ Give your answer as a string as a fraction `p/q` in reduced form.
`primeFrog()` should return a string.
```js
assert(typeof primeFrog() === 'string');
asset.isString(primeFrog());
```
`primeFrog()` should return the string `199740353/29386561536000`.

View File

@@ -29,7 +29,7 @@ Find the ${2011}^{\text{th}}$ lexicographic maximix arrangement for eleven carri
`maximixArrangements()` should return a string.
```js
assert(typeof maximixArrangements() === 'string');
asset.isString(maximixArrangements());
```
`maximixArrangements()` should return the string `CAGBIHEFJDK`.

View File

@@ -25,7 +25,7 @@ When giving your answer, use a lowercase e to separate mantissa and exponent. E.
`amazingMazes()` should return a string.
```js
assert(typeof amazingMazes() === 'string');
asset.isString(amazingMazes());
```
`amazingMazes()` should return the string `6.3202e25093`.

View File

@@ -31,7 +31,7 @@ If it happens that the conjecture is false, then the accepted answer to this pro
`squarefreeFibonacciNumbers()` should return a string.
```js
assert(typeof squarefreeFibonacciNumbers() === 'string');
asset.isString(squarefreeFibonacciNumbers());
```
`squarefreeFibonacciNumbers()` should return the string `1508395636674243,6.5e27330467`.