* fix: Chinese test suite Add localeTiltes, descriptions, and adjust test text and testStrings to get the automated test suite working. * fix: ran script, updated testStrings and solutions
1.3 KiB
1.3 KiB
id, challengeType, title, videoUrl, localeTitle
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f5231000cf542c510034 | 5 | Problem 438: Integer part of polynomial equation"s solutions | 问题438:多项式方程解的整数部分 |
Description
考虑以下两个条件:x1,...,xn都是真实的。如果x1,...,xn被排序,则⌊xi⌋= i,1≤i≤n。 (⌊·⌋:地板功能。)
在n = 4的情况下,有12个n元组的整数满足两个条件。我们将S(t)定义为t中整数绝对值的总和。对于n = 4,我们可以验证满足两个条件的所有n元组t的ΣS(t)= 2087。
找到ΣS(t)为n = 7。
Instructions
Tests
tests:
- text: <code>euler438()</code>应该返回2046409616809。
testString: assert.strictEqual(euler438(), 2046409616809);
Challenge Seed
function euler438() {
// Good luck!
return true;
}
euler438();
Solution
// solution required