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: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);
| ^~~~~~~