D. Grid Repainting 3

Problem Name:
D. Grid Repainting 3
Site:AtCoder
Links:
Tags: