摘要:
一、题目描述 二、解题思路 tarjan求割边模板题,用个答案数组存答案,求出来后排序就可以了。 三、代码实现 1 #include "bits/stdc++.h" 2 using namespace std; 3 int G[200][200]; 4 int low[200],dfn[200],t 阅读全文
posted @ 2022-02-13 19:30
RKevinR
阅读(85)
评论(0)
推荐(0)
摘要:
一、题目描述 二、解题思路 Dijkstra模板题,套模板即可。 三、代码实现 1 #include "bits/stdc++.h" 2 using namespace std; 3 const int inf = 1e9; 4 int dis[210],vis[210]; 5 int graph[ 阅读全文
posted @ 2022-02-13 19:28
RKevinR
阅读(56)
评论(0)
推荐(0)

浙公网安备 33010602011771号