摘要:
inline int read() { int n=0,f=1;char c=getchar(); while(c<'0'||c>'9'){if(c=='-') f=-1;c=getchar();} while(c>='0'&&c<='9') {n=n*10+c-'0';c=getchar();} 阅读全文
posted @ 2021-08-12 15:33
xiaoxiaowu
阅读(40)
评论(0)
推荐(0)
摘要:
邻接表的实现 #include <bits/stdc++.h> #define ll long long const int INF=0x3f3f3f3f; using namespace std; const int Max_n=1000005; vector<int> G[Max_n]; int 阅读全文
posted @ 2021-08-12 10:06
xiaoxiaowu
阅读(15)
评论(0)
推荐(0)

浙公网安备 33010602011771号