From a987d9b00afe5883a3c67b454cf29a97c92cb94b Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Sun, 24 Nov 2024 14:58:17 +0800 Subject: [PATCH] update --- src/1124/U182685.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/1124/U182685.cpp b/src/1124/U182685.cpp index f5fe519..2183808 100644 --- a/src/1124/U182685.cpp +++ b/src/1124/U182685.cpp @@ -4,13 +4,14 @@ using ll = int64_t; const ll maxn{ll(1e6+5)}; ll t,n,m,ind[maxn]; -vector> adj[maxn]; +vector>> 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();