foo.cc: In function 'void gao(int, int, int)':
foo.cc:8:11: warning: unused variable 'b' [-Wunused-variable]
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]
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]
scanf("%d",&T);
~~~~~^~~~~~~~~
foo.cc:39:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
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]
scanf("%d",&b);
~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务