Niyaz Nigmatullin's submission of Divisible Pairs | CodeChef