我刚开始写的是
for (int i = 1; i <= n ; ++i) { if (!dfn[i]) tarjan(i); }
WA了 提交记录
后面改成了
tarjan(c);
AC了 提交记录
想请大佬们解释一下原因