It seems like all code should take some time, if only to run the main method and exit. How is it that so many people get 0.000 seconds for their run times?
Eric
How are times of 0.00 seconds possible?
Moderator: Board moderators
How are times of 0.00 seconds possible?
Last edited by lorderico on Sun Oct 16, 2011 7:36 pm, edited 1 time in total.
-
- New poster
- Posts: 3
- Joined: Sun Feb 12, 2012 12:57 pm
Re: How are times of 0.00 seconds possible?
It's approximately that much considering the fact that today's computers can execute billions of instructions per second.
Re: How are times of 0.00 seconds possible?
agree. It's not logical... ![:roll:](./images/smilies/icon_rolleyes.gif)
![:roll:](./images/smilies/icon_rolleyes.gif)
Re: How are times of 0.00 seconds possible?
apparently, some time around 2008 (look for "new judge" in these boards), the computer which measures the execution time was changed.
as per 2012, I find peculiarities around 0.004 - 0.0040 seconds, code which "clearly" is faster doesn't get a faster execution time.
"clearly" = for me clearly, as in my opinion.
even a simple empty main will now take 0.004...
Best Regards,
at5anpo3
as per 2012, I find peculiarities around 0.004 - 0.0040 seconds, code which "clearly" is faster doesn't get a faster execution time.
"clearly" = for me clearly, as in my opinion.
even a simple empty main will now take 0.004...
Best Regards,
at5anpo3