foo.cc: In function 'int main()':
foo.cc:16:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=m;i++)
^~~
foo.cc:22:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
sort(c,c+n);
^~~~
foo.cc:9: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:12:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a[i].n1,&a[i].m1);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-10T04:00:54.623Z","handle":"2020-07-10T04:00:54.623Z","cache_start":"2020-07-10T04:00:54.629Z","read_cases":"2020-07-10T04:01:05.451Z","judge":"2020-07-10T04:01:05.452Z","done":"2020-07-10T04:01:06.717Z"}