How to take advantage of Equal execution time per instruction — one clock cycle

Revision en1, by Marine7, 2017-09-25 19:37:27

Hello Codeforces, I'd like to open a discussion about the title.

A judge has a special testing environment, which assumes equal execution time of every instruction (one clock cycle each).

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 it faster in this environment?

And then also, what about things like caching, do they matter in that case?

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)