Pythagorean triplet

my code is still not able to clear out all the test cases.
i cant find the error here.
i have used the formulas