Rosetta Problems

ICPC 2024 vòng Quốc gia - G: Greedy Grouping

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