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
相关文章
相关标签/搜索