D. Candy Box (easy version)

This problem is actually a subproblem of problem G from the same contest.ios There are n candies in a candy box. The type of the i-th candy is ai (1≤ai≤n).web You have to prepare a gift using some of
相關文章
相關標籤/搜索