Rosetta Problems

ICPC 2024 miền Bắc - B: Hunting Dog

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