码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
线段树专题—POJ 3667 Hotel(区间合并模板)
题意:给一个n和m,表示n个房间,m次操作,操作类型有2种,一种把求连续未租出的房间数有d个的最小的最左边的房间号,另一个操作时把从x到x+d-1的房间号收回。 分析:这是一个区间合并的典型应用,基本只要套套模板就好了 下面是对区间合并的解释: up函数:当修改完此时的区间时,为了维护该区间上面区间值的正确性,向上回朔更新上面区间的值 down函数:把延迟标记下传,并修改下...
分类:其他好文   时间:2015-08-15 14:57:24    阅读次数:106
牛皮市和猴市的好工具和指标:BOLL
(转贴)布林线BOLL用法布林线是股市中经常用到的技术指标之一,它反映了股价的波动状况。山版软件指标图中的布林线由三条组成,上边的白线(up)是阻力线,下边的黄线(down)是支撑线,中间的粉红线(mb)为平均线.当股价盘整时,阻力线和支撑线收缩,称为收口;股价向上或向下突破时,阻力线和支撑线打开,...
分类:其他好文   时间:2015-08-15 13:28:28    阅读次数:129
Aircrack-ng无线审计流程(简化初稿)
准备工作:确保无线网卡支持混杂模式并运行正常。(自带网卡多不支持混杂)ifconfig命令若无法查看到无线网卡,使用ifconfig -a查看所有适配器,找到无线网卡对应分配的名称(如wlan0),ifconfig wlan0 up启用。1.airmon-ng check检测占用网卡的进程,将其杀死...
分类:其他好文   时间:2015-08-15 00:10:57    阅读次数:248
poj3666(Making the Grade)
Description A straight dirt road connects two fields on FJ's farm, but it changes elevation more than FJ would like. His cows do not mind climbing up or down a single slope, but they are not fond...
分类:其他好文   时间:2015-08-14 22:52:48    阅读次数:336
Nagios配置之交换机及路由
监控交换机大多是监控交换机端口up/down,以及端口流量。监控开启状态需要snmp协议,请确保交换机及路由已开启snmp,并设置好社区集(community),监控流量需要mrtg1、安装mrtgyuminstallmrtgPerllibpngzlib2、修改snmpd的配置,以使其允许mrtg读取其interface(网络接口)流量..
分类:移动开发   时间:2015-08-14 19:34:33    阅读次数:146
Warm up---hdu4612(求树的直径)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4612给一个无向图, 加上一条边后,求桥至少有几个;那我们加的那条边的两个顶点u,v;一定是u,v之间含有桥的数量最多,然后uv之间的桥都没了,剩下的就是要求的结果;树的直径的定义刚好就是两个节点之间含有...
分类:其他好文   时间:2015-08-14 13:37:09    阅读次数:141
poj1631(Bridging signals)
Description 'Oh no, they've done it again', cries the chief designer at the Waferland chip factory. Once more the routing designers have screwed up completely, making the signals on the chip conn...
分类:其他好文   时间:2015-08-14 11:46:55    阅读次数:127
codeforces 232D Fence
John Doe has a crooked fence, consisting ofnrectangular planks, lined up from the left to the right: the plank that goesi-th(1?≤?i?≤?n)(from left to r...
分类:其他好文   时间:2015-08-14 11:24:57    阅读次数:111
Sum It Up POJ 1564 HDU 杭电1258【DFS】
Problem Description Given a specified total t and a list of n integers, find all distinct sums using numbers from the list that add up to t. For example, if t=4, n=6, and the list is [4,3,2,2,1,1],...
分类:其他好文   时间:2015-08-13 12:18:34    阅读次数:93
【LeetCode-面试算法经典-Java实现】【117-Populating Next Right Pointers in Each Node(二叉树链接右指针II)】
【117-Populating Next Right Pointers in Each Node(二叉树链接右指针II)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Follow up for problem “Populating Next Right Pointers in Each Node”.   What if the given tree could b...
分类:编程语言   时间:2015-08-13 07:47:20    阅读次数:156
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!