摘要: HDOJ4081 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 #include... 阅读全文
posted @ 2015-11-09 21:54 Kirai 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 个人算法训练题集:http://acm.hust.edu.cn/vjudge/contest/toListContest.action#contestType=0&contestRunningStatus=0&contestOpenness=0&title=风斩冰华&manager=密码xwd,欢迎... 阅读全文
posted @ 2015-11-09 21:14 Kirai 阅读(549) 评论(1) 推荐(0) 编辑
摘要: 题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1586题意是GF读懂的,我是个码手……做法是将边上两点adapter的费用加到边权上跑一遍最短路。题干里只给出了点数不超过1000个,并没有直接给出边的数量。所以要以... 阅读全文
posted @ 2015-11-09 15:53 Kirai 阅读(157) 评论(0) 推荐(0) 编辑