
背包问题
景行cmy
这个作者很懒,什么都没留下…
展开
-
leetcode 805. Split Array With Same Average
In a given integer array A, we must move every element of A to either list B or list C. (B and C initially start empty.) Return true if and only if after such a move, it is possible that the average ...原创 2019-08-24 17:16:19 · 165 阅读 · 0 评论 -
879. Profitable Schemes
There are G people in a gang, and a list of various crimes they could commit. Thei-th crime generates aprofit[i]and requiresgroup[i]gang members to participate. If a gang member participates in ...原创 2019-08-28 19:12:39 · 180 阅读 · 0 评论