problem link http://www.codechef.com/problems/SPOTWO
my solution http://www.codechef.com/viewsolution/6793108
mugurelionut’s solution http://www.codechef.com/viewsolution/2905301
i run both code on my codeblock on custom input many times. My code gives faster output than “mugurelionut” code (execution time on codeblock)
i cant understand why i am getting tle
PLEASE HELP!!!