Testcase failed in Pythagorean Triplet

2 test cases are failing in this code. What is the error? https://ide.codingblocks.com/s/131039

@shruthi019 refer this discuss
this