Rosetta Problems

Nearest Black Vertex

https://atcoder.jp/contests/abc299/tasks/abc299_e