Timing

Timing

cjdean的头像

What exactly are you supposed to time? More specifically, do you include init and cleanup routines and the reading of the file?The instructions seem to imply that you measure the whole thing (including init, etc.). Is this correct?

4 帖子 / 0 new
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项.
duncanhopkins的头像

In the past the judges seem to have included every thing.

It is easier for them to create a script that times the whole binary runtime that to try and insert timing code into everyones submissions.

cjdean的头像

OK. Thanks for the help.

hitesh.sharma的头像

running the code using script file will be better & convinient for the judges.
I do not think code need to put something like system call as the fist line(within main) & just before exitings(e.g. date --rfc-3339=ns) the code.

登陆并发表评论。