foo.cc: In function 'int main()':
foo.cc:81:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
if(win[len1].s==lose[len2].s)
^
foo.cc:31:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&r,&p);
~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:33:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q[i].s);
~~~~~^~~~~~~~~~~~~~
foo.cc:37:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q[i].w);
~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务