freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-251-cardano-triplet...

28 lines
510 B
Markdown
Raw Normal View History

---
id: 5900f4671000cf542c50ff7a
title: 问题251卡尔达诺三胞胎
challengeType: 5
videoUrl: ''
---
# --description--
如果满足条件则正整数abc的三元组称为Cardano三元组
例如2,1,5是Cardano Triplet。
存在149个Cardano三胞胎其中a + b +c≤1000。
找出有多少卡尔达诺三胞胎存在使a + b +c≤110,000,000。
# --hints--
`euler251()`应该返回18946051。
```js
assert.strictEqual(euler251(), 18946051);
```
# --solutions--