eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:45:19: error: 'path' was not declared in this scope; did you mean 'std::filesystem::__cxx11::path'?
45 | if (query(path[mid]) == 1)
| ^~~~
| std::filesystem::__cxx11::path
In file included from /usr/include/c++/11/filesystem:45,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:129,
from eastereggs.cpp:1:
/usr/include/c++/11/bits/fs_path.h:248:9: note: 'std::filesystem::__cxx11::path' declared here
248 | class path
| ^~~~
eastereggs.cpp:54:12: error: 'path' was not declared in this scope; did you mean 'std::filesystem::__cxx11::path'?
54 | return path[r].back();
| ^~~~
| std::filesystem::__cxx11::path
In file included from /usr/include/c++/11/filesystem:45,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:129,
from eastereggs.cpp:1:
/usr/include/c++/11/bits/fs_path.h:248:9: note: 'std::filesystem::__cxx11::path' declared here
248 | class path
| ^~~~