Solution for AtCoder Beginner Contest 171 question F

Revision en1, by fakehandle, 2020-06-21 18:44:04

Can any one explain the solution of atcoder task F . The editorial is in Japanese language and i am not able to understand it. Please help me to solve this question.

The contest is already finished.

Thanks in advance.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English fakehandle 2020-06-21 18:44:04 333 Initial revision (published)