foo.cc: In member function 'int rqy::Splay::newNode(rqy::LL, rqy::LL)':
foo.cc:10:11: warning: operation on 'rqy::cnt' may be undefined [-Wsequence-point]
siz[++cnt] = (r[cnt] = rr) - (l[cnt] = ll);
^~~~~
foo.cc:10:11: warning: operation on 'rqy::cnt' may be undefined [-Wsequence-point]
foo.cc: In function 'void rqy::main()':
foo.cc:96:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &q);
~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:103:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务