摘要:
dijkstra+判断。 #include <bits/stdc++.h> using namespace std; const int inf = 0x3f3f3f3f; int edges[210][210],visited[210]; int cnt[210],enemy[210],pre[2 阅读全文
posted @ 2024-04-10 19:51
YuKiCheng
阅读(19)
评论(0)
推荐(0)
摘要:
这题思路不难,但是真的真的不太好写。 #include <bits/stdc++.h> using namespace std; const int maxn = 10000; const int inf = 0x3f3f3f3f; vector<int> vec[maxn]; int line[m 阅读全文
posted @ 2024-04-10 19:47
YuKiCheng
阅读(27)
评论(0)
推荐(0)