Gotta go fast?

Правка en4, от HiCode2009, 2022-10-28 16:26:51

CF1108B

First submission

Second submission

Don't laugh at where I have defined the variables.I did that many months ago,code style unlike now.

We can use sort after changing the divisors' value,but the code which changes them to -14248 runs faster.It's 15ms faster than the other.Why is this happening?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский HiCode2009 2022-10-28 16:26:51 45
en3 Английский HiCode2009 2022-10-28 16:26:11 5 Tiny change: 'n use sort then,but the c' -> 'n use sort,but the c'
en2 Английский HiCode2009 2022-10-28 16:25:05 4
en1 Английский HiCode2009 2022-10-28 16:24:52 497 Initial revision (published)