foo.cc: In function 'int main()':
foo.cc:19:12: warning: unused variable 'j' [-Wunused-variable]
int i, j, k, t;
^
foo.cc:19:15: warning: unused variable 'k' [-Wunused-variable]
int i, j, k, t;
^
foo.cc:19:18: warning: unused variable 't' [-Wunused-variable]
int i, j, k, t;
^
foo.cc:21:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &a, &b);
~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:24:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q[i]);
~~~~~^~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务