WM_NULL = 0x0000;WM_CREATE =
0x0001;应用程序创建一个窗口WM_DESTROY = 0x0002;一个窗口被销毁WM_MOVE = 0x0003;移动一个窗口WM_SIZE =
0x0005;改变一个窗口的大小WM_ACTIVATE = 0x0006;一个窗口被激活...
分类:
其他好文 时间:
2014-06-16 06:38:03
阅读次数:
243
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The robot is trying to reach the...
分类:
其他好文 时间:
2014-06-15 19:28:54
阅读次数:
246
伸展树是那么的迷人,总是让你在希望的时候WA,在绝望的时候AC。。。。。
做这个题没有之前,首先要了解树形结构转线性的做法。
推荐连接:http://blog.csdn.net/lyhypacm/article/details/6734748
本题做法:
对于本题的每一个最外层的盒子建立一颗伸展树。
对于move x y操作:
(1)把x为根的子树切下来。
(2)然后把切下来的子树放...
分类:
其他好文 时间:
2014-06-15 19:10:47
阅读次数:
302
Decription:Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, gi...
分类:
其他好文 时间:
2014-06-14 19:46:12
阅读次数:
251
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
Note: You can only move either down or right at...
分类:
其他好文 时间:
2014-06-13 20:36:56
阅读次数:
280
#includevoid move(int n,char a,char b,char c){
if(n==1) printf("\t%c->%c\n",a,c); //当n只有1个的时候直接从a移动到c else {
move(n-1,a,c,b)...
分类:
其他好文 时间:
2014-06-13 17:59:50
阅读次数:
171
big():创建一个标记,将这个字符串的字体变大blink():创建一个标记,使字符串具有闪烁效果bold():创建一个标记,使字符串加粗显示fixed():创建一个标记,使字符串固定倾斜显示italics():创建一个标记,使字符串以斜体显示small():创建一个标记,使字符串以小号字体显示su...
分类:
编程语言 时间:
2014-06-13 17:52:37
阅读次数:
370
小端存储--低内存低字节87654321字节或半字节的最低位字节(LowestSignificantBit,LSB)存放于内存最低位字节地址上。即最低地址存放的最低字节,为PowerPC,Intelx86系列等采用。inta=0x12345678;78为低字节12为高字节voidfFun(){int...
分类:
其他好文 时间:
2014-06-12 19:14:32
阅读次数:
225
题目
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The robot is trying t...
分类:
其他好文 时间:
2014-06-10 18:43:37
阅读次数:
254