题目: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, given the....
分类:
编程语言 时间:
2014-08-03 04:40:04
阅读次数:
351
/*QTreeView*/
QTreeView{
alternate-background-color:yellow;
}
QTreeView{
show-decoration-selected:1;
}
QTreeView::item{
border:1pxsolid#d9d9d9;
border-top-color:transparent;
border-bottom-color:transparent;
}
/*鼠标在QTreeView上面移动时的效果*/
QTreeView:..
分类:
其他好文 时间:
2014-08-01 20:13:22
阅读次数:
2752
高斯模糊函数的升级版本,带剪裁区域。
函数check_rect()是处理剪裁区域矩形。如果不打算剪裁,只需要设置left, top, right, bottom都为0就可以了;另外位图的存储格式是上下反转的,如果正常剪裁的话,只需要设置bottom为 -bottom即可。...
分类:
其他好文 时间:
2014-08-01 16:10:51
阅读次数:
310
Software License
.box { overflow:hidden; width:96%; margin: 0 auto; padding-top: 20px;}
.lan { overflow:hidden; margin-bottom:20px; color:#2f2f2f; background-color:#eee;}
...
分类:
移动开发 时间:
2014-07-31 20:57:17
阅读次数:
332
今天初识css3看来JQuery高级编程要放到最后去看了。笔记:a:link{color:blue;}未访问a:visited{color:blue;}已访问a:hover{color:red;}悬浮a:active{color:yellow;}活动链接css代码格式p{css属性:属性值}border-radius:xxpx;(边框圆角)padding-(top,left,right,bottom):xxp..
分类:
Web程序 时间:
2014-07-31 10:00:36
阅读次数:
447
CSS代码: .floatDiv { right: 0; bottom: 50%; position: absolute; z-index: 100; margin-right: 10px; } 代码使用: 浮动DIV 代码效果:
分类:
Web程序 时间:
2014-07-30 11:41:33
阅读次数:
181
停留在窗体下面 处于
force my form to stay on the bottom?unit Unit1;interfaceusesWindows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialo...
关键点
控制滚动条在最下面 实现过程 SendMessage(form1.Memo1.Handle,WM_VSCROLL,SB_BOTTOM,0); 图 备注 相关链接 来自为知笔记(Wiz)
分类:
其他好文 时间:
2014-07-29 20:44:32
阅读次数:
167
Problem Description
Alice and Bob are playing a game. There are two piles of cards. There are N cards in each pile, and each card has a score. They take turns to pick up the top or bottom card from...
分类:
其他好文 时间:
2014-07-29 15:03:28
阅读次数:
248
1.栈的简介
栈是一种后入先出的数据结构,一般包含两种最基本的操作:入栈(push)和出栈(pop)。
入栈操作:top指针上移,元素入栈。
出栈操作:top指针下移。
栈空的条件:top == bottom
栈满的条件:top == maxsize-1
2.有数据序列1 2 3一次存入一个栈stack中,则出栈顺序可以为以下四种:
1,2,3; 2,1,3; 3,2,1; 1,3,...
分类:
其他好文 时间:
2014-07-29 14:27:19
阅读次数:
237