考查,最高位有进位 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
网络设备也是网络边界很重要的设备,是整个数据中心的主干道,不能有任何闪失,这两天对Nexus网络设备进行了简单的安全加固,对主要的操作进行了下总结,如下:1、在Nexus建立了一个只读帐号,如要用来查看配置和查看一下其他的信息。由于Nexus有较好且易于操作的RBAC控制机制..
分类:
其他好文 时间:
2014-09-04 15:05:20
阅读次数:
331
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
Within the society using the unbelievable speed and advancement, anything could not be achieved prior to now has become one particular piece of cake, ...
分类:
其他好文 时间:
2014-09-04 13:09:29
阅读次数:
191