摘要:
Floyd #include<bits/stdc++.h> using namespace std; int n,m,s,e; bool vis[10005]; int INF=0x3f3f3f3f; int d[1005][1005]; int p[1005][1005]; int G[1005] 阅读全文
posted @ 2023-08-04 16:59
竹余居居居居居
阅读(20)
评论(0)
推荐(0)
摘要:
最短路径(迪科斯特算法模板) #include<bits/stdc++.h> using namespace std; int n,m,s; bool vis[10005]; int INF=0x3f3f3f3f; int d[10005]; struct node{ int v,w; }; vec 阅读全文
posted @ 2023-08-04 16:59
竹余居居居居居
阅读(14)
评论(0)
推荐(0)
摘要:
分糖果 #include<bits/stdc++.h> using namespace std; int a[1005][1005]; int d[1005]; int minn=INT_MAX; bool b[1005]; vector<int> g[1005]; int y; int k; in 阅读全文
posted @ 2023-08-04 15:51
竹余居居居居居
阅读(73)
评论(0)
推荐(0)

浙公网安备 33010602011771号