Niyaz Nigmatullin's submission of Random decreasing function | CodeChef