0_0_17671163_3182.cpp: In function 'void cal(int)':
0_0_17671163_3182.cpp:8:12: error: expected primary-expression before 'long'
#define ll long long
^
0_0_17671163_3182.cpp:68:11: note: in expansion of macro 'll'
ans += ll(edge[i].w)*(n-son[v])*son[v];
^
0_0_17671163_3182.cpp: In function 'int main()':
0_0_17671163_3182.cpp:117:16: error: lvalue required as left operand of assignment
(double) ans = (double) ans / t1 ;
^
|