foo.cc: In function 'int main()':
foo.cc:59:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
59 | scanf("%d", &digit);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:60:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
60 | scanf("%d", &leftNum);
| ~~~~~^~~~~~~~~~~~~~~~
foo.cc:61:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
61 | scanf("%d", &rightNum);
| ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:63:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
63 | scanf("%d", &p[i]);
| ~~~~~^~~~~~~~~~~~~
foo.cc:64:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
64 | scanf("%d", &q[i]);
| ~~~~~^~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务