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 全新

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.

OK. Thanks for the help.

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.