0_0_23804357_7333.cpp:12:4: error: conflicting declaration 'long long int g'
ll g,ans,sum;
^
0_0_23804357_7333.cpp:10:12: note: previous declaration as 'std::vector<long long int> g [50010]'
vector<ll> g[maxn], a;
^
0_0_23804357_7333.cpp: In function 'void getroot(long long int, long long int)':
0_0_23804357_7333.cpp:33:16: error: invalid types 'long long int [50010][std::vector<long long int> [50010]]' for array subscript
if(f[u]<f[g]) g=u;
^
0_0_23804357_7333.cpp:33:20: error: incompatible types in assignment of 'long long int' to 'std::vector<long long int> [50010]'
if(f[u]<f[g]) g=u;
^
0_0_23804357_7333.cpp: In function 'void dfs(long long int, long long int)':
0_0_23804357_7333.cpp:45:38: error: invalid types 'Node [50010][std::vector<long long int> [50010]]' for array subscript
ll tmp=((3-d[u].num[i]-node[g].num[i])%3+3)%3;
^
0_0_23804357_7333.cpp: In function 'void solve(long long int)':
0_0_23804357_7333.cpp:70:21: error: incompatible types in assignment of 'int' to 'std::vector<long long int> [50010]'
sum=sz[v]; g=0; getroot(v,u);
^
0_0_23804357_7333.cpp:71:16: error: invalid conversion from 'std::vector<long long int>*' to 'long long int' [-fpermissive]
solve(g);
^
0_0_23804357_7333.cpp:55:6: note: initializing argument 1 of 'void solve(long long int)'
void solve(ll u){
^
0_0_23804357_7333.cpp: In function 'int main()':
0_0_23804357_7333.cpp:107:10: error: incompatible types in assignment of 'int' to 'std::vector<long long int> [50010]'
g=0,f[g]=INF;
^
0_0_23804357_7333.cpp:107:16: error: invalid types 'long long int [50010][std::vector<long long int> [50010]]' for array subscript
g=0,f[g]=INF;
^
0_0_23804357_7333.cpp:113:16: error: invalid conversion from 'std::vector<long long int>*' to 'long long int' [-fpermissive]
solve(g);
^
0_0_23804357_7333.cpp:55:6: note: initializing argument 1 of 'void solve(long long int)'
void solve(ll u){
^
|