摘要:
解题前提 假设 u = 1010,则 v 可能为 1000、0010、1010。即对于 u 的每一位: u[i]为1,v[i]为1或0。 u[i]为0,v[i]为0。 假设 u = 1010, v = 1010,则 u+v=10100,其中 v 可以看作 1000+0010。 将所有v分解为原子操作 阅读全文
摘要:
瞬间索引功能 由于windows内置的文件索引速度非常慢,所以通常在本地查找文件,我们需要借助“基于名称实时定位文件和目录(Locate files and folders by name instantly)”软件,例如everthing等软件。 在windows10系统升级至20H2版本后,突然 阅读全文
摘要:
题目链接 "题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=1711" 题意 裸KMP算法 时间复杂度 O(m+n) 代码如下(G++) c include include "string.h" using namespace std; int a[10 阅读全文
摘要:
题目链接 "题目链接 http://poj.org/problem?id=2503" 题意 英文A 方言B 输入B,求A 代码如下(G++) c++ include include include "map" include "string" using namespace std; typedef 阅读全文