Skip to content

Instantly share code, notes, and snippets.

@cmoore
Created June 23, 2009 17:32
Show Gist options
  • Save cmoore/134693 to your computer and use it in GitHub Desktop.
Save cmoore/134693 to your computer and use it in GitHub Desktop.
p9_is_correct :: Int -> Int -> Int -> Bool
p9_is_correct x y z =
x^2 + y^2 == z^2 &&
x + y + z == 1000 &&
x < y && y < z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment