Unit Array Codeforces Solutions