Rosetta Problems

Free Contest 17 - SQGARDEN

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