题目: DescriptionYou are given a tree withNnodes.The tree nodes are numbered from1toN.Each node has an integer weight.We will ask you to perfrom the fol...
分类:
其他好文 时间:
2015-09-07 12:25:42
阅读次数:
486
给定一个字符串,输出最长的重复子串举例:ask not what your countrycan do for you,but what youcan do for yourcountry最长的重复子串:can do for you思路:使用后缀数组解决分析:1、由于要求最长公共子序列,则需要找到字...
分类:
其他好文 时间:
2015-09-06 01:05:15
阅读次数:
177
wamp2.5安装完毕后,自己手动重新设置了apache的默认根目录。 但是发现本机可以访问,别人不能访问。提示信息为:Forbidden you dont hava permission to access * on the server表示你没有权限访问!这是比较常见...
分类:
Web程序 时间:
2015-09-05 18:00:13
阅读次数:
175
jQuery最大的好处:可以不用考虑浏览器的兼容性。一.选择器1.将普通对象封装成jQuery对象var test = document.getElementById('zh-profile-ask-inner-list');var jqtest = $(test);jqtest.get(0);2....
分类:
Web程序 时间:
2015-09-04 23:55:57
阅读次数:
194
https://ask.wireshark.org/questions/16343/install-wireshark-on-ubuntu sudo?dpkg-reconfigure?wireshark-common sudo?adduser?$USER?wireshark...
分类:
系统相关 时间:
2015-09-02 12:02:49
阅读次数:
211
Some of my friends ask me a question: "Does FTK index search support regular expression?" They just participated in FTK Bootcamp last month, and they'...
分类:
其他好文 时间:
2015-08-30 21:04:55
阅读次数:
218
AVR Programming MethodsThere are many ways to program AVR microcontrollers.Since many people ask about different ones at one time or another, I though...
分类:
其他好文 时间:
2015-08-28 21:18:36
阅读次数:
211
原文地址:http://ask.dcloud.net.cn/article/166HTML5+的离线本地存储有如下多种方案:HTML5标准方案:cookie、localstorage、sessionstorage、websql、indexedDBHTML5Plus扩展方案:plus.storage、...
分类:
微信 时间:
2015-08-25 13:09:50
阅读次数:
365
原文地址:http://ask.dcloud.net.cn/article/166HTML5+的离线本地存储有如下多种方案:HTML5标准方案:cookie、localstorage、sessionstorage、websql、indexedDBHTML5Plus扩展方案:plus.storage、...
分类:
移动开发 时间:
2015-08-25 11:52:37
阅读次数:
715