0_0_36322123_29301.cpp: In function 'void dfs(int, int, int, int)':
0_0_36322123_29301.cpp:56:30: error: invalid type argument of unary '*' (have 'int')
else if(x==y)ans+=(ll)*a[x]*(a[x]-1)/2*a[z];
^
0_0_36322123_29301.cpp:57:30: error: invalid type argument of unary '*' (have 'int')
else if(y==z)ans+=(ll)*a[y]*(a[y]-1)/2*a[x];
^
0_0_36322123_29301.cpp:58:22: error: invalid type argument of unary '*' (have 'int')
else ans+=(ll)*a[x]*a[y]*a[z];
^
|