foo.cc: In function 'void dfs(int)':
foo.cc:47:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<e2[x].size();i++)
~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:81:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
~~~~~^~~~~~~~~~~~~~
foo.cc:83:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&e[i].u,&e[i].v,&e[i].w);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:85:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
kruskal(),scanf("%d",&q);
~~~~~~~~~^~~~~~~~~~~~~~~
foo.cc:106:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
~~~~~^~~~~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-28T08:19:13.483Z","handle":"2020-07-28T08:19:13.483Z","cache_start":"2020-07-28T08:19:13.490Z","read_cases":"2020-07-28T08:19:16.368Z","judge":"2020-07-28T08:19:16.369Z","done":"2020-07-28T08:19:20.250Z"}