Can someone explain the solution of SEERC 2020 problem A more precisely?

Revision en1, by QuantumBolt, 2021-07-15 12:25:57

the link of the problem: https://codeforces.me/gym/103102/problem/A

I guess I have known the general idea of this problem, but I don't know how to solve it practically。 I have read the tutorial, but I can't really understand it. So I hope someone will share your thoughts on this problem.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English QuantumBolt 2021-07-15 12:26:23 9
en1 English QuantumBolt 2021-07-15 12:25:57 372 Initial revision (published)