0_0_21283652_24445.cpp: In function 'void dfs(int, int)': 0_0_21283652_24445.cpp:18:69: error: expected ';' before '$mod' sum[x]=(sum[x]*(num[v[x][i]]+1)%mod+sum[v[x][i]]*num[x]%mod)$mod; ^