- 博客(1)
- 收藏
- 关注
原创 洛谷P1339 热浪(Bellman-ford)
代码总览 #include <bits/stdc++.h> using namespace std; const int I=0x3f3f3f; const int N=7000; int n,m,s,t; int u[N],v[N],w[N],dis[N]; int i,j; int main(){ cin>>n>>m>>s>>t; //n个点,m条边,s是起点,t是终点 for(i=1;i<=m;i++)
2020-11-28 20:12:32
290
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅