PAT 1013 Battle Over Cities (25分) 图的连通分量+DFS

Copyright: 采用 知识共享署名4.0 国际许可协议进行许可

Links: https://vivi.run/archives/pat-1013-battle-over-cities