update
This commit is contained in:
parent
bc61588d94
commit
a987d9b00a
@ -4,13 +4,14 @@ using ll = int64_t;
|
||||
|
||||
const ll maxn{ll(1e6+5)};
|
||||
ll t,n,m,ind[maxn];
|
||||
vector<pair<ll,ll>> adj[maxn];
|
||||
vector<vector<pair<ll,ll>>> adj{maxn};
|
||||
|
||||
int main(){
|
||||
ios::sync_with_stdio(0),cin.tie(0),cout.tie(0);
|
||||
|
||||
|
||||
cin>>t;
|
||||
while(t--){
|
||||
|
||||
cin>>n>>m;
|
||||
fill(ind,ind+n+1,0);
|
||||
for(ll i{1};i<=n;i++)adj[i].clear();
|
||||
|
Loading…
Reference in New Issue
Block a user