码迷,mamicode.com
首页 >  
搜索关键字:top    ( 21129个结果
查询sybase DB中占用空间最多的前20张表
按照数据行数查询Select top 20 name, row_count(db_id(), id) from sysobjects order by row_count(db_id(),id) desc按照分配的空间查询Select top 20 name, reserved_pages(db_i...
分类:数据库   时间:2014-07-16 19:09:13    阅读次数:274
poj 3254 Corn Fields 状压dp
#include #include using namespace std;#define mod 100000000int M,N,top=0;int cur[20],dp[20][600];int state[600],num[110];bool ok(int x){ if(x&x<<1)...
分类:其他好文   时间:2014-07-16 18:57:07    阅读次数:229
TOP N问题的若干实现
问题描述:在长度为n的序列中,找出其最大的N个数1.冒泡排序每冒泡一次,可将最大的数放到序列尾部,冒泡N次即可。时间复杂度:O(N*n)空间复杂度:O(1)2.扫描数组,将最大的N个数存在缓存中,当有更大的数到来时替换缓存中的数TOP_N(A,N) n = length of A cre...
分类:其他好文   时间:2014-07-16 18:18:57    阅读次数:211
js右侧悬浮框
示例:屏幕右侧悬浮框原理:oDiv.style.top = document.documentElement.clientHeight - oDiv.offsetHeight + scrollTop + "px";知识点:浏览器窗体的高度document.documentElement.client...
分类:Web程序   时间:2014-07-16 18:15:40    阅读次数:284
[HTML/CSS]说说position
目录语法作用使用定位的条件总结语法position : static absolute relative(static、absolute、relative常用值)。参数static :无特殊定位,对象遵循HTML定位规则。absolute :将对象从文档流中拖出,使用left,right,top,b...
分类:Web程序   时间:2014-07-16 18:10:54    阅读次数:237
jQuery转盘插件rotate
css.rotate{ background:#aaa; padding:100px; position: relative;}.point { position: absolute; top: 215px; left: 270px; width: 149p...
分类:Web程序   时间:2014-07-16 00:13:31    阅读次数:410
top命令的使用
top命令的第一行和uptime命令一样,都有系统的负载。 第二行是指进程的状态。 第三行是指cpu各个状态的百分比 us是用户cpu时间       sy是系统cpu时间        ni是优雅cpu时间     id是cpu空闲时间     wa是I/O等待时间      hi是硬件中断时间      st是流逝的时间(运行虚拟机时,执行其他任务的时间百分比) 系统的空闲时间和cpu...
分类:其他好文   时间:2014-07-15 12:30:02    阅读次数:220
二叉树的非递归遍历
先写下这个问题的模式 def preorderTraversal(self, root): if root == None: return [] re = [] insert root to stack s while s not empty: cur_root = top of stack s s.pop() how to handle cur_root how to ...
分类:其他好文   时间:2014-07-15 10:17:43    阅读次数:274
ShowMask
/images/lodding1.gif" id="lodding" style="margin-right:10px;margin-top:0px;"/>正在处理,请稍候...
分类:其他好文   时间:2014-07-14 21:44:18    阅读次数:282
div嵌套引起的margin-top不起作用
嵌套div中margin-top转移问题的解决办法在这两个浏览器中,有两个嵌套关系的div,如果外层div的父元素padding值为0,那么内层div的margin-top或者margin-bottom的值会“转移”给外层div。无标题文档上部层 子层原因:盒子没有获得haslayout造成 mar...
分类:其他好文   时间:2014-07-14 20:16:33    阅读次数:193
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!