码迷,mamicode.com
首页 >  
搜索关键字:jungle roads    ( 729个结果
HDU1301 Jungle Roads 【最小生成树Prim】
Jungle Roads Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 4268    Accepted Submission(s): 3120 Problem Description The Head ...
分类:其他好文   时间:2014-07-29 17:53:22    阅读次数:283
uva539 The Settlers of Catan
The Settlers of Catan Within Settlers of Catan, the 1995 German game of the year, players attempt to dominate an island by building roads, settlements...
分类:其他好文   时间:2014-07-29 16:57:12    阅读次数:253
POJ 1251 Jungle Roads
Jungle Roads Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 19064   Accepted: 8702 Description The Head Elder of the tropical island of Lagrishan has a ...
分类:其他好文   时间:2014-07-29 14:36:00    阅读次数:229
HDU1102 Constructing Roads 【最小生成树Prim】
Constructing Roads Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 13756    Accepted Submission(s): 5223 Problem Description There ar...
分类:其他好文   时间:2014-07-29 12:59:37    阅读次数:240
HDOJ 1301 Jungle Roads
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1301//HDOJ1301#include#includeusing namespace std;#define MAX 99999#define LEN 30int dist[LEN];//某点的权值 ...
分类:其他好文   时间:2014-07-28 19:15:04    阅读次数:285
hdu1025
Constructing Roads In JGShining's KingdomTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15323Acce...
分类:其他好文   时间:2014-07-26 16:55:01    阅读次数:295
poj 3411 Paid Roads (dfs)
题目链接题意:有N个城市被M条道路连接起来了,每两个城市之间可能存在超过一条路,但是城市之间是单向连接的。每条路是要花费的。每条路的花费可以选择两种方式:1:假如a城市到达b城市,如果之前经过了c城市,那么这条路上的花费为P也可以为R。2:如果没有经过c,则这条路上的花费为R。问从城市1到城市n最小...
分类:其他好文   时间:2014-07-26 01:19:16    阅读次数:167
【HDU1301】Jungle Roads(MST基础题)
爽爆。史上个人最快MST的记录7分40s。。一次A。 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 10 #define typec int11 us...
分类:其他好文   时间:2014-07-24 22:53:33    阅读次数:247
poj-3067 Japan(树状数组)
DescriptionJapan plans to welcome the ACM ICPC World Finals and a lot of roads must be built for the venue. Japan is tall island with N cities on the ...
分类:其他好文   时间:2014-07-24 21:43:52    阅读次数:270
HDU 1025 Constructing Roads In JGShining's Kingdom
这是最大上升子序列的变形,可并没有LIS那么简单。需要用到二分查找来优化。看了别人的代码,给人一种虽不明但觉厉的赶脚直接复制粘贴了,嘿嘿原文链接:http://blog.csdn.net/ice_crazy/article/details/7536332假设存在一个序列d[1..9] = 2 1 5...
分类:其他好文   时间:2014-07-23 12:04:56    阅读次数:276
729条   上一页 1 ... 67 68 69 70 71 ... 73 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!