Track Java
Java track

Pythagorean Triplet

An exercise from the Java track
hard

About this exercise

There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find the product a * b * c.

lists
logic
math
integers
View all solutions