eastereggs.cpp: In function 'void dfs(int)':
eastereggs.cpp:26:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(int i=0;i<children[adj].size();i++)
| ~^~~~~~~~~~~~~~~~~~~~~
eastereggs.cpp: In function 'void dfs2(int, int)':
eastereggs.cpp:41:21: error: too few arguments to function 'void dfs2(int, int)'
41 | dfs2(adj);
| ^
eastereggs.cpp:33:6: note: declared here
33 | void dfs2(int nod, int niv)
| ^~~~
eastereggs.cpp: In function 'int find_nivel()':
eastereggs.cpp:65:12: error: 'verif' was not declared in this scope
65 | if(verif(mij))
| ^~~~~
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:125:29: error: cannot convert 'std::vector<int>' to 'int' in return
125 | return forniv[st];
| ~~~~~~~~~^
| |
| std::vector<int>
eastereggs.cpp:132:22: error: cannot convert 'std::vector<int>' to 'int' in return
132 | return forniv[mij];
| ~~~~~~~~~~^
| |
| std::vector<int>