题目要求:Combination Sum IIGiven a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate number...
分类:
其他好文 时间:
2015-02-07 20:18:42
阅读次数:
122
First Missing PositiveGiven an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Yo...
分类:
其他好文 时间:
2015-02-07 20:17:25
阅读次数:
127
前几天一个女同事看到我的一张名片说,周哥看起来还是蛮酷的。另一个男同事说,我们老大本来就很帅啊。这是我的个人名片,我觉得酷的是,敏捷个人创始人。更酷的是,快乐、高效、平衡。你快乐吗?你高效吗?你平衡吗?如果你正在迷茫中,那就跟着敏捷个人一起成长吧。关于敏捷个人的话题,我说了太多了,网上也可以找到很多...
分类:
其他好文 时间:
2015-02-07 20:18:07
阅读次数:
263
1、配置multiget为下载器可执行路径:$HOME/opt/bin/multiget参数模板:[url=URL]空格[refer=REFERER]2、配置lftp为下载器可执行路径:/usr/bin/xterm参数模板:-e /usr/bin/lftp -c pget -n -c 8 [URL]...
分类:
其他好文 时间:
2015-02-07 20:16:48
阅读次数:
128
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:
其他好文 时间:
2015-02-07 20:16:49
阅读次数:
123
来源:http://www.cnblogs.com/damonlan/archive/2012/04/28/2473525.html作者:浪迹天涯很多时候,我们需要在浏览器中让一个div居中进行显示,而不会受到滚动条的影响,那怎么才能得到效果?其实,很简单,你需要理解下面这段就可以了。最前端开人郁闷...
分类:
其他好文 时间:
2015-02-07 20:18:09
阅读次数:
134
Tibco RV 有提供 request/reply 模式,也有提供 publish/subscribe 模式,這兩種模式的用途分別是,request/reply 用在一對一的狀況下,而 publish/subscribe 則是用在一對多。雖然 request/reply 是用在一對一,Tibco ...
分类:
其他好文 时间:
2015-02-07 20:16:21
阅读次数:
197
2015.2.7#import //面向过程,C语言是偏向面向过程编程的语言,C语言也可以实现面向对象编程,如:操作系统底层代码实现,很多都用了面向对象的编程思想//面向过程的程序设计,把事物按照事物的发展过程,分成很多执行步骤,每一步都用函数实现,通过函数的调用实现对应的功能//五子棋//1.显示...
分类:
其他好文 时间:
2015-02-07 20:15:34
阅读次数:
292
题目要求:Combination SumGiven a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT...
分类:
其他好文 时间:
2015-02-07 20:15:34
阅读次数:
132
【转】http://hi.baidu.com/cm186man/blog/item/148658ce557c0323b700c853.html具体步骤如下:1.到Adobe官网下载FlashBuilder 4.6,有简体中文版;语言:简体中文(Simplified)http://trials3.ad...
分类:
其他好文 时间:
2015-02-07 20:15:25
阅读次数:
188
Openwrt配置计划任务
分类:
其他好文 时间:
2015-02-07 20:16:05
阅读次数:
125
1 /* 2 将01背包,完全背包,和多重完全背包问题结合起来,那么就是混合三种背的问题 3 根据三种背包的思想,那么可以得到 4 混合三种背包的问题可以这样子求解 5 for(int i=1; i18 #include 19 20 /*21 有n件物品和一个容量为v的背包,第i种物品最多有n[i....
分类:
其他好文 时间:
2015-02-07 20:14:55
阅读次数:
185
在遍历中使用 iterator/reverse_iterator 进行 Erase 的使用方法罗朝辉 (http://blog.csdn.net/kesalin/)本文遵循“署名-非商业用途-保持一致”创作公用协议众所周知,在使用迭代器遍历 STL 容器时,须要特别留意是否在循环中改动了迭代器而导致...
分类:
其他好文 时间:
2015-02-07 20:12:54
阅读次数:
406
题目要求:Count and SayThe count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.1...
分类:
其他好文 时间:
2015-02-07 20:12:50
阅读次数:
103
类型“System.Data.EntityState”在未被引用的程序集中定义。必须添加对程序集“System.Data.Entity, Version=4.0.0.0, Culture=neu错误:类型“System.Data.EntityState”在未被引用的程序集中定义。必须添加对程序集“S...
分类:
其他好文 时间:
2015-02-07 20:14:44
阅读次数:
178
做解析器做得多的我,一上来就觉得要写解析器,麻烦,于是想偷懒用java的正则表达式类Pattern直接进行判断,结果wa了,原因是这题要求的正则表达式只是真正正则表达式的一个子集。比如|12是合法正则表达式,但是此题中属于不合法。还是把代码贴上吧:import java.util.Scanner;i...
分类:
其他好文 时间:
2015-02-07 20:13:53
阅读次数:
110
我在使用编辑器的过程中是比较喜欢使用快捷键的,因为这样可以在操作中更加便捷①ctrl+k,ctrl+d,代码重排②ctrl+k,k就是ctrl键加连续两次k键,添加书签,然后通过ctrl+k,ctrl+p将插入符号移动到上一书签。ctrl+k,ctrl+p,将插入符号移动到下一书签。通过这种方式可以...
分类:
其他好文 时间:
2015-02-07 20:12:52
阅读次数:
155