摘要: MST , kruskal 直接跑----------------------------------------------------------------------#include#include#include#include#include#define rep( i , n ) fo... 阅读全文
posted @ 2015-06-03 21:36 JSZX11556 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 一棵树..或许用LCA比较好吧...但是我懒...写了个dijkstra也过了..----------------------------------------------------------------------------#include#include#include#include#... 阅读全文
posted @ 2015-06-03 12:31 JSZX11556 阅读(260) 评论(0) 推荐(0) 编辑