976 B
976 B
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f4861000cf542c50ff99 | 5 | Problem 282: The Ackermann function | Problema 282: A função Ackermann |
Description
Por exemplo, A (1, 0) = 2, A (2, 2) = 7 e A (3, 4) = 125.
Encontre A (n, n) e dê sua resposta mod 148.
Instructions
Tests
tests:
- text: <code>euler282()</code> deve retornar 1098988351.
testString: 'assert.strictEqual(euler282(), 1098988351, "<code>euler282()</code> should return 1098988351.");'
Challenge Seed
function euler282() {
// Good luck!
return true;
}
euler282();
Solution
// solution required