码迷,mamicode.com
首页 >  
搜索关键字:dis packet-drop    ( 1371个结果
1082 射击比赛 (20 分)
#include #include #include using namespace std; struct s { string id; int dis; } num[10010]; // 结构体数组变量开的大一点 bool cmp (s a, s b) { // 形参中用结构体定义两个结构体变量... ...
分类:其他好文   时间:2019-04-30 01:17:10    阅读次数:149
vue 设置button disabled
<button v-bind:disabled="dis" @click="alert">button</button> dis:'' || dis:'111' || dis:'aaaa' 都会设置按钮disabled="disabled" dis:false 才会取消这种状态,很神奇 这是官网上的 ...
分类:其他好文   时间:2019-04-30 01:04:23    阅读次数:292
CF396C On Changing Tree
"CF396C On Changing Tree" 给定一棵以 $1$ 为根的树,初始时所有点权为 $0$ 有 $m$ 次操作,分为两种 $1\ u\ x\ k$ 表示给以 $u$ 的子树中的每一个点 $v$ 点权增加 $x k\times dis(u,\ v)$ $2\ u$ 查询点 $u$ 的点 ...
分类:其他好文   时间:2019-04-28 14:05:55    阅读次数:128
安卓系统广播暴露设备信息-Android System Broadcasts Expose Device Information
Android device details are being exposed to running applications via Wi-Fi broadcasts in the mobile operating system, Nightwatch Cybersecurity has dis ...
分类:移动开发   时间:2019-04-27 09:59:17    阅读次数:141
物理机安装Kali Linux + Windows10双系统安装教程
转自 https://www.linuxidc.com/Linux/2018-08/153429.htm 一.镜像下载: 根据需求下载自己需要的版本 从官网下载kali 2018.2 的安装包:https://www.kali.org/downloads/ 二.烧录: 这里推荐用 win32 dis ...
分类:Windows程序   时间:2019-04-26 22:53:43    阅读次数:379
一天一个Linux命令--nmcli
nmcli命令连接和删除SSID nmcli d wifi #扫描无线 nmcli d wifi connect [SSID] password [wifi密码] #连接无线 nmcli dev dis [wlan0无线网卡] #断开无线 nmcli con del [SSID] #断开无线 详细参 ...
分类:系统相关   时间:2019-04-25 22:42:58    阅读次数:226
$P2212\ [USACO14MAR]浇地Watering\ the\ Fields$
"$problem$" 根据 两点之间距离 $dis\ = \sqrt{(x1 x2)^2+(y1 y2)^2}$ 然后就是个最短生成树的模板 带一点贪心。 $N别被这个误导了。。 边数最多可能为$(N (N 1))/2$ ...
分类:其他好文   时间:2019-04-20 19:31:36    阅读次数:111
leetcode 145. Binary Tree Postorder Traversal
I never tried before to implement postorder traversal of binary tree with non recursive method. So the ugly handwork is attached below. But In the dis ...
分类:其他好文   时间:2019-04-14 20:38:47    阅读次数:143
【Codeforces 1086B】Minimum Diameter Tree
【链接】 "我是链接,点我呀:)" 【题意】 题意 【题解】 统计叶子节点个数m 把每条和叶子节点相邻的边权设置成s/cnt就可以了 这样答案就是2 s/m(直径最后肯定是从一个叶子节点开始,到另外一个叶子节点结束) 证明: 设dis(i,j)表示节点i和节点j之间的权值和 设a[1],a[2].. ...
分类:其他好文   时间:2019-04-09 20:34:58    阅读次数:140
SHELL脚本进阶练习题
用for实现脚本判断/var/目录下所有文件的类型read-p"pleasrinputdirectory:"DISforFinls$DIS;do  TY=file$DIS/$F|egrep-o"link|text|block|directory"  case$TYin  text) &em
分类:系统相关   时间:2019-04-08 21:15:59    阅读次数:398
1371条   上一页 1 ... 26 27 28 29 30 ... 138 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!