How to take advantage of Equal execution time per instruction — one clock cycle on Polish Olympiad in Informatics

Revision en6, by Marine7, 2018-02-28 22:45:59

On POI, there is a special testing environment, which assumes equal execution time of every instruction (one clock cycle each), the count of the cycles is then divided by some number which mimicates the real CPU cycle capabilities, to get the runtime.

Could you (specifically in C++) take somehow advantage of this testing system property, and write your programs in a style, which generally uses more costly instructions, but fewer of them, as to make the execution time faster in this environment?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en6 English Marine7 2018-02-28 22:45:59 124
en5 English Marine7 2018-02-28 22:43:29 1 Tiny change: 'vironment? ' -> 'vironment?'
en4 English Marine7 2018-02-25 15:41:08 127
en3 English Marine7 2018-02-24 19:38:42 1 Tiny change: 'vironment?' -> 'vironment? '
en2 English Marine7 2018-02-24 19:37:20 79
en1 English Marine7 2017-09-25 19:37:27 583 Initial revision (published)