码迷,mamicode.com
首页 >  
搜索关键字:top k    ( 21129个结果
jQuery
才开始学习不就的jQuery ,虽然不是很习惯(用css2,css3习惯了),但是上网查查还是弄到一些jQuery 的常用知识。1、回到顶部 网站中很常用的回到顶部功能代码如下:$(document).ready(function() { //when the id="top" link...
分类:Web程序   时间:2014-08-18 01:25:43    阅读次数:235
tarjan算法模板
var{left表示点 root 没离开栈 vis表示点 root 有没有被访问过} i,n,m,now,time,color,top:longint; v:array[0..10001] of record start:longint;end; e:array[0..100001] of r...
分类:其他好文   时间:2014-08-17 22:42:52    阅读次数:229
一个网站的诞生08-- 在Web App嵌入地图
LBS-Location Based Service,基于位置的服务。如果要在Web App嵌入地图,差不多可以做成LBS了。zuijiancanting.com的设计理念,是把Top餐厅放在地图上,那么当你到某个地方逛逛,或者有约会,拖拉一下地图就可以找到合适的餐厅。 提供地图API服务的公司很多,国外有GoogleMap,OpenStreetMap,国内有百度地图,腾讯地图,高德地图...
分类:移动开发   时间:2014-08-17 21:24:02    阅读次数:296
Linux 服务器高I/O 等待延迟问题查找
0. 首先是top查看一下系统状况 发现两个参数异常,一是平均负载高,一是cpu %wa一直在50%以上。 查了一下%wa参数的意义: wa -- iowait Amount of time the CPU has been waiting for I/O to complete. 1. 查看磁...
分类:系统相关   时间:2014-08-17 17:12:52    阅读次数:308
jquery页面加载效果
此为有时页面加载很慢时体验效果很不好而写的加载动画CSS样式:#loading{position:fixed;_position:absolute;top:50%;left:50%;width:124px;height:124px;overflow:hidden;background:url(wai...
分类:Web程序   时间:2014-08-17 12:57:32    阅读次数:162
Pick-up sticks(计算几何_线段相交)
Description Stan has n sticks of various length. He throws them one at a time on the floor in a random way. After finishing throwing, Stan tries to find the top sticks, that is these sticks such th...
分类:其他好文   时间:2014-08-16 17:11:52    阅读次数:272
(凸包模板)(刘汝佳)
struct point{ int x,y;} p[N],stack[N];bool cmp(point A,point B){ if(A.y==B.y)return A.x1&&cross(stack[top-2],stack[top-1],p[i])=0; i--) { ...
分类:其他好文   时间:2014-08-16 16:20:40    阅读次数:199
UVA - 12295 Optimal Symmetric Paths (递推)
Description   Optimal Symmetric Paths  You have a grid of n rows and n columns. Each of the unit squares contains a non-zero digit. You walk from the top-left square to the b...
分类:其他好文   时间:2014-08-16 12:36:50    阅读次数:332
[leetcode]Minimum Path Sum
Minimum Path SumGiven amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along ...
分类:其他好文   时间:2014-08-16 02:13:49    阅读次数:189
Triangle
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:其他好文   时间:2014-08-15 23:47:19    阅读次数:302
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!