Given a binary tree struct TreeLinkNode {
TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; }Populate each next
pointe...
分类:
其他好文 时间:
2014-07-22 23:16:35
阅读次数:
373
/** * Definition for binary tree * struct
TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) :
val(x), left(...
分类:
其他好文 时间:
2014-07-22 23:07:34
阅读次数:
312
1 background: -webkit-gradient(linear,left
bottom,left top,color-stop(0,white),color-stop(0.5,#eee));2 background:
-webkit-linear-gradient(center bott...
分类:
其他好文 时间:
2014-07-22 23:06:13
阅读次数:
364
只需要样式控制即可!.bg {background: #000;position:
absolute;top: 0;left: 0;width: 100%;height: 100%;filter:
alpha(opacity=35);-moz-opacity: 0.35;opacity: 0.35;...
分类:
Web程序 时间:
2014-05-01 16:27:52
阅读次数:
980
Sports Bags : bags, sport bags are always
highly desirable items used by schools , youth , strength teams players left
college sports alimony thing. T...
分类:
数据库 时间:
2014-05-01 14:26:26
阅读次数:
492
简单最小生成树,继续我的kruskal#include#include#include#includeusing namespace std;const int
MAX=1000000;struct node{ int left,right,cost;}road[MAX];bool cmp(n...
分类:
其他好文 时间:
2014-05-01 09:28:42
阅读次数:
333
1. ie的文档流样式 writing-mode:tb-rl.box1 a{
writing-mode:tb-rl; /* 触发layout 后面高度生效,文档流 自上往下,自右往左,宽度要自适应,文字方向在垂直方向居中 */
height:100%; vertical-align:middle}2...
分类:
Web程序 时间:
2014-05-01 07:59:22
阅读次数:
496
好久不写CSS代码 感觉忘的差不多了,代码就是要多敲才行的。就行武林中的武者一样,每天都要勤加练习才可。
正好写写博客,就当复习复习。
position 主要是用来 元素的定位方式
static : 无特殊定位,对象遵循HTML定位规则
absolute : 将对象从文档流中拖出,使用left,right,top,bottom等属性进行绝对定位。而其层叠通过z-index属性定义。此...
分类:
Web程序 时间:
2014-04-29 13:45:20
阅读次数:
354
* {
margin:0;
padding:0;
}
html,
body,
#box {
height:100%;
font:small/1.5 "宋体", serif;
}
body {
text-align:center;
}
#box {
text-align:left;
background:#666;
display:table;
wi...
分类:
Web程序 时间:
2014-04-29 13:36:20
阅读次数:
469
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-04-28 10:46:41
阅读次数:
311