Rosetta Problems

配置(最も遠くなるように)

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/873