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();