choosing the ideal welding equipment You can get two functions in one machine. As cleanliness is a very important aspect that determines comfort and g...
分类:
Web程序 时间:
2014-09-05 17:50:01
阅读次数:
254
观察者模式(Observer Pattern)在项目中经常会被使用到,也被叫做发布订阅模式,也就是说 观察者 = 发布者 + 订阅者
GoF的《设计模式》中对观察者是这样描述的:
Define a one-to-many dependency between objects so that when one object changes state, all its depende...
分类:
其他好文 时间:
2014-09-05 01:00:30
阅读次数:
373
考查,最高位有进位 1 class Solution { 2 public: 3 vector plusOne(vector &digits) { 4 // IMPORTANT: Please reset any member data you declared, as 5 ...
分类:
其他好文 时间:
2014-09-04 23:36:30
阅读次数:
256
bool helper(TreeNode *pA, TreeNode *pB) { if (!pA && !pB) return true; if (!pA || !pB) return false; // only one has node in a tree and...
分类:
其他好文 时间:
2014-09-04 23:36:10
阅读次数:
308
迁移环境源:Solaris 10 + Oracle 11.2.0.3目标:Solaris 10 + Oracle 11.2.0.1导出命令:expdp user/pwd directory=jy content=metadata_only tables=xxx,xxx,xxx exclude=sta...
分类:
其他好文 时间:
2014-09-04 23:28:40
阅读次数:
361
ecshop是smarty的改版,删除了一些功能,比如模板中的四则运算被删除了,比如我们想通过运算得到循环的key+1这样是得不到他的值的,不过我们可以使用其他的方法来得到。
.iteration
iteration contains the current loop iteration and always starts at one, unlike
index It is inc...
分类:
其他好文 时间:
2014-09-04 22:23:30
阅读次数:
424
Description
Problem F
Coupons
Input: standard input
Output: standard output
Time Limit: 2 seconds
Memory Limit: 32 MB
Coupons in cereal boxes are numbered 1 to n, and a set of one of each...
分类:
其他好文 时间:
2014-09-04 20:56:10
阅读次数:
536
MedianTime Limit: 5 Seconds Memory Limit: 65536 KBThe median of m numbers is after sorting them in order, the middle one number of them if m is even o...
分类:
其他好文 时间:
2014-09-04 16:49:29
阅读次数:
190
DescriptionFarmer John's cows have discovered that the clover growing along the ridge of the hill (which we can think of as a one-dimensional number l...
分类:
其他好文 时间:
2014-09-04 16:16:59
阅读次数:
244
The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is read off as"tw...
分类:
其他好文 时间:
2014-09-04 14:46:49
阅读次数:
174