5002ryx's blog

By 5002ryx, history, 3 years ago, In English

https://codeforces.com/contest/1580/submission/130368106

The main idea is to choose the most optimal one number in every step.

UPD: To avoid unnecessary inconvenience, if you want to see a cute comic, click here , and please try to solve my problem.

Full text and comments »

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