Siddhant Attavar's submission of Next Permutation | CodeChef