Timing

Timing

imagem de 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 posts / 0 new
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.
imagem de 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.

imagem de cjdean

OK. Thanks for the help.

imagem de 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.

Faça login para deixar um comentário.