Rosetta Problems

ICPC 2023 vòng Quốc gia - G: Guarded Rook Combinations

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