foo.cc: In function 'void solve()':
foo.cc:42:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=0;j<v[i].size();j++)
               ~^~~~~~~~~~~~
foo.cc:79:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=n;i++) cout<<ans[i]<<" ";cout<<endl; 
  ^~~
foo.cc:79:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  for(int i=1;i<=n;i++) cout<<ans[i]<<" ";cout<<endl; 
                                          ^~~~
   
  
    正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务