Ali-Amir Aldan's submission of Random decreasing function | CodeChef