码迷,mamicode.com
首页 >  
搜索关键字:height    ( 24230个结果
Problem Balanced Binary Tree
Problem Description:Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tre...
分类:其他好文   时间:2014-07-07 13:27:35    阅读次数:207
[leetcode] Largest Rectangle in Histogram
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist...
分类:其他好文   时间:2014-07-03 11:09:35    阅读次数:185
[CSS]三层嵌套的滑动门
原理:最外层放水平平铺的背景,第二层放左边,第三层放右边,注意这个做法背景图不能透明结构: 样式:.module-title { height:33px; background: url(../images/more-title.png) 0 -33px repeat-x; text-inden.....
分类:Web程序   时间:2014-07-01 18:23:28    阅读次数:235
jquery 操作iframe、frameset
============================================iframe<iframename="a"src="a.aspx"width="300px"height="200px"></iframe> <iframename="b"src="b.aspx"width="300px"height="200px"></iframe>------------1,主框架操作a$(window.frames["a"].document..
分类:Web程序   时间:2014-07-01 09:35:11    阅读次数:249
单点登录之CAS简单介绍
cas官网http://www.ja-sig.org/products/cas/。 ok,现在开始本文的重点内容讲解,先来了解一下cas 实现single sign out的原理,如图所示: CAS" border="0" height="345" width="588">                                         图一 CAS"...
分类:其他好文   时间:2014-07-01 06:29:53    阅读次数:224
swift中类似宏定义
建一个类如,在Contans.swift中import UIKitlet kMAIN_SIZE = UIScreen.mainScreen().bounds在其他地方直接用比如在MyTabbarViewController.swift中var bgView = UIView(frame:CGRect...
分类:其他好文   时间:2014-07-01 00:06:49    阅读次数:172
几个常用的CSS3样式代码以及不兼容的解决办法
border-radius实现圆角效果1 CSS3代码:2 3 -webkit-border-radius:10px;4 -moz-border-radius:10px;5 border-radius:10px;6 background-color:#666;7 width:200px;height...
分类:Web程序   时间:2014-06-30 22:45:40    阅读次数:367
POJ 2217 Secretary (后缀数组)
题目大意: 计算两个字符串的最长的公共字符串字串的长度。 思路分析: 将两个串合并起来。 然后直接跑后缀数组求出height 然后就可以直接扫描一次height ,加个是不是在一个串中的判断就可以了。 #include #include #include #include #define maxn 200005 using namespace std; cha...
分类:其他好文   时间:2014-06-30 19:59:06    阅读次数:194
POJ 1743 Musical Theme (后缀数组)
题目大意: 刚才上88个键弹出来的音符。 如果出现重复的,或者是高一个音阶的重复的都算。 思路分析: 具体可以参考训练指南222. height数组表示按照排序后的sa最近的两个后缀的最长前缀。 将height 分块。然后二分答案,二分答案之后去判断是否满足。 要考虑到不重合,还有大于5。 所以二分的时候要从5开始,然后判断的时候要加一个 up - down >le...
分类:其他好文   时间:2014-06-30 19:27:18    阅读次数:242
CSS3 box-orient 属性
CSS3 box-orient 属性CSS 参考手册实例水平排列 div 元素的子元素:div{width:350px;height:100px;border:1px solid black;/* Firefox */display:-moz-box;-moz-box-orient:horizont...
分类:Web程序   时间:2014-06-29 19:50:04    阅读次数:261
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!