Rosetta Problems

Beginner Free Contest 29 - TRINNUM

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