Rosetta Problems

ICPC 2019 vòng Regional - H: Hanjie

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