Rosetta Problems

Free Contest 113 - TPOWER

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