codingtests/ProjectEuler/039/desc.yml

19 lines
496 B
YAML
Raw Normal View History

2012-12-17 11:17:09 +00:00
title: Integer right triangles
url: http://projecteuler.net/problem=39
desc: |
If p is the perimeter of a right angle triangle with integral length sides, {a,b,c}, there are exactly three solutions for p = 120.
{20,48,52}, {24,45,51}, {30,40,50}
For which value of p <=1000, is the number of solutions maximised?
solution: |
Bruteforce
solutions:
solve.php:
desc: Basic solution
language: php
solve.c:
desc: Basic solution
language: c