题目 暴力解法 class Solution { public: int numTeams(vector<int>& rating) { int n = rating.size(); int ans = 0; for (int i=0;i<n;i++){