内核模块编程入门: 一、准备工作: 1、打开一个终端,输入命令: $ uname -r 结果:5.5.2-1-MANJARO 2、安装必要的内核文件: sudo pacman -S linux55-headers 正在解析依赖关系... 正在查找软件包冲突... 软件包 (1) linux55-he ...
分类:
其他好文 时间:
2020-02-10 18:16:37
阅读次数:
67
"传送门" A. Non zero 签到。 Code B. Assigning to Classes 贪心即可。 我们选出的两个数中,假设在左边的为$a$,右边的为$b$,那么小于$a$的有$x$个,大于$a$的有$x$个;同理小于$b$和大于$b$的都有$y$个。那么左侧为$x+y$个,右侧为$x ...
分类:
其他好文 时间:
2020-02-10 12:04:50
阅读次数:
49
本章内容:一.inventory主机清单二.yml语法三.playbook详解+操作inventory主机清单ansible默认的主机清单是/etc/ansible/hosts文件主机清单可以手动设置,也可以通过DynamicInventory动态生成一般主机名使用FQDNvi/etc/ansible/hosts[webserver]#方括号设置组名www1.example.org#定义被监控主机
分类:
其他好文 时间:
2020-02-10 10:11:25
阅读次数:
97
"题目" 用hash,比较两个字符串数组的每个字符的hash值 ...
分类:
其他好文 时间:
2020-02-09 20:36:37
阅读次数:
64
解决办法 https://github.com/ageitgey/face_recognition/issues/1041#issuecomment-582401795 resolved. If you are on a mac, make sure you install opencv-pytho ...
分类:
其他好文 时间:
2020-02-09 20:26:27
阅读次数:
65
题目如下: Given two equal-size strings s and t. In one step you can choose any character of t and replace it with another character. Return the minimum nu ...
分类:
其他好文 时间:
2020-02-09 18:39:10
阅读次数:
68
概述 分治FFT不是一个算法而是一种思想,一般指两种套路$CDQ$分治解决函数问题,分治+$FFT/NTT$合并背包 分治背包 问题 问题形如给出$n$种物品,第$i$种物品有$a_i$个,大小为$w_i$ 答案的生成函数即为$\displaystyle{\prod_{i=1}^n(1+a_i x^ ...
分类:
其他好文 时间:
2020-02-09 18:10:58
阅读次数:
57
What is a Test Plan? A TEST PLAN is a detailed document that describes the test strategy, objectives, schedule, estimation and deliverables and resour ...
分类:
其他好文 时间:
2020-02-09 16:22:31
阅读次数:
95
一、Qt启动 qmake -project; 创建xxx.pro qmake xxx.pro; 生成makefile文件 make;构建该程序,生成可执行文件 运行程序:windows:xxx;mac:open xxx.app 二、Qt特性 1、支持html文本的label; 2、使用信号SIGNA ...
分类:
其他好文 时间:
2020-02-09 16:21:19
阅读次数:
76
题目:https://pintia.cn/problem sets/994805342720868352/problems/994805374509498368 1092 To Buy or Not to Buy (20分) Eva would like to make a string of be ...
分类:
其他好文 时间:
2020-02-09 14:57:03
阅读次数:
54