Help in Atcoder Problem

Правка en1, от Lets__go, 2019-11-22 18:22:51

Can some one help me on how to solve this problem?

Editorial is given in Japanese, i used google translater to understand it but some sentence doesn't make any sense to me and i couldn't understand solution from editorial.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Lets__go 2019-11-23 18:17:35 8
en1 Английский Lets__go 2019-11-22 18:22:51 303 Initial revision (published)