这个第一题组队的题,我一直0,实在想不到自己的逻辑哪里出问题了,请教一下各位大佬 老哥们,知道问题在哪里里,是贪心陷阱 比如 2 2 2 2 2,组队数是3 第一轮(1 1 1)->1 1 1 2 2 第二轮(1 1 1)->1 1 0 1 1 第三轮(1 1 1)->0 0 0 0 1 #include<iostream> #include<vector> #include<algorithm> using namespace std; class Solution { public: int findA...