0_0_17767621_6223.cpp: In function 'int main()': 0_0_17767621_6223.cpp:66:64: error: expected ';' before '}' token for (i=1;i<n;++i){scanf("%d%d%d",&x,&y);add(x,y),add(y,x)}; ^