synchronization.cpp: In function 'void rot(int)':
synchronization.cpp:10:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(z) go[z][q]=x;go[x][p^1]=y;go[y][p]=w;
^~
synchronization.cpp:10:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(z) go[z][q]=x;go[x][p^1]=y;go[y][p]=w;
^~
synchronization.cpp:11:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(w) fa[w]=y;fa[x]=z;fa[y]=x;
^~
synchronization.cpp:11:16: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(w) fa[w]=y;fa[x]=z;fa[y]=x;
^~
synchronization.cpp: In function 'int main()':
synchronization.cpp:23:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i %i",&n,&m,&q);
~~~~~^~~~~~~~~~~~~~~~~~~~~
synchronization.cpp:24:66: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<n;i++) scanf("%i %i",&u[i],&v[i]),E[u[i]].pb(v[i]),E[v[i]].pb(u[i]);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
synchronization.cpp:28:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&d);
~~~~~^~~~~~~~~
synchronization.cpp:45:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int x;q--;) scanf("%i",&x),printf("%i\n",ans[rt(x)]);
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~