码迷,mamicode.com
首页 >  
搜索关键字:height    ( 24230个结果
Sicily-1063
一.题意一个员工是另外一个员工的老板必须满足的条件是作为老板的员工的薪水salary必须大于这个员工,而且作为老板的员工的身高height要大于等于这个员工。首先按照薪水的多少从小到大进行排序,然后找每一个员工的直属老板。注意老板的下属的数量为其下属的下属之和。二.用结构体。为了方便查询再加设一个按...
分类:其他好文   时间:2014-12-08 21:07:52    阅读次数:133
HTML_后台框架全屏界面_简易table形式
HTML_后台框架全屏界面_简易table形式 <!DOCTYPE?html> <html> <head> ?<meta?charset="UTF-8"> ?<title>Document</title> ?<style> ??html,?body?{ ???width:100%; ???height:100%; ???pad...
分类:Web程序   时间:2014-12-08 19:53:01    阅读次数:231
CSS精灵写法
无标题文档.div1{ width:420px;}.div1 li { list-style: none; float:left; border:1px solid #EAF3FA; background:#FBFCFF; margin:10px; width:120px; height:40px; line-height:40px; padding-left:10px;}.div span{pa...
分类:Web程序   时间:2014-12-08 17:44:19    阅读次数:206
javascript高质量编码04
库和API的设计:在参数设计中保持好的习惯:如顺序,width,height;top,right,bottom,left;如命名;将undefined看作没有值而不要表示非特定的值;在允许0,空字符串等为有效参数的地方,不要通过真值测试(||)来实现参数默认值;使用//var x === undef...
分类:编程语言   时间:2014-12-08 15:16:00    阅读次数:165
POJ 3261 USACO 2006 December Gold Milk Patterns
题目大意:给出一个字符串,求出出现过k次以上的最长的子串(可重叠). 思路:现弄出来sa数组和height数组,之后就是判断每个长度为k的height数组的区间中最小的数字的最大值了.为什么好多人都二分了?这只要单调队列扫一次就行了啊.. CODE: #include #include #include #include #include #define M...
分类:其他好文   时间:2014-12-08 13:57:55    阅读次数:134
移动端开发基础
1. viewport属性说明width使用与设备无关的像素表示所需的视区宽度。它可以是明确的数字(如 240)或最好是相对值,如 device-width。height使用与设备无关的像素表示所需的视区高度。它可以是明确的数字(如 320)或最好是相对值,如 device-height。initi...
分类:移动开发   时间:2014-12-08 10:28:31    阅读次数:147
ym—— Android 5.0学习之Tinting和Clipping
Drawable Tinting(着色) 设置 ImageView 的 android:tint 属性,可以达到以下效果: layout: <ImageView android:layout_width="100dp" android:layout_height="100dp" android:eleva...
分类:移动开发   时间:2014-12-07 13:53:21    阅读次数:232
jQuery选择器全解-基础选择器
Id选择:根据元素Id选择,$(“layer1”) 选择ID为layer1的元素alert($("#layer1").height());elementelement选择器是一个用于搜索的元素。指向DOM节点的标签名alert($("a").length);.class选择器.class选择器根据给...
分类:Web程序   时间:2014-12-07 13:46:26    阅读次数:301
android第一天
RelativeLayout(相对布局):layout/activity_main.xml<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"><Text..
分类:移动开发   时间:2014-12-07 06:54:19    阅读次数:176
andriod_第二天_表格布局
TableLayout(相对布局):layout/activity_main.xml<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"android:orientati..
分类:其他好文   时间:2014-12-07 06:53:19    阅读次数:223
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!