摘要: 5621. 无法吃午餐的学生数量 思维 判断栈中那种三明治比所需人多,找多出来的位置以后便是不可取的 class Solution { public: int countStudents(vector<int>& students, vector<int>& sandwiches) { int n 阅读全文
posted @ 2020-12-26 23:56 DWVictor 阅读(93) 评论(1) 推荐(0)