Wrong Answer in PNTNG

**Solution Link:**http://www.codechef.com/viewsolution/4137920

**Problem Link:**http://www.codechef.com/problems/PNTNG

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.

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

solution link: http://www.codechef.com/viewsolution/5077420
Problem Link:http://www.codechef.com/problems/PNTNG

i am getting run time error… anyone plzz help