Nikolay Domashenko's submission of Permutation GCD | CodeChef