0_0_22128655_7590.cpp:13:1: error: 'queue' does not name a type
queue<int> q;
^
0_0_22128655_7590.cpp: In function 'bool Bfs()':
0_0_22128655_7590.cpp:5:40: error: 'memset' was not declared in this scope
#define set(a,b) memset(a,(b),sizeof(a))
^
0_0_22128655_7590.cpp:24:3: note: in expansion of macro 'set'
set(h,-1),h[T]=0;
^
0_0_22128655_7590.cpp:25:3: error: 'q' was not declared in this scope
q.push(T);
^
0_0_22128655_7590.cpp: In function 'int Dfs(int, int)':
0_0_22128655_7590.cpp:42:44: error: 'min' was not declared in this scope
int w=Dfs(s[i].v,min(s[i].c,flow-used));
^
0_0_22128655_7590.cpp: In function 'void Dinic()':
0_0_22128655_7590.cpp:53:16: error: 'INT_MAX' was not declared in this scope
ans+=Dfs(S,INT_MAX);
^
0_0_22128655_7590.cpp: In function 'int main()':
0_0_22128655_7590.cpp:62:19: error: 'scanf' was not declared in this scope
scanf("%d",&Test);
^
0_0_22128655_7590.cpp:5:40: error: 'memset' was not declared in this scope
#define set(a,b) memset(a,(b),sizeof(a))
^
0_0_22128655_7590.cpp:66:5: note: in expansion of macro 'set'
set(first,-1),ind=0;
^
0_0_22128655_7590.cpp:75:19: error: 'c' was not declared in this scope
else s[i].c=c[i^1].c=INT_MAX/2;
^
0_0_22128655_7590.cpp:75:28: error: 'INT_MAX' was not declared in this scope
else s[i].c=c[i^1].c=INT_MAX/2;
^
0_0_22128655_7590.cpp:77:22: error: 'printf' was not declared in this scope
printf("%d\n",ans);
^
|