eastereggs.cpp:27:47: error: template argument 1 is invalid
27 | int findEgg(int N, vector < pair < int, int > bridges){
| ^~~~~~~
eastereggs.cpp:27:47: error: template argument 2 is invalid
eastereggs.cpp:27:47: error: template argument 1 is invalid
eastereggs.cpp:27:47: error: template argument 2 is invalid
eastereggs.cpp:27:47: error: template argument 1 is invalid
eastereggs.cpp:27:47: error: template argument 2 is invalid
eastereggs.cpp:27:20: error: 'vector' is not a type
27 | int findEgg(int N, vector < pair < int, int > bridges){
| ^~~~~~
eastereggs.cpp:27:27: error: expected ',' or '...' before '<' token
27 | int findEgg(int N, vector < pair < int, int > bridges){
| ^
eastereggs.cpp: In function 'int findEgg(int, int)':
eastereggs.cpp:28:21: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
28 | for(ll i = 1; i <= N; i++){
| ~~^~~~
eastereggs.cpp:31:17: error: 'bridges' was not declared in this scope
31 | for(pll i : bridges)g[i.first].push_back(i.second), g[i.second].push_back(i.first);
| ^~~~~~~