eastereggs.cpp:7:18: error: 'N' was not declared in this scope
vector <int> adj[N], ans;
^
eastereggs.cpp: In function 'void dfs(int, int)':
eastereggs.cpp:20:25: error: 'adj' was not declared in this scope
for (int i = 0; i < adj[u].size(); i++){
^~~
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:37:3: error: 'adj' was not declared in this scope
adj[i].clear();
^~~
eastereggs.cpp:40:9: error: 'adj' was not declared in this scope
adj[bridges[i].fi].push_back(bridges[i].se);
^~~
eastereggs.cpp:52:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < ans.size(); i++){
~~^~~~~~~~~~~~
eastereggs.cpp:61:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < ans.size(); i++){
~~^~~~~~~~~~~~
eastereggs.cpp:72:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^