Cyclic MEX

Problem Name:
Cyclic MEX
Site:CodeForces
Links:
Tags:
Problem setters: