0_0_23180900_30237.cpp: In function 'double min_cost_flow(int, int, int)':
0_0_23180900_30237.cpp:49:2: error: type/value mismatch at argument 2 in template parameter list for 'template<class _Tp, class _Sequence, class _Compare> class std::priority_queue'
>q;
^
0_0_23180900_30237.cpp:49:2: error: expected a type, got 'vector'
0_0_23180900_30237.cpp:49: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_23180900_30237.cpp:49:2: error: expected a type, got 'greater'
0_0_23180900_30237.cpp:49:4: error: invalid type in declaration before ';' token
>q;
^
0_0_23180900_30237.cpp:52:11: error: request for member 'push' in 'q', which is of non-class type 'int'
q.push(P(dist[s],s));
^
0_0_23180900_30237.cpp:53:18: error: request for member 'empty' in 'q', which is of non-class type 'int'
while(!q.empty())
^
0_0_23180900_30237.cpp:55:19: error: request for member 'top' in 'q', which is of non-class type 'int'
P p=q.top();
^
0_0_23180900_30237.cpp:56:15: error: request for member 'pop' in 'q', which is of non-class type 'int'
q.pop();
^
0_0_23180900_30237.cpp:67:23: error: request for member 'push' in 'q', which is of non-class type 'int'
q.push(P(dist[e.to],e.to));
^
|