0_0_26664418_3140.cpp: In function 'void Dinic::init()':
0_0_26664418_3140.cpp:16:9: error: 'fill' is not a member of 'std'
std::fill(head, head + maxN, -1);
^
0_0_26664418_3140.cpp: In function 'bool Dinic::dinic_bfs(int, int)':
0_0_26664418_3140.cpp:28:9: error: 'fill' is not a member of 'std'
std::fill(depth, depth + maxN, INF);
^
0_0_26664418_3140.cpp:29:9: error: 'copy' is not a member of 'std'
std::copy(head, head + maxN, head_copy);
^
0_0_26664418_3140.cpp:30:9: error: 'queue' is not a member of 'std'
std::queue<int> q;
^
0_0_26664418_3140.cpp:30:20: error: expected primary-expression before 'int'
std::queue<int> q;
^
0_0_26664418_3140.cpp:32:9: error: 'q' was not declared in this scope
q.push(source);
^
0_0_26664418_3140.cpp: In function 'int Dinic::dinic_dfs(int, int, int)':
0_0_26664418_3140.cpp:53:49: error: 'min' is not a member of 'std'
f = dinic_dfs(edge[e].to, sink, std::min(limit, edge[e].dist));
^
0_0_26664418_3140.cpp: In function 'int main()':
0_0_26664418_3140.cpp:76:19: error: 'scanf' was not declared in this scope
scanf("%d", &T);
^
0_0_26664418_3140.cpp:89:43: error: 'printf' was not declared in this scope
printf("Case %d: %d\n", ++cas, ans);
^
|