0_0_32594002_15863.cpp: In function 'int main()':
0_0_32594002_15863.cpp:17:24: error: '_node' was not declared in this scope
priority_queue<_node> q[N+1];
^
0_0_32594002_15863.cpp:17:29: error: template argument 1 is invalid
priority_queue<_node> q[N+1];
^
0_0_32594002_15863.cpp:17:29: error: template argument 2 is invalid
0_0_32594002_15863.cpp:17:29: error: template argument 3 is invalid
0_0_32594002_15863.cpp:17:37: error: invalid type in declaration before ';' token
priority_queue<_node> q[N+1];
^
0_0_32594002_15863.cpp:18:15: error: expected ';' before 't'
_node t;
^
0_0_32594002_15863.cpp:23:24: error: 't' was not declared in this scope
cin >> t.name >> t.rp;
^
0_0_32594002_15863.cpp:25:22: error: request for member 'push' in 'q[i]', which is of non-class type 'int'
q[i].push(t);
^
0_0_32594002_15863.cpp:34:30: error: 't' was not declared in this scope
cin >> xi >> t.name >> t.rp;
^
0_0_32594002_15863.cpp:36:23: error: request for member 'push' in 'q[xi]', which is of non-class type 'int'
q[xi].push(t);
^
0_0_32594002_15863.cpp:39:30: error: request for member 'empty' in 'q[xj]', which is of non-class type 'int'
while(!q[xj].empty()) {
^
0_0_32594002_15863.cpp:40:21: error: 't' was not declared in this scope
t = q[xj].top();
^
0_0_32594002_15863.cpp:40:31: error: request for member 'top' in 'q[xj]', which is of non-class type 'int'
t = q[xj].top();
^
0_0_32594002_15863.cpp:41:27: error: request for member 'push' in 'q[xi]', which is of non-class type 'int'
q[xi].push(t);
^
0_0_32594002_15863.cpp:42:27: error: request for member 'pop' in 'q[xj]', which is of non-class type 'int'
q[xj].pop();
^
0_0_32594002_15863.cpp:46:17: error: 't' was not declared in this scope
t = q[xi].top();
^
0_0_32594002_15863.cpp:46:27: error: request for member 'top' in 'q[xi]', which is of non-class type 'int'
t = q[xi].top();
^
0_0_32594002_15863.cpp:48:23: error: request for member 'pop' in 'q[xi]', which is of non-class type 'int'
q[xi].pop();
^
|