POJ 2075 Tangled in Cables (kruskal算法 MST + map)...
分类:
编程语言 时间:
2015-03-17 00:52:31
阅读次数:
244
1. HTML语法: 由Tag组成层级结构,标签视为名,而值插在当中。 关键组成符:, ', ", &2. 解析模式: 文件开头告知, 但亦可由Content-Type传递, 关于1中的关键符, 可由封装3. 解析器行为: 对错误容忍度极高,空格,特殊字符,HTML过滤器设计有时不能只考...
分类:
Web程序 时间:
2014-09-05 17:55:31
阅读次数:
169
Description
A suspension bridge suspends the roadway from huge main cables, which extend from one end of the bridge to the other. These cables rest on top of high towers and are secured at each end...
分类:
其他好文 时间:
2014-09-03 00:20:15
阅读次数:
334
There are n SMTP servers connected by network cables. Each of the m cables connects two computers and has a certain latency measured in milliseconds required to send
an email message. What is the sh...
分类:
其他好文 时间:
2014-08-11 21:25:02
阅读次数:
384
http://poj.org/problem?id=2075题目大意:给你一些人名,然后给你n条连接这些人名所拥有的房子的路,求用最小的代价求连接这些房子的花费是否满足要求。思路:昨天20分钟的题,输入不小心写错了- -|||||看世界杯半场歇息随便看了下发现了。。。。T T用map进行下标的映射,...
分类:
编程语言 时间:
2014-08-11 09:59:31
阅读次数:
287
给你一些人名,然后给你n条连接这些人名所拥有的房子的路,求用最小的代价求连接这些房子的花费是否满足要求。
附带C++ /JAVA实现...
分类:
编程语言 时间:
2014-07-11 08:21:41
阅读次数:
214