0_0_29982398_28552.cpp:98:1: error: 'Min_Cost_Max_Flow' does not name a type
Min_Cost_Max_Flow MCMF;
^
0_0_29982398_28552.cpp: In function 'int main()':
0_0_29982398_28552.cpp:101:30: error: 'read_int' was not declared in this scope
for (int kase = read_int(); kase > 0; --kase) {
^
0_0_29982398_28552.cpp:104:13: error: expected unqualified-id before '.' token
MCMF.Init(t);
^
0_0_29982398_28552.cpp:105:13: error: expected unqualified-id before '.' token
MCMF.Add_Edge(s1, s2, k, 0);
^
0_0_29982398_28552.cpp:108:17: error: expected unqualified-id before '.' token
MCMF.Add_Edge(i, i + n, 1, -arr[i]);
^
0_0_29982398_28552.cpp:112:42: error: expected unqualified-id before '.' token
if (arr[i] <= arr[j])MCMF.Add_Edge(i + n, j, 1, 0);
^
0_0_29982398_28552.cpp:115:17: error: expected unqualified-id before '.' token
MCMF.Add_Edge(s2, i, 1, 0);
^
0_0_29982398_28552.cpp:116:17: error: expected unqualified-id before '.' token
MCMF.Add_Edge(i + n, t, 1, 0);
^
0_0_29982398_28552.cpp:118:22: error: expected primary-expression before '.' token
cout << -MCMF.Min_cost_max_flow(s1, t, INF, flow) << endl;
^
|