eastereggs.cpp: In function 'void dfs(int, std::vector<int>*)':
eastereggs.cpp:30:18: error: too few arguments to function 'void dfs(int, std::vector<int>*)'
30 | dfs(i);
| ^
eastereggs.cpp:25:6: note: declared here
25 | void dfs(int node, vector<int>a[555]){
| ^~~
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:37:12: error: cannot convert 'std::vector<std::pair<int, int> >' to 'std::vector<int>*'
37 | dfs(1, bridges);
| ^~~~~~~
| |
| std::vector<std::pair<int, int> >
eastereggs.cpp:25:31: note: initializing argument 2 of 'void dfs(int, std::vector<int>*)'
25 | void dfs(int node, vector<int>a[555]){
| ~~~~~~~~~~~^~~~~~