foo.cc: In function 'void gao(int, int, int)':
foo.cc:8:11: warning: unused variable 'b' [-Wunused-variable]
8 | int a,b,c=0,y=x;
| ^
foo.cc: In function 'void get_sg(int)':
foo.cc:16:13: warning: unused variable 'c' [-Wunused-variable]
16 | int a,b,c;
| ^
foo.cc: In function 'int main()':
foo.cc:35:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
35 | scanf("%d",&T);
| ~~~~~^~~~~~~~~
foo.cc:39:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
39 | scanf("%d%d",&n,&q);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:43:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
43 | scanf("%d",&b);
| ~~~~~^~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务