| Problem | swapgame |
|---|---|
| User | MasterCoder8421 |
| Submission Time | 2025-12-26 10:33:15 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
swapgame.cpp: In function ‘int main()’:
swapgame.cpp:21:5: error: ‘queue’ was not declared in this scope
21 | queue<pair<int, int>> q;
| ^~~~~
swapgame.cpp:6:1: note: ‘std::queue’ is defined in header ‘<queue>’; did you forget to ‘#include <queue>’?
5 | #include <map>
+++ |+#include <queue>
6 | using namespace std;
swapgame.cpp:21:24: error: expected primary-expression before ‘>’ token
21 | queue<pair<int, int>> q;
| ^~
swapgame.cpp:21:27: error: ‘q’ was not declared in this scope
21 | queue<pair<int, int>> q;
| ^