Rosetta Problems

EJOI 2022 - Longest Unfriendly Subsequence

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