Devesh Agarwal's submission of Permutation Cycles | CodeChef