Pythagorean triplets code is not accepted by online judge


what is the error in my code? please explain

why you are taking input=3??

you have to take input using cin>>input ;

also your formla is not correct

check this code