0_0_33445377_26227.cpp:41:4: error: stray '\243' in program
cout<<top<<" ";
^
0_0_33445377_26227.cpp:41:4: error: stray '\273' in program
0_0_33445377_26227.cpp: In function 'void topo()':
0_0_33445377_26227.cpp:32:42: error: type/value mismatch at argument 3 in template parameter list for 'template<class _Tp, class _Sequence, class _Compare> class std::priority_queue'
priority_queue<int,vector<int> , greater> q;
^
0_0_33445377_26227.cpp:32:42: error: expected a type, got 'greater'
0_0_33445377_26227.cpp:32:45: error: invalid type in declaration before ';' token
priority_queue<int,vector<int> , greater> q;
^
0_0_33445377_26227.cpp:34:16: error: request for member 'push' in 'q', which is of non-class type 'int'
if(!in[i]) q.push(i);
^
0_0_33445377_26227.cpp:36:11: error: request for member 'empty' in 'q', which is of non-class type 'int'
while(!q.empty())
^
0_0_33445377_26227.cpp:38:15: error: request for member 'tpo' in 'q', which is of non-class type 'int'
int top = q.tpo(); q.pop() ;
^
0_0_33445377_26227.cpp:38:24: error: request for member 'pop' in 'q', which is of non-class type 'int'
int top = q.tpo(); q.pop() ;
^
0_0_33445377_26227.cpp:42:3: error: expected ';' before '}' token
} else {
^
0_0_33445377_26227.cpp:50:17: error: request for member 'push' in 'q', which is of non-class type 'int'
if(!in[i]) q.push(i);
^
|