Bui Nguyen Ngoc Thang's submission of Ambiguous Permutations | CodeChef