feat: enable new langs (#42491)

Enable italian and portuguese
This commit is contained in:
Nicholas Carrigan (he/him)
2021-06-15 00:49:18 -07:00
committed by GitHub
parent d8d6d20793
commit f25e3e69f8
3301 changed files with 423168 additions and 6 deletions

View File

@ -0,0 +1,44 @@
---
id: 5900f4861000cf542c50ff98
title: 'Problem 281: Pizza Toppings'
challengeType: 5
forumTopicId: 301932
dashedName: problem-281-pizza-toppings
---
# --description--
You are given a pizza (perfect circle) that has been cut into m·n equal pieces and you want to have exactly one topping on each slice.
Let f(m,n) denote the number of ways you can have toppings on the pizza with m different toppings (m ≥ 2), using each topping on exactly n slices (n ≥ 1). Reflections are considered distinct, rotations are not.
Thus, for instance, f(2,1) = 1, f(2,2) = f(3,1) = 2 and f(3,2) = 16. f(3,2) is shown below:
Find the sum of all f(m,n) such that f(m,n) ≤ 1015.
# --hints--
`euler281()` should return 1485776387445623.
```js
assert.strictEqual(euler281(), 1485776387445623);
```
# --seed--
## --seed-contents--
```js
function euler281() {
return true;
}
euler281();
```
# --solutions--
```js
// solution required
```