摘要: 打开显卡设置软件 调节合适的颜色深度即可 阅读全文
posted @ 2022-09-18 22:49 jarico 阅读(511) 评论(0) 推荐(0)
摘要: 安装 docker pull mysql:5.7 docker images 运行 docker run -itd --name task-for-student -p 3306:3306 -e MYSQL_ROOT_PASSWORD=密码 mysql:5.7 docker ps 设置MySQL登录 阅读全文
posted @ 2022-09-14 22:18 jarico 阅读(29) 评论(0) 推荐(0)
摘要: curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun 阅读全文
posted @ 2022-09-14 22:09 jarico 阅读(18) 评论(0) 推荐(0)
摘要: 理解 该题用到了滑动窗口 代码 class Solution { public int minSubArrayLen(int target, int[] nums) { int left = 0, right = 0; int sum = 0; int result = Integer.MAX_VA 阅读全文
posted @ 2022-09-14 00:08 jarico 阅读(15) 评论(0) 推荐(0)
摘要: 理解 比较数组两端的元素,一定能比较出一个最大的数字 代码 class Solution { public int[] sortedSquares(int[] nums) { int left=0, right = nums.length - 1; int[] resultArr = new int 阅读全文
posted @ 2022-09-13 23:19 jarico 阅读(19) 评论(0) 推荐(0)
摘要: 题目链接 代码 class Solution { public int removeElement(int[] nums, int val) { int fast = 0, slow = 0; for( ; fast<nums.length; fast++) { if (nums[fast] != 阅读全文
posted @ 2022-09-13 21:37 jarico 阅读(23) 评论(0) 推荐(0)
摘要: public class TestDemo { @Test public void testCountDownLatch() throws InterruptedException { CountDownLatch countDownLatch = new CountDownLatch(5); fo 阅读全文
posted @ 2022-08-26 23:22 jarico 阅读(23) 评论(0) 推荐(0)
摘要: 只需要在另一篇文章基础上增加一个广播接收器,这个新增的广播接收器我取名为AnotherBroadcastReceiver, 然后修改MainActivity中的代码 package com.example.demoapplication; import androidx.appcompat.app. 阅读全文
posted @ 2022-08-20 14:57 jarico 阅读(43) 评论(0) 推荐(0)