0_0_13664780_18732.cpp:13:1: error: 'vectror' does not name a type
vectror < vector<int> > edge;
^
0_0_13664780_18732.cpp:14:26: error: two or more data types in declaration of 'type name'
queue < int, vector<int> greater<int> > q;
^
0_0_13664780_18732.cpp:14:39: error: template argument 2 is invalid
queue < int, vector<int> greater<int> > q;
^
0_0_13664780_18732.cpp:14:42: error: invalid type in declaration before ';' token
queue < int, vector<int> greater<int> > q;
^
0_0_13664780_18732.cpp: In function 'void solve()':
0_0_13664780_18732.cpp:19:12: error: request for member 'empty' in 'q', which is of non-class type 'int'
while (!q.empty())
^
0_0_13664780_18732.cpp:20:5: error: request for member 'pop' in 'q', which is of non-class type 'int'
q.pop();
^
0_0_13664780_18732.cpp:23:6: error: request for member 'push' in 'q', which is of non-class type 'int'
q.push(i);
^
0_0_13664780_18732.cpp:25:12: error: request for member 'empty' in 'q', which is of non-class type 'int'
while (!q.empty()) {
^
0_0_13664780_18732.cpp:26:15: error: request for member 'top' in 'q', which is of non-class type 'int'
int tmp = q.top();
^
0_0_13664780_18732.cpp:27:5: error: request for member 'pop' in 'q', which is of non-class type 'int'
q.pop();
^
0_0_13664780_18732.cpp:29:28: error: 'edge' was not declared in this scope
for (int i = 0; i < (int)edge.size(); i++) {
^
0_0_13664780_18732.cpp:33:8: error: request for member 'push' in 'q', which is of non-class type 'int'
q.push(edge[i][j]);
^
0_0_13664780_18732.cpp: In function 'int main()':
0_0_13664780_18732.cpp:44:15: error: 'T' was not declared in this scope
scanf("%d", &T);
^
0_0_13664780_18732.cpp:48:3: error: 'edge' was not declared in this scope
edge.clear();
^
|