/in/foo.cc: In function 'void insert(int, int, int&)':
/in/foo.cc:81:11: warning: operation on 'tot' may be undefined [-Wsequence-point]
key[rt=++tot]=hash1[tot]=hash2[tot]=ky;
^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:196:13: warning: unused variable 'tmp' [-Wunused-variable]
int m,x,y,tmp;
^~~
/in/foo.cc: In function 'long long unsigned int query(int, int)':
/in/foo.cc:176:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/foo.cc: In function 'void insert(int, int, int&)':
/in/foo.cc:97:14: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
son[pre][p]=tot;
~~~~~~~~~~~^~~~
/in/foo.cc:97:14: warning: 'pre' may be used uninitialized in this function [-Wmaybe-uninitialized]