摘要:
2024.12.26 os lab3 原代码 地址:https://github.com/BUPT-OS/easy_lab/tree/lab3 运行未修改的代码,并且注释掉cout时发生错误: malloc(): corrupted top size 如果不注释cout,可以正常运行 1.不注释 c 阅读全文
摘要:
leetcode 1045 select customer_id from (select customer_id,count(*) m from (select distinct * from Customer) a group by customer_id having count(*) in 阅读全文
摘要:
leetcode240 思路:我们将矩阵逆时针旋转45度,可以发现矩阵变成了一个二叉搜索树,往左走是小,往右走是大。这样就能以matrix[0] [j]为根开始搜索。 class Solution { //10:20~10:28 public boolean doSearch(int[][] mat 阅读全文