版本比较
Temp
正文
增加 2 行删除 2 行
51 行未改动52535455565758596018 行未改动798081828384858651 行未改动```cpp#include<bits/stdc++.h>using namespace std;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;}```51 行未改动52535455565758596018 行未改动798081828384858651 行未改动```cpp#include<bits/stdc++.h>using namespace std;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;}```