赖金霖's submission of Count on a Treap | CodeChef