Code
for (int a = 1; a <= 500; a++)
for (int b = 1; b <= 500; b++)
for (int c = 1; c <= 500; c++)
if (a < b && b < c)
if ((Math.pow(a, 2) + Math.pow(b, 2)) == Math.pow(c, 2))
if (a+b+c == 1000)
return (new int[] {a, b, c});wat is this madness


![[Image: JcVeD.png]](https://i.imgur.com/JcVeD.png)
