eastereggs.cpp: In function 'void dfs(int, int)':
eastereggs.cpp:10:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | for(int i=0;i<v[nod].size();i++)
| ~^~~~~~~~~~~~~~
eastereggs.cpp: In function 'bool sus(int, int)':
eastereggs.cpp:22:12: error: 'query' was not declared in this scope
22 | return query(vct);
| ^~~~~
eastereggs.cpp: At global scope:
eastereggs.cpp:27:44: error: expected ',' or '...' before '>' token
27 | int findEgg(int n, vector<pair<int, int> > > bridge)
| ^
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:31:11: error: 'bridge' was not declared in this scope
31 | v[bridge[i].first].push_back(bridge[i].second);
| ^~~~~~
eastereggs.cpp:35:16: error: expected unqualified-id before 'int'
35 | int poz=0, int pas=(1<<(int)log2(n));
| ^~~
eastereggs.cpp:36:11: error: 'pas' was not declared in this scope
36 | while(pas>0)
| ^~~
eastereggs.cpp:42:1: warning: no return statement in function returning non-void [-Wreturn-type]
42 | }
| ^