求连通块。
$ABC$之间建好边,然后计算连通块的个数。
#pragma comment(linker, "/STACK:1024000000,1024000000")#include#include #include #include #include
本文共 456 字,大约阅读时间需要 1 分钟。
求连通块。
$ABC$之间建好边,然后计算连通块的个数。
#pragma comment(linker, "/STACK:1024000000,1024000000")#include#include #include #include #include
转载于:https://www.cnblogs.com/zufezzt/p/6518710.html