Here's a Problem from Atcoder beginner contest 154, I'm unable to understand the problem completely, I mean what they are asking and also the editorial, can someone explain the solution?
Help in a problem.
Here's a Problem from Atcoder beginner contest 154, I'm unable to understand the problem completely, I mean what they are asking and also the editorial, can someone explain the solution?