Mine_King's blog

By Mine_King, history, 13 months ago, In English

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!

Full text and comments »

  • Vote: I like it
  • +45
  • Vote: I do not like it