Wentao Wang's submission of Counting D-sets | CodeChef