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);
~~~~~^~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-08-08T05:46:23.986Z","handle":"2020-08-08T05:46:23.986Z","cache_start":"2020-08-08T05:46:23.994Z","read_cases":"2020-08-08T05:46:25.769Z","judge":"2020-08-08T05:46:25.775Z","done":"2020-08-08T05:46:28.359Z"}