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: 5900f4f91000cf542c51000c
 | ||
| challengeType: 5
 | ||
| title: 'Problem 397: Triangle on parabola'
 | ||
| videoUrl: ''
 | ||
| localeTitle: 问题397:抛物线上的三角形
 | ||
| ---
 | ||
| 
 | ||
| ## Description
 | ||
| <section id="description">在抛物线y = x2 / k上,选择三个点A(a,a2 / k),B(b,b2 / k)和C(c,c2 / k)。 <p>令F(K,X)为整数四元组(k,a,b,c)的数量,使得三角形ABC的至少一个角度为45度,其中1≤k≤K且-X≤a< b <c≤X。 </p><p>例如,F(1,10)= 41并且F(10,100)= 12492.找到F(106,109)。 </p></section>
 | ||
| 
 | ||
| ## Instructions
 | ||
| <section id="instructions">
 | ||
| </section>
 | ||
| 
 | ||
| ## Tests
 | ||
| <section id='tests'>
 | ||
| 
 | ||
| ```yml
 | ||
| tests:
 | ||
|   - text: <code>euler397()</code>应该返回141630459461893730。
 | ||
|     testString: assert.strictEqual(euler397(), 141630459461893730);
 | ||
| 
 | ||
| ```
 | ||
| 
 | ||
| </section>
 | ||
| 
 | ||
| ## Challenge Seed
 | ||
| <section id='challengeSeed'>
 | ||
| 
 | ||
| <div id='js-seed'>
 | ||
| 
 | ||
| ```js
 | ||
| function euler397() {
 | ||
|   // Good luck!
 | ||
|   return true;
 | ||
| }
 | ||
| 
 | ||
| euler397();
 | ||
| 
 | ||
| ```
 | ||
| 
 | ||
| </div>
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| </section>
 | ||
| 
 | ||
| ## Solution
 | ||
| <section id='solution'>
 | ||
| 
 | ||
| ```js
 | ||
| // solution required
 | ||
| ```
 | ||
| 
 | ||
| /section>
 |