0_0_38749537_18962.cpp: In function 'void dfs(long long int, long long int)':
0_0_38749537_18962.cpp:41:34: error: 'v' was not declared in this scope
41 | for(int i=heads[x];i!=-1;i=s[v].next)
| ^
0_0_38749537_18962.cpp:43:26: error: request for member 'to' in 'heads[i]', which is of non-class type 'long long int'
43 | int v=heads[i].to;
| ^~
0_0_38749537_18962.cpp:47:13: error: 'la' was not declared in this scope; did you mean 'fa'?
47 | la[cnt]=v;
| ^~
| fa
0_0_38749537_18962.cpp: In function 'void solve()':
0_0_38749537_18962.cpp:85:6: error: 'la' was not declared in this scope; did you mean 'fa'?
85 | la[0]=1;
| ^~
| fa
0_0_38749537_18962.cpp:106:29: error: request for member 'to' in 'heade[i]', which is of non-class type 'long long int'
106 | int v=heade[i].to;
| ^~
0_0_38749537_18962.cpp:113:36: error: request for member 'to' in 'headg[j]', which is of non-class type 'long long int'
113 | int y=headg[j].to;
| ^~
|