56 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			56 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | ||
| id: 5900f4751000cf542c50ff87
 | ||
| challengeType: 5
 | ||
| title: 'Problem 264: Triangle Centres'
 | ||
| videoUrl: ''
 | ||
| localeTitle: 问题264:三角中心
 | ||
| ---
 | ||
| 
 | ||
| ## Description
 | ||
| <section id="description">考虑所有三角形:格点上的所有顶点。原点O. Orthocentre在圆点H(5,0)处的圆环。有九个这样的三角形,其周长≤50。按周长的升序列出并显示,它们是: <p> A(-4,3),B(5,0),C(4,-3)A(4,3),B(5,0),C(-4,-3)A(-3,4) ),B(5,0),C(3,-4)A(3,4),B(5,0),C(-3,-4)A(0,5),B(5,0) ),C(0,-5)A(1,8),B(8,-1),C(-4,-7)A(8,1),B(1,-8),C( - 4,7)A(2,9),B(9,-2),C(-6,-7)A(9,2),B(2,-9),C(-6,7) </p><p>他们的周长总和,四舍五入到小数点后四位,是291.0089。 </p><p>查找周长≤105的所有此类三角形。输入其周长的总和四舍五入到小数点后四位。 </p></section>
 | ||
| 
 | ||
| ## Instructions
 | ||
| <section id="instructions">
 | ||
| </section>
 | ||
| 
 | ||
| ## Tests
 | ||
| <section id='tests'>
 | ||
| 
 | ||
| ```yml
 | ||
| tests:
 | ||
|   - text: <code>euler264()</code>应该返回2816417.1055。
 | ||
|     testString: 'assert.strictEqual(euler264(), 2816417.1055, "<code>euler264()</code> should return 2816417.1055.");'
 | ||
| 
 | ||
| ```
 | ||
| 
 | ||
| </section>
 | ||
| 
 | ||
| ## Challenge Seed
 | ||
| <section id='challengeSeed'>
 | ||
| 
 | ||
| <div id='js-seed'>
 | ||
| 
 | ||
| ```js
 | ||
| function euler264() {
 | ||
|   // Good luck!
 | ||
|   return true;
 | ||
| }
 | ||
| 
 | ||
| euler264();
 | ||
| 
 | ||
| ```
 | ||
| 
 | ||
| </div>
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| </section>
 | ||
| 
 | ||
| ## Solution
 | ||
| <section id='solution'>
 | ||
| 
 | ||
| ```js
 | ||
| // solution required
 | ||
| ```
 | ||
| </section>
 |