Good idea
https://codeforces.me/blog/entry/12393 Let’s do this!
AtCoder Beginner G problems upsolving