正常的 tarjan 有一行是:
else if(instk[v]){ low[u]=min(low[u],dfn[v]); }
而我写成了:
else if(instk[v]){ low[u]=min(low[u],low[v]); }
可以通过。