摘要: class Solution { public: int dx[4] = {-1, 0, 1, 0}, dy[4] = {0, 1, 0, -1}; bool st[5][5]; bool dfs(vector<vector<char>>& matrix,int i,int j,int u,stri 阅读全文
posted @ 2023-03-17 20:43 穿过雾的阴霾 阅读(15) 评论(0) 推荐(0)
摘要: class Solution { public: struct cmp { bool operator()(ListNode *a,ListNode *b) { return a->val>b->val; } }; ListNode* mergeKLists(vector<ListNode*>& l 阅读全文
posted @ 2023-03-17 15:51 穿过雾的阴霾 阅读(12) 评论(0) 推荐(0)