Problem-D this is D problem of Atcoder beginner contest 163 from last night. I'm still unable to get the logic, can anyone explain the solution?
Help in Atcoder problem.
Problem-D this is D problem of Atcoder beginner contest 163 from last night. I'm still unable to get the logic, can anyone explain the solution?