Rosetta Problems

EJOI 2022 - LCS of Permutations

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