随笔分类 -  最短路&&最小生成树

poj 1861(最小生成树)
摘要:辣鸡题,样例给的都不对,就是最小生成树 阅读全文

posted @ 2017-09-20 18:57 发牌员 阅读(127) 评论(0) 推荐(0)

hdu 3786(SPFA+dfs)
摘要:#include #include #include #include #include using namespace std; const int maxn=100000+10; const int inf=999999999; int hade1[maxn],hade2[20]; struct note { int next,e,w; }; note a[2*maxn],... 阅读全文

posted @ 2017-08-15 08:34 发牌员 阅读(173) 评论(0) 推荐(0)

导航