Problem snakenladder
User MS
Submission Time 2023-08-13 16:27:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snakenladder.cpp: In function ‘int main()’:
snakenladder.cpp:13:5: error: ‘unordered_map’ was not declared in this scope
13 | unordered_map<int,int> sorl;
| ^~~~~~~~~~~~~
snakenladder.cpp:3:1: note: ‘std::unordered_map’ is defined in header ‘<unordered_map>’; did you forget to ‘#include <unordered_map>’?
2 | #include <utility>
+++ |+#include <unordered_map>
3 | #
snakenladder.cpp:13:19: error: expected primary-expression before ‘int’
13 | unordered_map<int,int> sorl;
| ^~~
snakenladder.cpp:14:5: error: ‘queue’ was not declared in this scope
14 | queue<int>tovisit;
| ^~~~~
snakenladder.cpp:3:1: note: ‘std::queue’ is defined in header ‘<queue>’; did you forget to ‘#include <queue>’?
2 | #include <utility>
+++ |+#include <queue>
3 | #
snakenladder.cpp:14:11: error: expected primary-expre