Andrey Kim's submission of (Challenge) Connecting computers | CodeChef