Joi.cpp:3:19: error: 'vector' does not name a type
3 | #define vi static vector<int>
| ^~~~~~
Joi.cpp:8:1: note: in expansion of macro 'vi'
8 | vi g[LIM + 10];
| ^~
Joi.cpp: In function 'void dfs(int, int)':
Joi.cpp:13:15: error: 'g' was not declared in this scope
13 | for(auto x : g[v]) {
| ^
Joi.cpp: In function 'void Joi(int, int, int*, int*, ll, int)':
Joi.cpp:26:3: error: 'g' was not declared in this scope
26 | g[A[i]].pb(B[i]);
| ^
Ioi.cpp:3:19: error: 'vector' does not name a type
3 | #define vi static vector<int>
| ^~~~~~
Ioi.cpp:6:1: note: in expansion of macro 'vi'
6 | vi g2[LIM + 10];
| ^~