Rosetta Problems

Beginner Free Contest 47 - SELFDIV

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