Problem | archaeologist |
---|---|
User | Minhanh |
Submission Time | 2023-03-13 10:18:13 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
archaeologist.cpp: In function ‘void archaeologist(int, int, int, std::vector<int>, int, std::vector<int>)’:
archaeologist.cpp:16:5: error: ‘stack’ was not declared in this scope; did you mean ‘std::stack’?
16 | stack<std::pair<int,int>> dfs;
| ^~~~~
| std::stack
In file included from /usr/include/c++/9/stack:61,
from archaeologist.cpp:4:
/usr/include/c++/9/bits/stl_stack.h:99:11: note: ‘std::stack’ declared here
99 | class stack
| ^~~~~
archaeologist.cpp:16:28: error: expected primary-expression before ‘>’ token
16 | stack<std::pair<int,int>> dfs;
| ^~
archaeologist.cpp:16:31: error: ‘dfs’ was not declared in this scope
16 | stack<std::pair<int,int>> dfs;
| ^~~
archaeologist.cpp:81:23: error: ‘min’ was not declared in this scope; did you me