0_0_33563716_31654.cpp: In function 'void dfs(int, int)':
0_0_33563716_31654.cpp:19:12: error: expected primary-expression before 'long'
#define ll long long
^
0_0_33563716_31654.cpp:110:10: note: in expansion of macro 'll'
ans -= ll(sz[y] - tem) * (sz[y] - tem - 1) / 2;
^
0_0_33563716_31654.cpp:118:24: error: expected ')' at end of input
update(root[x], 1, n, a
^
0_0_33563716_31654.cpp:118:24: error: expected '}' at end of input
|