1050: [HAOI2006]旅行comf Description 给你一个无向图,N(N<=500)个顶点, M(M<=5000)条边,每条边有一个权值Vi(Vi<30000)。给你两个顶点S和T,求 一条路径,使得路径上最大边和最小边的比值最小。如果S和T之间没有路径,输出”IMPOSSIBL ...
分类:
其他好文 时间:
2017-08-29 21:46:29
阅读次数:
193
stream在Unix系统中是个标准的概念。 In computer programming, standard streams are preconnected input and output communication channels[1] between a computer progra ...
分类:
其他好文 时间:
2017-08-25 19:55:59
阅读次数:
194
A. Diversity time limit per test:1 second memory limit per test:256 megabytes input:standard input output:standard output Calculate the minimum number ...
分类:
编程语言 时间:
2017-08-25 10:51:02
阅读次数:
239
Win7客户端无法拨号提示778 CentOS服务器端 日志/var/log/messages提示一下错误信息 GRE: read(fd=6,buffer=611860,len=8196) from PTY failed: status = -1 error = Input/output error ...
分类:
其他好文 时间:
2017-08-24 10:49:33
阅读次数:
251
Description Description Input Output Input Input Output Output Sample Input 6 8 2 2 4 5 1 2 4 0 2 1 3 5 0 2 3 4 1 5 1 2 5 1 0 1 4 6 4 2 2 5 6 0 4 2 1 ...
分类:
其他好文 时间:
2017-08-24 00:04:12
阅读次数:
186
Description Description Input Output Input Input Output Output Sample Input 9 10 2 1 2 1 1 4 1 3 4 1 2 3 1 3 7 1 7 8 2 7 9 2 1 5 3 1 6 4 5 6 1 1 9 5 7 ...
分类:
其他好文 时间:
2017-08-22 20:52:20
阅读次数:
222
A. Chess Tourney time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Chess Tourney time li ...
分类:
Web程序 时间:
2017-08-22 20:14:50
阅读次数:
155
Description Description Input Output Input Input Output Output Sample Input 3 2 2 1 4 2 3 5 1 1 4 2 2 5 1 3 2 1 3 1 2 4 1 3 5 1 1 3 2 2 5 1 2 2 1 2 2 ...
分类:
其他好文 时间:
2017-08-22 19:49:31
阅读次数:
244
题目描述 输入 第一行正整数 N M 输出 一行(有换行符),L,表示水平延伸最远的整数距离 (不大于答案的最大整数) 样例 #1 Input: 1 100 Output: 49 #2 Input: 2 100 Output: 74 题解 数论 一个结论:桌面上摆$n$本长度为$l$的书,不掉出桌面 ...
分类:
其他好文 时间:
2017-08-22 19:44:24
阅读次数:
141
iptables规则 内核netfilter的规则: iptables的规则: 基本操作 实践:往iptables中插入一条规则:禁止基于端口号为22的所有客户端访问(等于是禁止基于SSH的客户端连接)。 插入前: 插入后: 命令: INPUT,OUTPUT输入输出 FORWARD转发 NAT网络地 ...
分类:
其他好文 时间:
2017-08-22 14:22:54
阅读次数:
205