Rosetta Problems
← atcoder に戻る
K-th Nearest
https://atcoder.jp/contests/abc364/tasks/abc364_d