10 2021 档案

摘要:/* 暴力法, */ /* class Solution { public: vector<int> smallerNumbersThanCurrent(vector<int>& nums) { vector<int> res(nums.size()); for(int i = 0; i < num 阅读全文
posted @ 2021-10-10 14:22 三一一一317 阅读(43) 评论(0) 推荐(0)
摘要:struct point{ int x; int y; }; class Solution { public: int orangesRotting(vector<vector<int>>& grid) { int freshfruit = 0; queue<point> q; for(int i 阅读全文
posted @ 2021-10-08 16:43 三一一一317 阅读(74) 评论(0) 推荐(0)