search and replace ```\n< with ```\n\n< to ensure there's an empty line before closing tags
		
			
				
	
	
		
			57 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | ||
| id: 5900f4de1000cf542c50fff1
 | ||
| challengeType: 5
 | ||
| title: 'Problem 370: Geometric triangles'
 | ||
| videoUrl: ''
 | ||
| localeTitle: 问题370:几何三角形
 | ||
| ---
 | ||
| 
 | ||
| ## Description
 | ||
| <section id="description">让我们将几何三角形定义为具有边a≤b≤c的整数边三角形,使得其边形成几何级数,即b2 = a·c。 <p>这种几何三角形的一个例子是边长为a = 144,b = 156和c = 169的三角形。 </p><p>有861805个几何三角形,周长≤106。 </p><p>有多少个几何三角形,周长≤2.5·1013? </p></section>
 | ||
| 
 | ||
| ## Instructions
 | ||
| <section id="instructions">
 | ||
| </section>
 | ||
| 
 | ||
| ## Tests
 | ||
| <section id='tests'>
 | ||
| 
 | ||
| ```yml
 | ||
| tests:
 | ||
|   - text: <code>euler370()</code>应该返回41791929448408。
 | ||
|     testString: assert.strictEqual(euler370(), 41791929448408);
 | ||
| 
 | ||
| ```
 | ||
| 
 | ||
| </section>
 | ||
| 
 | ||
| ## Challenge Seed
 | ||
| <section id='challengeSeed'>
 | ||
| 
 | ||
| <div id='js-seed'>
 | ||
| 
 | ||
| ```js
 | ||
| function euler370() {
 | ||
|   // Good luck!
 | ||
|   return true;
 | ||
| }
 | ||
| 
 | ||
| euler370();
 | ||
| 
 | ||
| ```
 | ||
| 
 | ||
| </div>
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| </section>
 | ||
| 
 | ||
| ## Solution
 | ||
| <section id='solution'>
 | ||
| 
 | ||
| ```js
 | ||
| // solution required
 | ||
| ```
 | ||
| 
 | ||
| /section>
 |