eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:15:43: error: 'v' was not declared in this scope
15 | for(int i = 0; i<=n; i++){vis[i] = 0; v[i].clear();}
| ^
eastereggs.cpp:17:23: error: '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type' {aka 'struct std::pair<int, int>'} has no member named 'ff'
17 | int x = v2[i].ff, y = v2[i].sc;
| ^~
eastereggs.cpp:18:25: error: 'y' was not declared in this scope
18 | v1[x].push_back(y);
| ^