Codeforces round 650 problem E

Revision en1, by vipinkumar17, 2020-06-16 21:12:43

Can anyone please explain the greedy part of E.In editorial it is given that the last section can be solved by simple Greedy.But i don't get that part.Thanks.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English vipinkumar17 2020-06-16 21:12:43 188 Initial revision (published)