codechef Counting D-sets

NoSuchKey