135. 分发糖果
摘要:点击查看代码 class Solution { public: int candy(vector<int>& ratings) { int count; count = ratings.size(); vector<int> candy(count, 0); for(int i = 0; i < r
阅读全文
posted @ 2022-08-04 10:03
posted @ 2022-08-04 10:03
posted @ 2021-10-17 11:03