auto commit

This commit is contained in:
CyC2018
2018-04-15 13:22:54 +08:00
parent ef7b05befc
commit bdb10bfe50
4 changed files with 25 additions and 22 deletions

View File

@ -190,7 +190,7 @@ You have 3 cookies and their sizes are big enough to gratify all of the children
You need to output 2.
```
题目描述每个孩子都有一个满足度每个饼干都有一个大小只有饼干的大小大于一个孩子的满足度该孩子才会获得满足求解最多可以获得满足的孩子数量
题目描述每个孩子都有一个满足度每个饼干都有一个大小只有饼干的大小大于等于一个孩子的满足度该孩子才会获得满足求解最多可以获得满足的孩子数量
因为最小的孩子最容易得到满足因此先满足最小孩子给一个孩子的饼干应当尽量小又能满足该孩子这样大饼干就能拿来给满足度比较大的孩子