AtCoder Beginner Contest 195 Editorial Problem A - Health M Death(opens new window) 只要检查 \(H\equiv 0\) 即可. Time complexity is \(\mathcal{O}(1)\). Spac ...
分类:
其他好文 时间:
2021-03-17 14:07:28
阅读次数:
0
Linux命令cat使用攻略 选项解析: -A, --show-all 等价于 -vET -b, --number-nonblank 对非空输出行(包括仅仅有空格的行)编号,空输出行,指的是该行没有任何内容,即连续2次敲击回车按钮。 -e 等价于 -vE -E, --show-ends 在每行结束处 ...
分类:
系统相关 时间:
2021-03-16 14:12:35
阅读次数:
0
红黑树 相关概念 1 rb_tree 是一种高度平衡的搜索二叉树,其元素排列的规则有利于 search 和 insert,并同时保持适度的平衡。 2 rb_tree 提供遍历操作以及 iterator。元素放入后有一定的排列规则,按正常规则(++ iter)迭代器遍历时为输出为排序状态(sorted ...
分类:
其他好文 时间:
2021-03-16 13:19:30
阅读次数:
0
TensorFlow Frontend前端 TensorFlow前端有助于将TensorFlow模型导入TVM。 Supported versions: 1.12 and below Tested models: Inception (V1/V2/V3/V4) Resnet (All) Mobile ...
分类:
其他好文 时间:
2021-03-16 11:59:01
阅读次数:
0
88. 合并两个有序数组 LeetCode_88 题目描述 方法一:暴力法 class Solution { public void merge(int[] nums1, int m, int[] nums2, int n) { for(int i=0, j=0; j<n;){ if(i >= m ...
分类:
编程语言 时间:
2021-03-16 11:51:29
阅读次数:
0
题意 如果两个数的数位和一样那么这两个数就是友好数,称数位和为友好ID,现在要找出给定的序列中有几个不同的友好ID 思路 按照要求模拟就好了 记录有几个不同的友好ID,可以采用set 代码 #include <iostream> #include <vector> #include <queue> ...
分类:
其他好文 时间:
2021-03-15 11:31:00
阅读次数:
0
leader https://vi.stackexchange.com/questions/836/what-is-leader Vim is full of various commands, which are assigned to almost all keys on the keyboar ...
分类:
系统相关 时间:
2021-03-15 11:29:06
阅读次数:
0
Check If a String Contains All Binary Codes of Size K (M) 题目 Given a binary string s and an integer k. Return True if every binary code of length k is ...
分类:
其他好文 时间:
2021-03-15 10:41:54
阅读次数:
0
列出所有repo文件 dnf repolist all 列出系统所有repo文件 dnf repolist 列出所有软件包(已安装+可用) dnf list 列出已安装的包 dnf list installed 列出可用的包 dnf list available 列出组包 dnf grouplist ...
分类:
其他好文 时间:
2021-03-11 20:48:56
阅读次数:
0
copter.g2.rc_channels的read_aux_all()任务定义在任务列表中 1 ////运行频率10HZ,最长时间是50 2 SCHED_TASK_CLASS(RC_Channels, (RC_Channels*)&copter.g2.rc_channels, read_aux_a ...
分类:
其他好文 时间:
2021-03-10 13:37:38
阅读次数:
0