* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
		
			
				
	
	
		
			41 lines
		
	
	
		
			647 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			647 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| id: 5900f44e1000cf542c50ff5f
 | |
| title: 'Problem 224: Almost right-angled triangles II'
 | |
| challengeType: 5
 | |
| forumTopicId: 301867
 | |
| dashedName: problem-224-almost-right-angled-triangles-ii
 | |
| ---
 | |
| 
 | |
| # --description--
 | |
| 
 | |
| Let us call an integer sided triangle with sides a ≤ b ≤ c barely obtuse if the sides satisfy a2 + b2 = c2 - 1.
 | |
| 
 | |
| How many barely obtuse triangles are there with perimeter ≤ 75,000,000?
 | |
| 
 | |
| # --hints--
 | |
| 
 | |
| `euler224()` should return 4137330.
 | |
| 
 | |
| ```js
 | |
| assert.strictEqual(euler224(), 4137330);
 | |
| ```
 | |
| 
 | |
| # --seed--
 | |
| 
 | |
| ## --seed-contents--
 | |
| 
 | |
| ```js
 | |
| function euler224() {
 | |
| 
 | |
|   return true;
 | |
| }
 | |
| 
 | |
| euler224();
 | |
| ```
 | |
| 
 | |
| # --solutions--
 | |
| 
 | |
| ```js
 | |
| // solution required
 | |
| ```
 |