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?
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.
Timing
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?