foo.cc: In function 'int main()':
foo.cc:14:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
14 | scanf("%d",&n);//表示总记录数量
| ~~~~~^~~~~~~~~
foo.cc:19:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
19 | scanf("%d%d%d",&type,&price,&time);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
Found 20 testcases.
[Hydro](https://hydro.ac)提供评测服务