Rosetta Problems

Maximum Distance

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