Doubt in pythagorean triplet problem

Hi Sir,

I am stuck in this problem. I am able to pass 3 test cases only. I have watched the hint video and understood the concept of pytahgorean triplet and applied the same in my solution. Please , guide me how to proceed for this problem. I am providing the link of solution here : https://ide.codingblocks.com/s/423226

Hey
Change data Type int to long
try for this input
99999993
correct output :
4999999300000024 4999999300000025

Thanks for your guidance. That helped me .

if this solves your doubt please mark it as resolved :slight_smile: