Rosetta Problems

Free Contest 113 - POLYDIST

https://oj.vnoi.info/problem/fc113_polydist