码迷,mamicode.com
首页 >  
搜索关键字:top k    ( 21129个结果
Google Code Jam 2009, Round 1C C. Bribe the Prisoners (记忆化dp)
ProblemIn a kingdom there are prison cells (numbered 1 toP) built to form a straight line segment. Cells numberiandi+1are adjacent, and prisoners in a...
分类:其他好文   时间:2014-08-19 12:36:24    阅读次数:234
使用jQuery实现返回顶部功能
很多网站上都有返回顶部的效果,本文阐述如何使用jquery实现返回顶部按钮。 首先需要在顶部添加如下html元素: 返回顶部 其中a标签指向锚点top,可以在顶部防止一个的锚点,这样在浏览器不支持js时也可以实现返回顶部的效果了。 要想让返回顶部的图片显示在右侧,还需要一些css样式,如下: /*returnTop*/ p#back-to-top{ po...
分类:Web程序   时间:2014-08-19 07:08:53    阅读次数:245
查看进程占用内存大小的几种方法
1. pmap -x pid2. ps -aux | grep 进程名 ps -e -o 'pid,comm,args,pcpu,rsz,vsz,stime,user,uid' | grep 进程名3. top -d 1 -p pid4. cat /proc/[pid]/status
分类:其他好文   时间:2014-08-18 18:03:32    阅读次数:226
Java进阶之欧拉工程 第十五篇【网格路径问题】
网格路径问题,中文翻译如下: 从 22的格子的左上角开始,只允许向右和向下移动,一共有六种路径可以抵达右下角 那么在2020的路径中一共有多少条这样的路径? 原题如下: Starting in the top left corner of a 22 grid, and only being able to move to the right and down...
分类:编程语言   时间:2014-08-18 16:33:02    阅读次数:232
css 制作三角形图标 不支持IE6
.triangle {width: 10px;height: 10px;overflow: hidden;border-left: 4px solid rgba(0, 224, 255, 1);border-right: 4px solid rgb(0, 255, 10);border-top: 4...
分类:Web程序   时间:2014-08-18 16:10:32    阅读次数:195
06linux管理命令
基本框架: df du 与磁盘或目录相关的命令 Free 查看内存的使用状况 Ps 查看进程 Top 显示当前进程的动态变化 Kill killall 向进程发送信号 Rpm 安装软件包命令 Tar 备份与恢复文档的命令1、 df du df -h 查询磁盘分区使用情况 df + 目录 查询该目录....
分类:系统相关   时间:2014-08-18 16:01:32    阅读次数:337
查询目前运行状态-CPU等情况
对目前的数据库的运行状况有一个基本的了解SELECT TOP ( 10 )DB_NAME(a.dbid) AS dbname ,loginame ,spid ,cpu ,b.text ,lastwaittype ,waitresource ,a.[status] ,hostname AS WebSe...
分类:其他好文   时间:2014-08-18 14:25:42    阅读次数:140
两列布局,一列定宽,一列宽度自适应
方法一:body{ margin: 0;}.container{ height: 300px; overflow: hidden;}.left{ width: 200px; height: 300px; background: red; position: absolute; left:0; top...
分类:其他好文   时间:2014-08-18 12:15:04    阅读次数:160
当页弹出对话框的实现
Html代码,思路是一个背景层加一个内容层这里是你的自定义弹出内容CSS代码#modalBg {position: absolute;left: 0;top: 0;width: 100%;height: 100%;background-color: #000;opacity: 0.8;filter:...
分类:其他好文   时间:2014-08-18 10:44:53    阅读次数:207
sqlserver查看索引使用情况以及建立丢失的索引
--查看表的索引使用情况SELECT TOP 1000o.name AS 表名, i.name AS 索引名, i.index_id AS 索引id, dm_ius.user_seeks AS 搜索次数, dm_ius.user_scans AS 扫描次数, dm_ius.user_lookups ...
分类:数据库   时间:2014-08-18 10:29:34    阅读次数:368
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!