版本比较
钥匙题专项训练
正文
增加 2 行删除 2 行
31 行未改动3233343536363738394024 行未改动6566676869697071727384 行未改动31 行未改动
代码:
```cpp#include<bits/stdc++.h> #include<bits/stdc++.h>#define ll long longusing namespace std;const int MAXN=200;ll t;24 行未改动 ll ns=0; for(ll i=1;i<=n;++i) if(!use[i]) for(auto v:a[i].h) add(a[i].nd,v); add(a[i].nd,v); queue<ll>k; k.emplace(0);vis[0]=1; while(!k.empty()) {84 行未改动