0_0_14815512_17650.cpp: In function 'int main()':
0_0_14815512_17650.cpp:79:49: error: 'num' was not declared in this scope
ans+=(rank_num[u]+rank_num[v])*(num[u]+num[v]-1)-num[u]*(num[u]-1) - num[v]*(num[v]-1);
^
0_0_14815512_17650.cpp:82:25: error: 'cnt' was not declared in this scope
pp[a[i].id]=cnt;
^
|