0_0_37849595_21374.cpp: In function 'void dfs2(long long int, long long int)':
0_0_37849595_21374.cpp:36:47: error: 'to' was not declared in this scope
if(d[v] >= 3 && d[u] >= 4) (ans+=C2(d[to]-1)*(C2(shou[fr]-(d[to]-1))-(tui[fr]-C2(d[to]-1))+mod)%mod*(d[fr]-3)%mod)%=mod;
^
0_0_37849595_21374.cpp:36:63: error: 'fr' was not declared in this scope
if(d[v] >= 3 && d[u] >= 4) (ans+=C2(d[to]-1)*(C2(shou[fr]-(d[to]-1))-(tui[fr]-C2(d[to]-1))+mod)%mod*(d[fr]-3)%mod)%=mod;
^
|