It's very simple to configure a IBM HTTP Server / Apache service on a server. But sometimes, considering the cost or any other reason, we need to sha....
分类:
Web程序 时间:
2014-07-19 20:09:56
阅读次数:
313
(更新中)A:ZOJ 3611BFS+状态压缩【题意】:给定一张n*m的图,图上每个点有如下情况:L,R,D,U:代表在该点上只能往它已经给定的方向前进。#,W:不能走到该点。$:走到该点,可以花两分钟得到一分值,然后可以从该点向任意方向走。0:走到该点后可以向任意方向走。然后给你起点和终点坐标,问...
分类:
其他好文 时间:
2014-07-19 00:01:21
阅读次数:
269
A Simple Problem with IntegersTime Limit:5000MSMemory Limit:131072KTotal Submissions:58269Accepted:17753Case Time Limit:2000MSDescriptionYou haveNinte...
分类:
其他好文 时间:
2014-07-18 23:17:23
阅读次数:
232
线段树:延伸标记+暴力更新
记得刚学线段树的时候做这题WA了一版。。。。。现在分分钟搞定。。。。
Count the Colors
Time Limit: 2 Seconds Memory Limit: 65536 KB
Painting some colored segments on a line, some previously painted segm...
分类:
其他好文 时间:
2014-07-18 23:07:26
阅读次数:
330
题意:
猴子们打架 认识的猴子不会打架 两只猴子打完以后就认识了 A认识B B认识C A也认识C 每次打架由两伙猴子进行 分别选出自己的最高战斗力 在战斗之后两只猴子战斗力减半 给出m次打架 输出打架后这一伙猴子里的最强战斗力
思路:
判断两只猴子是不是一伙的 用到并查集
快速找出一伙猴子中的最强战斗力用到堆 但打完架两伙猴子合并时堆需要nlogn复杂度 因此用左偏树代替堆...
分类:
其他好文 时间:
2014-07-18 22:37:45
阅读次数:
235
DescriptionConsidering a light entering three adjacent planes of glass.At any meeting surface, the light may either reflect or continue straight throu...
分类:
其他好文 时间:
2014-07-18 21:11:27
阅读次数:
207
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/><title>prototype与jQuery冲突解决4<..
分类:
Web程序 时间:
2014-07-18 17:06:14
阅读次数:
224
常用的JQuery插件有如下几种写法:1.对JQuery自身的扩展插件这种插件是对JQuery自身的方法库进行扩展的。在使用的时候通过$.MethodName()的方式直接使用。$.extend({
handleTableUI:function(table){
varthisTable=$("#"+table);
$(thisTable).find("tr").bind("mouseover",fu..
分类:
Web程序 时间:
2014-07-17 16:30:39
阅读次数:
218
Run Length Encoding(RLE) is a simple form of compression. RLE consists of the process for searching for a repeated runs of a single character in a str...
分类:
其他好文 时间:
2014-07-17 14:02:18
阅读次数:
252
希望的效果如图:网上找了各纯css的做了下修改:代码如下:<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<style>
.logo1{
width:150px;
height:60px;
float:left
}
a.alt{
position:relative;
backgr..
分类:
其他好文 时间:
2014-07-17 10:55:57
阅读次数:
231