修改错别字“下表”->“下标”

Signed-off-by: bqlin <bqlins@163.com>
This commit is contained in:
bqlin
2021-12-10 13:45:56 +08:00
parent 94e5dea6f0
commit e12257efc7
23 changed files with 52 additions and 52 deletions

View File

@@ -59,7 +59,7 @@ public:
int findContentChildren(vector<int>& g, vector<int>& s) {
sort(g.begin(), g.end());
sort(s.begin(), s.end());
int index = s.size() - 1; // 饼干数组的下
int index = s.size() - 1; // 饼干数组的下
int result = 0;
for (int i = g.size() - 1; i >= 0; i--) {
if (index >= 0 && s[index] >= g[i]) {