How to solve this question?

Revision en2, by Grooot, 2019-12-03 08:03:32

The question link below is such a confusing for me I can't get question.

Question link — https://mirror.codeforces.com/contest/1008/problem/D

Can someone explain me?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Grooot 2019-12-03 08:03:32 76
en1 English Grooot 2019-12-03 08:01:20 170 Initial revision (published)