版本比较
Temp
正文
增加 2 行删除 2 行
51 行未改动5253545556565758596018 行未改动79808182838384858651 行未改动```cpp#include<bits/stdc++.h>using namespace std;
const int MAXN = 5e4 + 5; const int MAXN = 5e4 + 5;long long n, d1[MAXN], d2[MAXN];struct whole{ long long to, w;18 行未改动 cin >> u >> v >> w; edge[u].push_back((whole) {v, w}); edge[v].push_back((whole) {u, w}); }
return 0;}```