Rosetta Problems

Bedao Mini Contest 12 - COLORCYC

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