https://codeforces.com/contest/309/problem/B i couldn't understand the editorial of this problem.i searched on google but couldn't get it at all. someone please explain the solution in a easy way with example?
couldn't understand this problem even editortial
https://codeforces.com/contest/309/problem/B i couldn't understand the editorial of this problem.i searched on google but couldn't get it at all. someone please explain the solution in a easy way with example?