0_0_38580227_10176.cpp: In function 'int main()':
0_0_38580227_10176.cpp:33:28: error: cannot convert 'int*' to 'std::vector<int>*'
decompose(i, arr[i], arr, G);
^~~
0_0_38580227_10176.cpp:8:51: note: initializing argument 3 of 'void decompose(int, int, std::vector<int>*)'
inline void decompose(int pos, int x, vector<int> G[MaxN]) {
~~~~~~~~~~~~^~~~~~~
|