**Solution Link:**CodeChef: Practical coding for everyone
**Problem Link:**PNTNG Problem - CodeChef
Thanks in advance!
**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
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 .