Cody

Problem 2022. Find a Pythagorean triple

Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them comprise sides of a right-angled triangle. Return true if they do, otherwise return false .

Solution Stats

46.92% Correct | 53.08% Incorrect
Last Solution submitted on Feb 19, 2020

Problem Comments

Solution Comments

Problem Recent Solvers1262

Suggested Problems

More from this Author10

Problem Tags