ACM-最短路
文章平均质量分 83
4546love
这个作者很懒,什么都没留下…
展开
-
HDU 1142
<br />http://acm.hdu.edu.cn/showproblem.php?pid=1142<br />#include<iostream> #include<cstdio> #include<queue> using namespace std; #define N 1001 #define M 500000 struct Graph { struct node { int v,next,w; node(){}; node原创 2011-04-21 11:08:00 · 1189 阅读 · 0 评论 -
HDU 2962
<br />http://acm.hdu.edu.cn/showproblem.php?pid=2962<br />#include<iostream> #include<cstdio> #include<algorithm> #include<cstring> #include<queue> using namespace std; #define N 1001 #define M 1000005 #define inf 0x7fffffff int bin[N]; struct Ro原创 2011-04-22 21:18:00 · 920 阅读 · 0 评论 -
HDU 2722 Here We Go(relians) Again
http://acm.hdu.edu.cn/showproblem.php?pid=2722#include #include using namespace std; #define N 450 #define M 10000 #define inf 0x7原创 2011-07-03 19:09:40 · 997 阅读 · 0 评论 -
HDU 2482 Transit search
http://acm.hdu.edu.cn/showproblem.php?pid=2482#include #include #include #include #include using namespace std; #define N 5050 #de原创 2011-07-05 11:33:29 · 1618 阅读 · 2 评论 -
HDU 3191 次短路 How Many Paths Are There
http://acm.hdu.edu.cn/showproblem.php?pid=3191#include #include #define N 55 #define M 10000 #define inf 0x7fffffff using namespac原创 2011-07-04 21:34:56 · 1593 阅读 · 0 评论 -
HDU 3832 Earth Hour
http://acm.hdu.edu.cn/showproblem.php?pid=3832#include #include #include #include using namespace std; #define N 205 #define M 400005 #defin原创 2011-07-13 10:28:18 · 963 阅读 · 0 评论