Rosetta Problems

ICPC 2020 vòng Regional - B: Beautiful Square

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