Pythagoras triplet doubt 123

4th and 5th test cases are failing
https://ide.codingblocks.com/s/60259

Hi Pratik, since the constraint of the question is n <= 10^9, just change the datatype from int to long long int in line nos. 3, 9 and 13.

1 Like

Hey Pratik, as you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.