F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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);
                      ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-25 19:45:22, Gzip enabled