会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
~victor~
因为你,我继续前行。
博客园
首页
新随笔
联系
订阅
管理
2020年12月26日
Leetcode 双周赛 42 题解
摘要: 5621. 无法吃午餐的学生数量 思维 判断栈中那种三明治比所需人多,找多出来的位置以后便是不可取的 class Solution { public: int countStudents(vector<int>& students, vector<int>& sandwiches) { int n
阅读全文
posted @ 2020-12-26 23:56 DWVictor
阅读(93)
评论(1)
推荐(0)
公告