http://{0}/_vti_bin/owssvr.dll?Cmd=Display&List={1}&XMLDATA=TRUE{0} – The URL to your site. This could be the root web or a child site.{1} – The GUID ...
分类:
其他好文 时间:
2014-07-16 18:57:53
阅读次数:
167
Word SearchGiven a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, wh...
分类:
其他好文 时间:
2014-07-16 18:17:13
阅读次数:
208
题目地址:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3794题目描述:N个城市,M条有向边。要从城市1开车到城市N,中途可以加油,也可以倒卖一次油,问最多能赚多少钱。油箱容量是C。N个城市中有P个城市(p1, p2…)可...
分类:
其他好文 时间:
2014-07-16 18:04:54
阅读次数:
483
Letter Combinations of a Phone NumberGiven a digit string, return all possible letter combinations that the number could represent.A mapping of digit ...
分类:
其他好文 时间:
2014-07-16 17:54:24
阅读次数:
222
rpm build errorerror message:/usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/RPMS find: invalid predicate `' error: Bad exit status from /var/tmp...
分类:
其他好文 时间:
2014-07-14 21:28:46
阅读次数:
791
1) http://ruby-hacking-guide.github.io/intro.htmlIt has one part to discuss “Technique to read source code”. BTW, you could download kindle file from....
分类:
其他好文 时间:
2014-07-14 19:44:11
阅读次数:
271
$("#result").find("tr").each(function () { $(this).find("td").each(function () { if ($(this).text().indexOf("惠") > ...
分类:
Web程序 时间:
2014-07-14 19:04:17
阅读次数:
276
一道比最基础的并查集有优化的题;
l 并查集的优化
1、Find_Set(x)时 路径压缩
寻找祖先时我们一般采用递归查找,但是当元素很多亦或是整棵树变为一条链时,每次Find_Set(x)都是O(n)的复杂度,有没有办法减小这个复杂度呢?
答案是肯定的,这就是路径压缩,即当我们经过"递推"找到祖先节点后,"回溯"的时候顺便将它的子孙节点都直接指向祖先,这样以后...
分类:
其他好文 时间:
2014-07-14 18:30:13
阅读次数:
233
有一定的难度,作者只做了前三题!
题目请见 http://download.csdn.net/download/wangpegasus/5701765
1、char *find_char(char const *source, char const *chars)
{
char *ptr;
if(source != NULL && chars != NULL)
{
for (; ...
分类:
其他好文 时间:
2014-07-14 18:16:35
阅读次数:
289