Rosetta Problems

Free Contest 124 - GMINE

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