0_0_23069326_14733.cpp: In function 'int min_cost_flow(int, int, int)':
0_0_23069326_14733.cpp:40:2: error: type/value mismatch at argument 2 in template parameter list for 'template<class _Tp, class _Sequence, class _Compare> class std::priority_queue'
> pq;
^
0_0_23069326_14733.cpp:40:2: error: expected a type, got 'vector'
0_0_23069326_14733.cpp:40:2: error: type/value mismatch at argument 3 in template parameter list for 'template<class _Tp, class _Sequence, class _Compare> class std::priority_queue'
0_0_23069326_14733.cpp:40:2: error: expected a type, got 'greater'
0_0_23069326_14733.cpp:40:6: error: invalid type in declaration before ';' token
> pq;
^
0_0_23069326_14733.cpp:43:6: error: request for member 'push' in 'pq', which is of non-class type 'int'
pq.push(P(0, s));
^
0_0_23069326_14733.cpp:44:13: error: request for member 'empty' in 'pq', which is of non-class type 'int'
while(!pq.empty()) {
^
0_0_23069326_14733.cpp:45:13: error: request for member 'top' in 'pq', which is of non-class type 'int'
P p = pq.top(); pq.pop();
^
0_0_23069326_14733.cpp:45:23: error: request for member 'pop' in 'pq', which is of non-class type 'int'
P p = pq.top(); pq.pop();
^
0_0_23069326_14733.cpp:54:9: error: request for member 'push' in 'pq', which is of non-class type 'int'
pq.push(P(dist[e.to], e.to));
^
|