The third problem codeforces similar permutations mex solution. Xxxxvsc. Differentiator integrator. Nanda santos metendo.