官方帮助http://space.cnblogs.com/forum/topic/8550
注:如果自动配置没有成功,需要手动配置: a) 在“Type of weblog that you are
using”中选择“Custom(Metaweblog API)”。b) “Remote posti...
ASCII Table ASCII值 控制字符 ASCII值 控制字符 ASCII值 控制字符
ASCII值 控制字符 0 NUT 32 (space) 64 @ 96 、 1 SOH 33 ! 65 A 97 a 2 STX 34 ” 66 B 98 b
3 ETX 35 # 67 C 9...
分类:
其他好文 时间:
2014-06-09 23:05:27
阅读次数:
289
http://acm.timus.ru/problem.aspx?space=1&num=1936F
- RoshamboTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d &
%I64uSubmit Status...
分类:
其他好文 时间:
2014-06-08 22:28:26
阅读次数:
300
【题目】
Follow up for problem "Populating Next Right Pointers in Each Node".
What if the given tree could be any binary tree? Would your previous solution still work?
Note:
You may only use constant extra space.
For example,
Given the following binary tre...
分类:
其他好文 时间:
2014-06-08 15:46:22
阅读次数:
303
【题目】
Given an index k, return the kth row of the Pascal's triangle.
For example, given k = 3,
Return [1,3,3,1].
Note:
Could you optimize your algorithm to use only O(k) extra space?
【题意】
给定行索引k, k从0开始,返回该索引指向的杨辉三角的行
要求只能使用O(k)的额外空间
【思路】
...
分类:
其他好文 时间:
2014-06-08 15:46:02
阅读次数:
272
题目:
Determine whether an integer is a palindrome. Do this without extra space.
解题思路:
判断一个int型整数是不是回文数字,这个题也不难,依次取得数字最高位和最低位进行比较,就可以判断是不是回文数字。需要注意的是负数不是回文数字。
代码实现:...
分类:
其他好文 时间:
2014-06-08 15:35:48
阅读次数:
375
题目
Two elements of a binary search tree (BST) are swapped by mistake.
Recover the tree without changing its structure.
Note:
A solution using O(n)
space is pretty straight forward. Cou...
分类:
其他好文 时间:
2014-06-08 15:32:45
阅读次数:
245
题目
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 el...
分类:
其他好文 时间:
2014-06-08 05:05:47
阅读次数:
268
Follow up for "Unique Paths":Now consider if
some obstacles are added to the grids. How many unique paths would there be?An
obstacle and empty space i...
分类:
其他好文 时间:
2014-06-08 00:33:42
阅读次数:
339
查了一大堆网上的资料全都没用,Google得知,是Windows 7 的socket泄漏
:https://supportkb.riverbed.com/support/index?page=content&id=S23580&actp=LIST_RECENT补丁下载地址:
http://suppo...
分类:
编程语言 时间:
2014-06-07 22:19:32
阅读次数:
857