Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 701 Bytes

README.md

File metadata and controls

25 lines (14 loc) · 701 Bytes

Description

A Pythagorean triplet is a set of three natural numbers, a < b < c, for which,

For example, .

Exercise

There exists exactly one Pythagorean triplet for which a + b + c = 1000.

Find the product abc.

Solution

You can find the algorithm to solve this challenge inside challenge.cpp

Click here to see the result!

Result is: 31,875,000