Can anyone hack or prove the greedy solution of 1580D?
Difference between en2 and en3, changed 149 character(s)
https://codeforces.comml/contest/1580/submission/130368106↵

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

![QAQ](UPD: To avoid unnecessary inconvenience, if you want to see a cute comic, click [here](https://codeforces.ml/predownloaded/ac/34/ac3459fbf10ba44abb93a83a887cf7a3fe11f818.jpg)↵
, and please try to solve my problem.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English 5002ryx 2021-10-01 15:49:50 6
en3 English 5002ryx 2021-10-01 13:53:40 149
en2 English 5002ryx 2021-10-01 06:23:56 0 (published)
en1 English 5002ryx 2021-10-01 06:23:29 262 Initial revision (saved to drafts)