摘要: 问题描述 在移动硬盘里装了Ubuntu系统之后,开机启动项默认变成了USB驱动,要怎么改回WIN10呢? 今天介绍把默认开机启动系统改回WIN10的方法。 步骤 右键“此电脑”->“属性” 选择“高级系统设置” 选择“高级”选项卡下“启动和故障恢复”栏的“设置” 在下拉菜单里把默认操作系统改成常用的 阅读全文
posted @ 2021-03-11 16:23 edithlee 阅读(854) 评论(0) 推荐(0)
摘要: 代码 class Solution { public: int countRangeSum(vector<int>& nums, int lower, int upper) { vector<long> sum(1, 0); // sum[i]的值是从A[0]+...+A[i]的和 int N = 阅读全文
posted @ 2021-03-10 17:05 edithlee 阅读(44) 评论(0) 推荐(0)
摘要: 代码 解法一:用栈(c++超时,java不超) for(auto c:S){ if(st.empty()){ st.push(c); } else { if(st.top()==c){st.pop();} else {st.push(c);} } } 解法二:字符数组模拟栈(空间复杂度超过70%的网 阅读全文
posted @ 2021-03-09 20:33 edithlee 阅读(41) 评论(0) 推荐(0)
摘要: 【力扣】133.克隆图的题目和题解 阅读全文
posted @ 2021-03-09 19:14 edithlee 阅读(29) 评论(0) 推荐(0)