04 2021 档案
摘要:地址:http://ybt.ssoier.cn:8088/problem_show.php?pid=1352 1 #include<bits/stdc++.h> 2 using namespace std; 3 4 vector<int> mp[105];//图(邻接表) 5 queue<int>
阅读全文
摘要:和1350是同一个题 地址:http://ybt.ssoier.cn:8088/problem_show.php?pid=1349 Prim代码: 1 #include<bits/stdc++.h> 2 #define INF 0x3f3f3f3f 3 using namespace std; 4
阅读全文
摘要:地址:http://ybt.ssoier.cn:8088/problem_show.php?pid=1348 1 #include<bits/stdc++.h> 2 using namespace std; 3 4 int n,m,num; 5 struct edge{ 6 int a,b,c; 7
阅读全文
摘要:地址:http://ybt.ssoier.cn:8088/problem_show.php?pid=1392 #include<bits/stdc++.h> using namespace std; int n,m,num; struct edge{ int a,b,c; }mp[90005];//
阅读全文
摘要:地址:http://ybt.ssoier.cn:8088/problem_show.php?pid=1381 邻接表代码(Bellman_Ford): 1 #include<bits/stdc++.h> 2 #define INF 0x3f3f3f3f 3 using namespace std;
阅读全文

浙公网安备 33010602011771号