任务Task与线程Thread不可比。Task是为了利用多CPU多核的机制而将一个大任务不断分解成小任务,这些任务具体由哪一个线程或当前线程执行由OS来决定。如果你想自己控制由哪一个Thread执行,要么自己定议task的scheduling, 要么自己来创建Thread来执行代码。 1)task是 ...
You are given three positive (i.e. strictly greater than zero) integers xx , yy and zz . Your task is to find positive integers aa , bb and cc such th ...
分类:
其他好文 时间:
2020-07-18 19:56:20
阅读次数:
82
按照以下思路大概总结下对linux内核4.14.2总体框架的认识 1、内核是由哪些文件组成的 2、内核的编译体系是怎么样的,是怎么编译链接起来的 3、内核的启动流程,在启动过程中大致做了哪些工作 4、通过对exynos4412开发板上移植linux内核4.14.2验证上述分析 5、编译出uImage ...
分类:
系统相关 时间:
2020-07-18 15:38:02
阅读次数:
94
https://blog.csdn.net/zpf336/article/details/73809481?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.nonecase&dept ...
分类:
其他好文 时间:
2020-07-17 22:30:19
阅读次数:
117
题意:给定一个长度为n的序列,可以修改任何一个字符,求修改后最长的单调严格上升子序列(必须是连续的)。 分析:\((1 <= n < 10^5)\),数据范围很大,不能使用$o(n^2)$的算法。所以我们可以从线性角度考虑,一种常见的套路是枚举修改点,然后求最大值。我们只需要分别求出两端的情况即可, ...
分类:
其他好文 时间:
2020-07-15 23:25:08
阅读次数:
90
Task:知道commit号,如何checkout 指定版本 1. 切换到master: git checkout master 2. 下载最新代码: git pull 3. 下载head: git checkout HEAD 4. 查看log找到需要的版本: git log 5. 根据header ...
分类:
其他好文 时间:
2020-07-15 22:44:08
阅读次数:
88
高考完成了!!! 重新拾一下两年没碰的算法。连以前天天用的C++,C很多语法都忘光了,更别说Python,C#等一些学的不长的语言。 其实VSCode下一个C的插件,不需要使用他的调试工具就可以很方便的编译运行C。 调试的话稍微一改它默认的配置文件就可以。 例如把extrenalConsole改为t ...
分类:
其他好文 时间:
2020-07-15 12:57:03
阅读次数:
72
Given an array nums with n integers, your task is to check if it could become non-decreasing by modifying at most 1 element. We define an array is non ...
分类:
其他好文 时间:
2020-07-15 01:12:51
阅读次数:
60
https://blog.csdn.net/cdlwhm1217096231/article/details/95060636?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-13.no ...
分类:
其他好文 时间:
2020-07-13 18:50:08
阅读次数:
82
https://blog.csdn.net/heixiuheixiu666/article/details/105734283?utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-7.compare&depth_1-utm_sour ...
分类:
其他好文 时间:
2020-07-13 18:44:49
阅读次数:
112