eastereggs.cpp: In function 'void dfs(int, int)':
eastereggs.cpp:10:5: error: 'ord' was not declared in this scope
10 | ord.push_back(nod);
| ^~~
eastereggs.cpp:12:17: error: 'gr' was not declared in this scope
12 | for (auto v:gr[nod] )
| ^~
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:20:9: error: 'gr' was not declared in this scope
20 | gr[i].clear();
| ^~
eastereggs.cpp:21:9: error: 'ord' was not declared in this scope
21 | ord.clear();
| ^~~
eastereggs.cpp:28:9: error: 'gr' was not declared in this scope
28 | gr[xixi].push_back(y);
| ^~
eastereggs.cpp:33:14: error: 'gr' was not declared in this scope
33 | if ( gr[i].size()==1 ) {
| ^~