首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
t103489专题
T103489 【模板】边双连通分量
题目地址 易错点: 设桥时需要考虑双向边.dfs时需要设置当前点的dcc. #include<cstdio>#include<iostream>using namespace std;const int MAXN=1e5,MAXM=1e6;struct Edge{int from,to,nxt;}e[MAXM];int head[MAXN],edgeCnt=1
阅读更多...