56 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
		
		
			
		
	
	
			56 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
|   | --- | |||
|  | id: 5900f4b91000cf542c50ffcb | |||
|  | challengeType: 5 | |||
|  | title: 'Problem 332: Spherical triangles' | |||
|  | videoUrl: '' | |||
|  | localeTitle: 问题332:球形三角形 | |||
|  | --- | |||
|  | 
 | |||
|  | ## Description
 | |||
|  | <section id="description">球面三角形是通过在三个顶点中成对交叉的三个大圆弧形成在球体表面上的图形。 <p>设C(r)为具有中心(0,0,0)和半径r的球体。设Z(r)为具有整数坐标的C(r)表面上的点集。令T(r)为顶点为Z(r)的球形三角形的集合。由相同大弧上的三个点形成的简并球面三角形不包括在T(r)中。设A(r)为T(r)中最小球面三角形的面积。 </p><p>例如,A(14)是3.294040四舍五入到小数点后六位。 </p><p>找到A(r)。将您的答案四舍五入到小数点后六位。 </p></section> | |||
|  | 
 | |||
|  | ## Instructions
 | |||
|  | <section id="instructions"> | |||
|  | </section> | |||
|  | 
 | |||
|  | ## Tests
 | |||
|  | <section id='tests'> | |||
|  | 
 | |||
|  | ```yml | |||
|  | tests: | |||
|  |   - text: <code>euler332()</code>应该返回2717.751525。 | |||
|  |     testString: 'assert.strictEqual(euler332(), 2717.751525, "<code>euler332()</code> should return 2717.751525.");' | |||
|  | 
 | |||
|  | ``` | |||
|  | 
 | |||
|  | </section> | |||
|  | 
 | |||
|  | ## Challenge Seed
 | |||
|  | <section id='challengeSeed'> | |||
|  | 
 | |||
|  | <div id='js-seed'> | |||
|  | 
 | |||
|  | ```js | |||
|  | function euler332() { | |||
|  |   // Good luck! | |||
|  |   return true; | |||
|  | } | |||
|  | 
 | |||
|  | euler332(); | |||
|  | 
 | |||
|  | ``` | |||
|  | 
 | |||
|  | </div> | |||
|  | 
 | |||
|  | 
 | |||
|  | 
 | |||
|  | </section> | |||
|  | 
 | |||
|  | ## Solution
 | |||
|  | <section id='solution'> | |||
|  | 
 | |||
|  | ```js | |||
|  | // solution required | |||
|  | ``` | |||
|  | </section> |