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

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

История

 
 
 
 
Правки
 
 
  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)