Rosetta Problems

Free Contest Testing Round 12 - ROADRAIL

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