摘要:
将edge按权值排序 , O( m² ) 枚举边 , 利用并查集维护连通信息.-----------------------------------------------------------------------------------------#include#include#inclu... 阅读全文
摘要:
并查集离线搞....------------------------------------------------------------------------------------#include#include#include#include#include#include#define ... 阅读全文