| Problem | archaeologist | 
|---|---|
| User | bobbery | 
| Submission Time | 2025-03-18 21:21:58 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 archaeologist.cpp: In function ‘void dfs(int, int)’:
archaeologist.cpp:12:20: error: request for member ‘size’ in ‘*(adjlist + ((sizetype)node))’, which is of non-class type ‘std::vector<int>()’
   12 |  if (adjlist[node].size() == 1 and adjlist[node][0] != -1) {
      |                    ^~~~
archaeologist.cpp:12:57: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   12 |  if (adjlist[node].size() == 1 and adjlist[node][0] != -1) {
      |                                                         ^
archaeologist.cpp:17:34: error: no matching function for call to ‘begin(std::vector<int> (&)())’
   17 |  for (int neighbour: adjlist[node]) {
      |                                  ^
In file included from /usr/include/c++/9/utility:76,
                 from archaeologist.h:1,
                 from archaeologist.cpp:1:
/usr/include/c++/9/initializer_list:89:5: note: candidate: ‘template<class _Tp> constex