方法一:孩子兄弟表示法 即对于某一个点,记录他的第一个孩子以及他的同父亲的下一个儿子。 具体代码如下: 方法二:指针表示法 (未完待续。。。) ...
分类:
其他好文 时间:
2016-11-25 23:43:24
阅读次数:
191
1 aloft -adv- 飞向天空 2 resolute -adj- 坚决的 3 slumber -n- 睡眠 4 endeavor -n v- 努力 5 ridicule -v- 嘲笑 愚弄 6 tedious -adj- 无聊的 7 provincial -adj- 地方性的 8 genial ...
分类:
其他好文 时间:
2016-11-25 22:49:50
阅读次数:
209
复制:private void button1_Click(object sender, System.EventArgs e) { // Takes the selected text from a text box and puts it on the clipboard. if(textBox ...
AdapterView 和 RecyclerView 的连续滚动androidRecyclerViewtutorial概述ListView 和 GridView 的实现方式RecyclerView 的实现方式复位连续滚动状态故障排查在自定义的适配器中显示进度概述应用中一个常见的使用场景就是:当用户滚... ...
分类:
其他好文 时间:
2016-11-23 12:55:58
阅读次数:
410
print("Do you have 3 chances!")age_of_oldboy = 56count = 0while count <3: guess_age = int(input("Guess Age:")) if guess_age == age_of_oldboy : print(" ...
分类:
其他好文 时间:
2016-11-20 19:30:46
阅读次数:
165
trie_filter是屏蔽敏感词的非常有用的扩展。以下是我的实践。ubuntu1404+php5.3.29+libiconv-1.13.1+libdatrie安装libiconvwgethttp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gztarzxvflibiconv-1.13.1.tar.gzcdlibiconv-1.13.1./configure–prefix=/usr/localmak..
分类:
Web程序 时间:
2016-11-20 00:23:41
阅读次数:
227
Intelligent IME Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4776 Accepted Submission(s): 222 ...
分类:
编程语言 时间:
2016-11-20 00:09:19
阅读次数:
236
题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=2222 题意:给你一系列子串,再给你一个主串问你主串一共有几个匹配子串 原来使用字典树写的但数据有点大TLE了,然后就开始学习ac自动机了,ac自动机就像是多串匹配的kmp原理也是类似的。 这题可以练一下 ...
分类:
其他好文 时间:
2016-11-19 15:54:16
阅读次数:
139
When I am writing this article, actually I just recalled my past 6 years' experience, it seems that I already have a very complex experience than many ...
分类:
其他好文 时间:
2016-11-19 11:57:09
阅读次数:
172
题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=1247 题意:给你一系列字符串问你哪些字符串可以由已知的两个字符串组成,输出该字符串。 还是一道字典树,稍微涉及到一些搜索依旧简单。 ...
分类:
其他好文 时间:
2016-11-18 06:58:32
阅读次数:
130