Can anyone explain this solution of this question please explain in simple words

Revision en1, by hackersarkar12, 2020-07-09 16:47:40

Here is the link https://codeforces.com/contest/1000/problem/C I saw the editorial but cannot understand please explain the solution of this question.

Tags #newbie, #new, 1700

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English hackersarkar12 2020-07-09 16:47:40 234 Initial revision (published)