- 博客(3)
- 收藏
- 关注
原创 c++洛谷P1144 最短路计数
#include <iostream> #include<stdio.h> #include<vector> using namespace std; #define max 1000000 #define inf 100000000 int n,m;//n个顶点m条边 vector<int>a[max] ;//边与边的连接 int num[max];//最短路径数目 bool visit[max];//访问节点 int d[max];//到某个点的最短距离
2022-03-04 12:05:39 369
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人