Rosetta Problems

ICPC 2022 miền Trung - B: Baby String

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