I could not find the usual discussion post about the most recent atcoder contest, so I'm posting here. How to solve problem G?
AtCoder Beginner Contest 294
I could not find the usual discussion post about the most recent atcoder contest, so I'm posting here. How to solve problem G?