1.6 KiB
1.6 KiB
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f3fc1000cf542c50ff0e | 5 | Problem 143: Investigating the Torricelli point of a triangle | 问题143:研究三角形的Torricelli点 |
Description
如果总和最小化并且a,b,c,p,q和r都是正整数,我们将称三角形ABC为Torricelli三角形。例如,a = 399,b = 455,c = 511是Torricelli三角形的示例,其中p + q + r = 784.找到Torricelli三角形的p + q +r≤120000的所有不同值的总和。
Instructions
Tests
tests:
- text: <code>euler143()</code>应返回30758397。
testString: 'assert.strictEqual(euler143(), 30758397, "<code>euler143()</code> should return 30758397.");'
Challenge Seed
function euler143() {
// Good luck!
return true;
}
euler143();
Solution
// solution required