How can the exactly same solutions produce different time

admin
bug
time

#1

How is it possible that the exactly same solution produces 0.3 in first run and 0.2 sec in second run ??

The solutions are

http://www.codechef.com/viewsolution/6357468

and

http://www.codechef.com/viewsolution/6357468


#2

Such a small difference due to a compiler optimization done in one case and not the other or even server load.


You may refer to this question: http://discuss.codechef.com/questions/60253/why-time-increases?page=1#60256