foo.cc: In function 'int main()':
foo.cc:28:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(register int j=0;j<e[i].size();j++)
~^~~~~~~~~~~~
foo.cc:35:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(register int j=0;j<e[i].size();j++)
~^~~~~~~~~~~~
foo.cc:16:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
~~~~~^~~~~~~~~~~
foo.cc:20:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&x,&y);
~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:24:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(register int i=1;i<=n;i++) scanf("%lld",&a[i]);
~~~~~^~~~~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-28T08:20:44.645Z","handle":"2020-07-28T08:20:44.645Z","cache_start":"2020-07-28T08:20:44.652Z","read_cases":"2020-07-28T08:20:46.374Z","judge":"2020-07-28T08:20:46.374Z","done":"2020-07-28T08:20:47.009Z"}