foo.cc: In function 'int main()':
foo.cc:50:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
50 | scanf("%d%d%lld",&n,&m,&s);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:54:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
54 | scanf("%d%d",&node[i].w,&node[i].va);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:58:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
58 | scanf("%d%d",&que[i].li,&que[i].ri);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务