Dinesh Goyal's submission of Permutation Cycles | CodeChef