eastereggs.cpp:8:8: error: 'sz' was not declared in this scope; did you mean 'se'?
8 | vl adj[sz];
| ^~
| se
eastereggs.cpp: In function 'void dfs(long long int, long long int)':
eastereggs.cpp:11:8: error: 'class std::vector<long long int>' has no member named 'pb'
11 | et.pb(node);
| ^~
eastereggs.cpp:12:20: error: 'adj' was not declared in this scope
12 | for(auto edge: adj[node]){
| ^~~
eastereggs.cpp:14:19: error: 'v' was not declared in this scope
14 | dfs(edge, v);
| ^
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:20:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(i=0;i<bridges.size();i++){
| ~^~~~~~~~~~~~~~~
eastereggs.cpp:21:9: error: 'adj' was not declared in this scope
21 | adj[bridges[i].fi].push_back(bridges[i].se);
| ^~~
eastereggs.cpp:24:10: error: too few arguments to function 'void dfs(long long int, long long int)'
24 | dfs(1);
| ^
eastereggs.cpp:10:6: note: declared here
10 | void dfs(ll node, ll p){
| ^~~
eastereggs.cpp:30:15: error: 'class std::vector<long long int>' has no member named 'pb'
30 | t.pb(et[i]);
| ^~
eastereggs.cpp:32:18: error: could not convert 't' from 'vector<long long int>' to 'vector<int>'
32 | if(query(t)){
| ^
| |
| vector<long long int>
eastereggs.cpp:19:11: warning: unused variable 'j' [-Wunused-variable]
19 | ll i, j;
| ^
eastereggs.cpp:41:1: warning: no return statement in function returning non-void [-Wreturn-type]
41 | }
| ^