Problem boundlessboxes
User PlayVoltz
Submission Time 2023-08-20 16:21:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boundlessboxes.cpp:4:1: error: ‘vector’ does not name a type
4 | vector<vector<int> > vect;
| ^~~~~~
boundlessboxes.cpp:5:1: error: ‘queue’ does not name a type
5 | queue <pair<pair<int, int>, pair<int, int> > > q;
| ^~~~~
boundlessboxes.cpp: In function ‘void addadj(int, int)’:
boundlessboxes.cpp:18:5: error: ‘q’ was not declared in this scope
18 | q.push(make_pair(make_pair(i, j), make_pair(y, x)));
| ^
boundlessboxes.cpp:18:22: error: ‘make_pair’ was not declared in this scope
18 | q.push(make_pair(make_pair(i, j), make_pair(y, x)));
| ^~~~~~~~~
boundlessboxes.cpp:1:1: note: ‘std::make_pair’ is defined in header ‘<utility>’; did you forget to ‘#include <utility>’?
+++ |+#include <utility>
1 | using namespace std;
boundlessboxes.cpp:18:12: error: ‘make_pair’ was not declared in this scope
18 | q.pu