eastereggs.cpp:6:18: error: 'maxn' was not declared in this scope
6 | vector<int>graph[maxn],ord;
| ^~~~
eastereggs.cpp: In function 'void dfs(int, int)':
eastereggs.cpp:10:16: error: 'graph' was not declared in this scope; did you mean 'isgraph'?
10 | for(auto i:graph[st])
| ^~~~~
| isgraph
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:21:9: error: 'graph' was not declared in this scope; did you mean 'isgraph'?
21 | graph[i.ff].push_back(i.ss);
| ^~~~~
| isgraph
eastereggs.cpp:21:17: error: 'struct std::pair<int, int>' has no member named 'ff'
21 | graph[i.ff].push_back(i.ss);
| ^~
eastereggs.cpp:21:33: error: 'struct std::pair<int, int>' has no member named 'ss'
21 | graph[i.ff].push_back(i.ss);
| ^~
eastereggs.cpp:22:17: error: 'struct std::pair<int, int>' has no member named 'ss'
22 | graph[i.ss].push_back(i.ff);
| ^~
eastereggs.cpp:22:33: error: 'struct std::pair<int, int>' has no member named 'ff'
22 | graph[i.ss].push_back(i.ff);
| ^~