/in/foo.cc: In function 'int main()':
/in/foo.cc:106:18: warning: 'kk' may be used uninitialized in this function [-Wmaybe-uninitialized]
else ans+=dist(tree[x].d,xf,tree[x].sonf[kk]);
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:15:23: warning: 'yyyy' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(x>y)return (2*pi-x+y)*r[d];
~~~~~~~^~~
/in/foo.cc:91:37: note: 'yyyy' was declared here
double ans,xx,yy,xf,yf,xh,yh,xxxx,yyyy,hh;
^~~~
/in/foo.cc:15:23: warning: 'xxxx' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(x>y)return (2*pi-x+y)*r[d];
~~~~~~~^~~
/in/foo.cc:91:32: note: 'xxxx' was declared here
double ans,xx,yy,xf,yf,xh,yh,xxxx,yyyy,hh;
^~~~
/in/foo.cc:124:67: warning: 'yyy' may be used uninitialized in this function [-Wmaybe-uninitialized]
yh=2*pi*(ee[tree[y].d-1]-ee[tree[h].d])-(tree[y].wtcl-tree[yyy].wtcl);
~~~~~~~~~~^~~~
/in/foo.cc:123:29: warning: 'xxx' may be used uninitialized in this function [-Wmaybe-uninitialized]
xh=tree[x].wtcl-tree[xxx].wtcl;
~~~~~~~~~~^~~~