# 1번째 컴파일 단계
Joi.cpp:3:1: error: 'vector' does not name a type
3 | vector<ll>g[N];
| ^~~~~~
Joi.cpp:4:9: error: 'N' was not declared in this scope
4 | ll used[N];
| ^
Joi.cpp: In function 'void dfs(ll, ll, ll)':
Joi.cpp:6:3: error: 'used' was not declared in this scope
6 | used[v]=1;
| ^~~~
Joi.cpp:8:13: error: 'g' was not declared in this scope
8 | for(ll to:g[v]){
| ^
Joi.cpp: In function 'void Joi(int, int, int*, int*, long long int, int)':
Joi.cpp:17:5: error: 'g' was not declared in this scope
17 | g[v].push_back(u);
| ^
Joi.cpp:19:28: error: 'g' was not declared in this scope
19 | }for(ll i=0;i<n;i++)sort(g[i].begin(),g[i].end());
| ^
Joi.cpp:19:23: error: 'sort' was not declared in this scope; did you mean 'short'?
19 | }for(ll i=0;i<n;i++)sort(g[i].begin(),g[i].end());
| ^~~~
| short