Wrong Answer in PNTNG

**Solution Link:**CodeChef: Practical coding for everyone

**Problem Link:**PNTNG Problem - CodeChef

Thanks in advance!

In your struct convert int to long long int because t<=10^12 and int will cause overflow problem .
Here is your corrected code :


[1]


  [1]: http://www.codechef.com/viewsolution/4137993
1 Like

@the65bit thank you very very much.

solution link: CodeChef: Practical coding for everyone
Problem Link:PNTNG Problem - CodeChef

i am getting run time error… anyone plzz help

Welcome and please mark it as correct answer If you think it is right :stuck_out_tongue: .