码迷,mamicode.com
首页 >  
搜索关键字:dis packet-drop    ( 1371个结果
华为三层交换+双链路出口
公司的网络使用场景:原来公司使用USG2200的防火墙,申请的是联通的固定IP光纤作为上网出口,现公司增加了技术开发部门和线上业务运营部门,需使用ads多条l线路制作软路由为为上网出口,需将原来的的三层交换机华为S5700默认路由改为策略路由。 原三层配置: dis cu # !Software V ...
分类:其他好文   时间:2020-12-28 11:52:55    阅读次数:0
【日常摸鱼】IOI2014
#【日常摸鱼】IOI2014 ##前言 摸鱼~~ ##Rail ###链接 http://uoj.ac/problem/24 ###题解 问题是好想的,因为 $3(n-1)$ 次询问确实搞不出什么花样。 第一轮肯定是询问所有点到 $0$ 的距离,记为 \(dis(i)\) 。最近的点一定是离 $0$ ...
分类:其他好文   时间:2020-12-16 12:31:52    阅读次数:2
C均值聚类算法的Python实现
class pattern: x=0 y=0 def __init__(self,x,y): self.x=x self.y=y def dis(a,b): return ((a.x-b.x)*(a.x-b.x)+(a.y-b.y)*(a.y-b.y))**0.5 eps=0.00001 maxn= ...
分类:编程语言   时间:2020-12-14 12:59:58    阅读次数:4
spfa与SLF和LLL(复习)
1 #include <bits/stdc++.h> 2 using namespace std; 3 const int mac=4e5+50; 4 int head[mac],vis[mac],dis[mac]; 5 int n,m,num,i,j,t; 6 struct edge{ 7 int ...
分类:其他好文   时间:2020-11-04 17:45:08    阅读次数:15
算法模板之SPFA
Bellman-Ford能够处理带负权图的单源最短路问题。(带负劝环的图,无法求出单源最短路) Bellman-Ford的主要思想如下: ? 给定一张有向图,若对于图中的某一条边(x,y,z),有$dist[y]<=dist[x]+z$成立,则称该边满足三角不等式。若所有边都满足三角不等式,则dis ...
分类:编程语言   时间:2020-10-22 22:16:19    阅读次数:21
Redis之MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist………………
Redis问题 MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are dis ...
分类:数据库   时间:2020-10-13 17:08:07    阅读次数:33
※NC14700 追债之旅
最短路变形题,加一维状态就好啦 $dist[i][j]$表示到达第$i$号点,到达时间为第$j$天的最短距离 判重数组要和$dist$数组一致 直接跑$dijkstra$即可 const int N=1010; vector<PII> g[N]; struct Node { int dis,u,da ...
分类:其他好文   时间:2020-10-10 17:45:26    阅读次数:19
任意文件读取
#任意文件读取常见参数名: &RealPath= &FilePath= &file= &filename= &Path= &path= &inputFile= &url= &urls= &Lang= &dis= &data= &readfile= &filep= &src= &menu= &META ...
分类:其他好文   时间:2020-09-18 01:59:35    阅读次数:35
LayUI分页样式修改
layUI的分页样式大多是这样的: 可能跟我们的项目不是很搭,比如这样风格的页面: ,那么我们就需要修改一下分页的样式去搭配整体风格,你可以另外写一个css文件去重新写样式以覆盖layui的css,分页的样式在这块 .layui-laypage a,.layui-laypage span { dis ...
分类:其他好文   时间:2020-09-17 20:56:20    阅读次数:116
【题解】P1099 树网的核
P1099 树网的核 已知i到j是一条路径,求k到这条路径的距离 \(ans = (dis[i][k] + dis[i][k] - dis[i][j] ) / 2\) 乱搞 300数据乱搞之——最短路求解直径 300数据乱搞之——n^3的最短路求法 求 n的唯一路径求法 300数据乱搞之——n^2枚 ...
分类:其他好文   时间:2020-09-09 19:04:53    阅读次数:33
1371条   上一页 1 2 3 4 5 ... 138 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!