【题目】
Given a non-negative number represented as an array of digits, plus one to the number.
The digits are stored such that the most significant digit is at the head of the list.
【题意】
给定一个非负整数,这个表示为一个数字数组。计算这个整数加1后的值。
【思路】
从低位到高位依次相加,注意处理进...
分类:
其他好文 时间:
2014-06-05 01:24:44
阅读次数:
250
Description Resource
Path Location
Type
cvc-complex-type.2.4.a: Invalid content was found starting with element 'init-param'. One of '{"http://java.sun.com/xml/ns/javaee":enabled, "http://java.sun....
分类:
Web程序 时间:
2014-06-03 05:31:38
阅读次数:
514
以下通过Simple Serial Interface进行设置,非扫描官方datasheet的设置条码....
分类:
其他好文 时间:
2014-06-03 05:03:16
阅读次数:
219
Finding Nemo
Time Limit: 2000MS
Memory Limit: 30000K
Total Submissions: 7373
Accepted: 1715
Description
Nemo is a naughty boy. One day he went into the deep sea all b...
分类:
其他好文 时间:
2014-06-03 03:04:50
阅读次数:
348
1、错误描述
freemarker.core.ParseException: Encountered "string" at line 21, column 21 in type.ftl.
Was expecting one of:
"}" ...
"." ...
"[" ...
"(" ...
"?" ...
"!" ...
......
分类:
其他好文 时间:
2014-06-02 23:10:09
阅读次数:
327
上一篇给大家讲到了cisco交换机的基本操作命令,趁端午节放假前,把cisco交换机的简单配置分享一下并预祝一下各位“端午节快乐”!Ok,要进行交换机的配置,首先就得进入交换机的全局配置模式,在成功连接交换机并且登陆成功进入特权模式下
1、输入进入全局配置模式:
switch#configure terminal
Enter configuration commands, one per l...
分类:
其他好文 时间:
2014-06-02 22:39:38
阅读次数:
336
【题目】
Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.
Below is one possible representation of s1 = "great":
great
/ gr eat
/ \ / g r e at
/ ...
分类:
其他好文 时间:
2014-06-01 09:41:05
阅读次数:
196
【题目】
Given two sorted integer arrays A and B, merge B into A as one sorted array.
Note:
You may assume that A has enough space (size that is greater or equal to m + n) to hold additional elements from B. The number of elements initialized in A and B are...
分类:
其他好文 时间:
2014-06-01 09:21:16
阅读次数:
292
【题目】
The gray code is a binary numeral system where two successive values differ in only one bit.
Given a non-negative integer n representing the total number of bits in the code, print the sequence of gray code. A gray code sequence must begin with 0.
...
分类:
其他好文 时间:
2014-06-01 09:16:29
阅读次数:
242
yum命令升级的时候,报出这个错误。There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
Please install a package which provides t...
分类:
编程语言 时间:
2014-05-31 17:42:52
阅读次数:
453