摘要: #include <bits/stdc++.h> using namespace std; using pii = pair<int, int>; using ll = long long; const int N = 1E5 + 10; ll stk[N]; ll top; ll x[N], y[ 阅读全文
posted @ 2022-04-20 17:01 Xxaj5 阅读(36) 评论(0) 推荐(0) 编辑
摘要: #include <bits/stdc++.h> using namespace std; using pii = pair<int, int>; const int N = 10010; vector<int> G[N]; bool st[N]; int dist[N]; int res = 1e 阅读全文
posted @ 2022-04-20 15:46 Xxaj5 阅读(16) 评论(0) 推荐(0) 编辑
摘要: #include <bits/stdc++.h> using namespace std; const int N = 550; using pii = pair<int, int>; struct Node{ int v, length, time; }; vector<Node> g[N]; i 阅读全文
posted @ 2022-04-20 15:22 Xxaj5 阅读(24) 评论(0) 推荐(0) 编辑