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

Правка en6, от 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?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en6 Английский Marine7 2018-02-28 22:45:59 124
en5 Английский Marine7 2018-02-28 22:43:29 1 Tiny change: 'vironment? ' -> 'vironment?'
en4 Английский Marine7 2018-02-25 15:41:08 127
en3 Английский Marine7 2018-02-24 19:38:42 1 Tiny change: 'vironment?' -> 'vironment? '
en2 Английский Marine7 2018-02-24 19:37:20 79
en1 Английский Marine7 2017-09-25 19:37:27 583 Initial revision (published)