Track Swift
Swift track

Pythagorean Triplet

An exercise from the Swift track
medium

About this exercise

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

integers
records
math
View all solutions