《Intel® 64 and IA-32 Architectures Software Developer’s Manual》中有这样一句话: The numerical value of a set bit is equal to two raised to the power of the bi ...
分类:
其他好文 时间:
2018-10-30 00:29:04
阅读次数:
193
1 <!DOCTYPE html> 2 <html> 3 <body> 4 <title>统计字符串中某个字符的个数</title> 5 <script> 6 var countryList=["one","two","three","four","five","six"]; 7 var count ...
分类:
其他好文 时间:
2018-10-29 21:32:55
阅读次数:
141
1、Two Sum """Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input w... ...
分类:
其他好文 时间:
2018-10-29 20:09:02
阅读次数:
132
You are given an array A of strings. Two strings S and T are special equivalent if after any number of moves, S == T. A move consists of choosing two ...
分类:
其他好文 时间:
2018-10-29 14:13:28
阅读次数:
183
touch text_one.txt 创建文件cp test_one test_two 复制文件cp *.txt aa/ 把以txt结尾的文件都复制到aa文件夹下mv aa.txt aa/aaaaaaaaaaa.txt 将aa.txt移动到aa文件夹并改名rm -i aa.txt 交互式删除文件rm ...
分类:
系统相关 时间:
2018-10-29 12:26:58
阅读次数:
179
题目描述 继MIUI8推出手机分身功能之后,MIUI9计划推出一个电话号码分身的功能:首先将电话号码中的每个数字加上8取个位,然后使用对应的大写字母代替 ("ZERO", "ONE", "TWO", "THREE", "FOUR", "FIVE", "SIX", "SEVEN", "EIGHT", ...
分类:
其他好文 时间:
2018-10-28 14:59:08
阅读次数:
211
发现从顶点入手不太方便,我们从这个“公共部分最长”开始考虑问题,因为要求这一条公共部分的链最长,可以联想到树的直径,那么本题就是要求一条类似于直径的东西使两个端点除了直径这一条链之外还有不少于两个的儿子,我们只要把这两个儿子交叉输出一下就得到了本题的答案。只要两次$dfs$就可以分别求出这一条链的两 ...
分类:
其他好文 时间:
2018-10-28 11:12:43
阅读次数:
102
恢复内容开始 quadrotor This is an example of a camera called a Ladybug in two versions of the black and the red one. Which is an array of cameras capturing ...
分类:
其他好文 时间:
2018-10-28 00:53:23
阅读次数:
374
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:
其他好文 时间:
2018-10-27 15:22:19
阅读次数:
117
quadrotor This is an example of a camera called a Ladybug in two versions of the black and the red one. Which is an array of cameras capturing panoram ...
分类:
其他好文 时间:
2018-10-27 14:53:29
阅读次数:
177