摘要: P4779 【模板】单源最短路径(标准版) - 洛谷 | 计算机科学教育新生态 (luogu.com.cn) dij 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int macn=1e5+50; 4 const int macm 阅读全文
posted @ 2020-11-03 13:50 剩下的交给时间就好 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream>//abcdab bcdb 2 #include <bits/stdc++.h> 3 using namespace std; 4 int main(){ 5 char x[105],y[105]; 6 cin>>x>>y; 7 int n,m; 8 n=s 阅读全文
posted @ 2020-11-03 13:14 剩下的交给时间就好 阅读(51) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <cstdio> #include <algorithm> #include <math.h>// 3 1 1 5 5 4 4 using namespace std; double d=1e9; struct node{ int x,y; 阅读全文
posted @ 2020-10-21 20:35 剩下的交给时间就好 阅读(66) 评论(0) 推荐(0) 编辑