Rosetta Problems

COCI 2016/2017 - Contest 4 - Osmosmjerka

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