i have checked if a it satisfies the pythagoras theorem , but still two test cases are failed.
Save your code on ide.codingblocks.com and share its link.
@tusharbhardwaj127 The test case can be of order 10^9 so change your data types to long long int.