foo.cc: In function 'int main()':
foo.cc:76:13: warning: unused variable 'z' [-Wunused-variable]
76 | int e,x,y,z,n,m;
| ^
foo.cc: In function 'void build(long long int, long long int, long long int)':
foo.cc:34:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
34 | scanf("%lld",&cnt[rt].num);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:77:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
77 | scanf("%lld%lld",&n,&m);
| ~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:81:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
81 | scanf("%lld",&e);
| ~~~~~^~~~~~~~~~~
foo.cc:84:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
84 | scanf("%lld%lld",&x,&y);
| ~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:92:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
92 | scanf("%lld%lld",&x,&y);
| ~~~~~^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务