56 lines
945 B
Markdown
56 lines
945 B
Markdown
---
|
||
id: 5900f44b1000cf542c50ff5e
|
||
challengeType: 5
|
||
title: 'Problem 223: Almost right-angled triangles I'
|
||
videoUrl: ''
|
||
localeTitle: 问题223:几乎是直角三角形I.
|
||
---
|
||
|
||
## Description
|
||
<section id="description">如果边满足a2 + b2 = c2 + 1,让我们称一个整数边三角形,边a≤b≤c几乎不是锐角。 <p>有多少个几乎没有锐角的三角形,周长≤25,000,000? </p></section>
|
||
|
||
## Instructions
|
||
<section id="instructions">
|
||
</section>
|
||
|
||
## Tests
|
||
<section id='tests'>
|
||
|
||
```yml
|
||
tests:
|
||
- text: <code>euler223()</code>应该返回61614848。
|
||
testString: 'assert.strictEqual(euler223(), 61614848, "<code>euler223()</code> should return 61614848.");'
|
||
|
||
```
|
||
|
||
</section>
|
||
|
||
## Challenge Seed
|
||
<section id='challengeSeed'>
|
||
|
||
<div id='js-seed'>
|
||
|
||
```js
|
||
function euler223() {
|
||
// Good luck!
|
||
return true;
|
||
}
|
||
|
||
euler223();
|
||
|
||
```
|
||
|
||
</div>
|
||
|
||
|
||
|
||
</section>
|
||
|
||
## Solution
|
||
<section id='solution'>
|
||
|
||
```js
|
||
// solution required
|
||
```
|
||
</section>
|