--- id: 5900f3fa1000cf542c50ff0d challengeType: 5 title: 'Problem 142: Perfect Square Collection' videoUrl: '' localeTitle: 问题142:完美的方形集合 --- ## Description
找到具有整数x> y> z> 0的最小x + y + z,使得x + y,x-y,x + z,x-z,y + z,y-z都是完美正方形。
## Instructions
## Tests
```yml tests: - text: euler142()应返回1006193。 testString: 'assert.strictEqual(euler142(), 1006193, "euler142() should return 1006193.");' ```
## Challenge Seed
```js function euler142() { // Good luck! return true; } euler142(); ```
## Solution
```js // solution required ```