Rosetta Problems

Near Pair

https://atcoder.jp/contests/ttpc2024_2/tasks/ttpc2024_1_i