eastereggs.cpp: In function 'void dfs(int)':
eastereggs.cpp:8:5: error: 'viz' was not declared in this scope
8 | viz[nod]=1;
| ^~~
eastereggs.cpp:10:9: error: 'i' was not declared in this scope
10 | for(i=0;i<v[nod].size();i++){
| ^
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:16:9: error: declaration of 'int n' shadows a parameter
16 | int n,st,dr,rasp,mij,i;
| ^
eastereggs.cpp:15:17: note: 'int n' previously declared here
15 | int findEgg(int n,vector<pair<int,int>> bridges){
| ~~~~^
eastereggs.cpp:21:8: error: too many arguments to function 'void dfs(int)'
21 | dfs(1,-1);
| ~~~^~~~~~
eastereggs.cpp:7:6: note: declared here
7 | void dfs(int nod){
| ^~~
eastereggs.cpp:22:15: error: request for member 'size' in 'v', which is of non-class type 'std::vector<int> [513]'
22 | st=0;dr=v.size()-1;
| ^~~~
eastereggs.cpp:24:23: error: 'aux' was not declared in this scope
24 | mij=(st+dr)/2;aux.clear();
| ^~~