Trie树,又称字典树,单词查找树。它来源于retrieval(检索)中取中间四个字符构成的。用于存储大量的字符串以便支持快速模式匹配。主要应用在信息检索领域。 Trie有三种结构:标准Trie(standard trie),压缩Trie,后缀Trie(suffix trie)。 1、标准Trie ...
分类:
其他好文 时间:
2014-09-14 14:06:37
阅读次数:
242
Standard I/O library
1 byte oriented or wide(multibyte) oriented
标准IO文件流可以是单字节或者是多字节字符集,流定向决定了字符串读写时是单字节还是多字节。当流建立的时候,没有定向。当一个多字节IO函数使用在流上面的时候,流被设置为宽(multibyte)定向;当一个字节IO函数使用在流上面的时候,流被设置...
分类:
其他好文 时间:
2014-09-13 12:04:45
阅读次数:
226
pat 1085. Perfect Sequence (25)
时间限制
300 ms
内存限制
32000 kB
代码长度限制
16000 B
判题程序
Standard
作者
CAO, Peng
Given a sequence of positive integers...
分类:
其他好文 时间:
2014-09-13 04:08:14
阅读次数:
278
如果已安装旧版,先卸载,然后在安装新版本; 安装完毕后,打开Unity,在Build Settings中设置: Import the Visual Studio Tools Unity package You can import it like a standard asset package. ...
分类:
其他好文 时间:
2014-09-12 20:34:54
阅读次数:
268
Problem A
The Most Distant State
Input: standard input
Output: standard output
The 8-puzzle is a square tray in which eight square tiles are placed. The remaining ninth square is uncovered. Eac...
分类:
其他好文 时间:
2014-09-12 17:16:43
阅读次数:
203
Morley’s
Theorem
Input: Standard Input
Output: Standard Output
Morley’s theorem states that that the lines trisecting the angles of an arbitrary plane triangle meet at the vertices of an equilat...
分类:
其他好文 时间:
2014-09-12 15:07:13
阅读次数:
184
sudo npm install -g bowersudo npm install -g meaniosudo bower cache clean --allow-rootsudo mean init myAppcd myApp && sudo npm installsudo bower insta...
分类:
其他好文 时间:
2014-09-11 20:45:32
阅读次数:
206
Activity启动模式设置: Activity的四种启动模式: 1. standard 模式启动模式,每次激活Activity时都会创建Activity,并放入任务栈中。 2. singleTop 如果在任务的栈顶正好存在该Activity的实...
分类:
其他好文 时间:
2014-09-10 23:49:11
阅读次数:
254
Abstract. Doxygen is the de facto standard tool for generating documentation from annotated C++ sources, but it also supports other popular programmin...
分类:
其他好文 时间:
2014-09-10 23:43:11
阅读次数:
282
Mean:题目描述:给一个包含非负整数的数组(长度为n),找出由这些数字组成的最大的3的倍数,没有的话则输出impossible。analyse:首先想到的就是直接暴力,这是最蠢的方法,数据一大的话,必会TLE。直接用蛮力的话,生成所有的组合,为 2^n个,对每个数字再进行比较判断,需要 O(n)的...
分类:
其他好文 时间:
2014-09-10 20:54:11
阅读次数:
192