0_0_39596299_12437.cpp:1:2: error: stray '#' in program
1 | v#include<bits/stdc++.h>
| ^
0_0_39596299_12437.cpp:1:1: error: 'v' does not name a type
1 | v#include<bits/stdc++.h>
| ^
0_0_39596299_12437.cpp:7:1: error: 'vector' does not name a type
7 | vector<node>v[100010];
| ^~~~~~
0_0_39596299_12437.cpp:13:1: error: 'set' does not name a type
13 | set<int>s;
| ^~~
0_0_39596299_12437.cpp: In function 'void dfs(long long int, long long int)':
0_0_39596299_12437.cpp:19:24: error: 'v' was not declared in this scope
19 | for(int i=0; i<v[x].size(); i++) {
| ^
0_0_39596299_12437.cpp: In function 'long long int lca(long long int, long long int)':
0_0_39596299_12437.cpp:27:28: error: 'swap' was not declared in this scope
27 | if(deep[a]<deep[b])swap(a,b);
| ^~~~
0_0_39596299_12437.cpp: In function 'int main()':
0_0_39596299_12437.cpp:48:9: error: 'ios' has not been declared
48 | ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
| ^~~
0_0_39596299_12437.cpp:48:33: error: 'cin' was not declared in this scope
48 | ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
| ^~~
0_0_39596299_12437.cpp:48:44: error: 'cout' was not declared in this scope
48 | ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
| ^~~~
0_0_39596299_12437.cpp:53:17: error: 's' was not declared in this scope
53 | s.clear();
| ^
0_0_39596299_12437.cpp:57:40: error: 'v' was not declared in this scope
57 | for(int i=1; i<=n; i++)v[i].clear();
| ^
0_0_39596299_12437.cpp:61:25: error: 'v' was not declared in this scope
61 | v[u].push_back({vv,w});
| ^
|