Can the code be hacked that using simulated annealing in CF1804E?

Revision en1, by Mine_King, 2023-03-17 08:44:49

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!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Mine_King 2023-03-17 08:44:49 443 Initial revision (published)