my solution got accepted on SPOJ but here it is giving TL for one test case.
TLE showing for one test case
link to the code has been posted
my solution got accepted on SPOJ but here it is giving TL for one test case.
link to the code has been posted