Rosetta Problems

ICPC 2023 vòng Regional - F: Flipping Substrings

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