Блог пользователя Mine_King

Автор Mine_King, история, 20 месяцев назад, По-английски

Some one used simulated annealing to solve CF1804E like this one.

First, it random one set of solutions. Then, it randomly choose one $$$i$$$ at a time and change the value of $$$a_i$$$ and repeat this step until the time limit is about to be exceeded.

I want to know Can this code be hacked?

Thank you very much!

  • Проголосовать: нравится
  • +45
  • Проголосовать: не нравится