could ne1 please point out why m i getting TLE for this solution: http://ideone.com/IQGYPO
and a WA for this solution: http://ideone.com/TZZjpd
could ne1 please point out why m i getting TLE for this solution: http://ideone.com/IQGYPO
and a WA for this solution: http://ideone.com/TZZjpd
I don’t know about TLE but I can probably give you reasons for WA
You can refer to my submission here
Kindly post your question on the editorial page of the respective problem here: http://discuss.codechef.com/questions/9733/junongf-editorial. You will get your answer to your query.