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_20834278_11849.cpp: In member function 'void your::init()':
0_0_20834278_11849.cpp:14:34: error: 'memset' was not declared in this scope
         memset(head,0,sizeof head);
                                  ^
0_0_20834278_11849.cpp: In member function 'void your::spfa(int)':
0_0_20834278_11849.cpp:19:32: error: 'memset' was not declared in this scope
         memset(vis,0,sizeof vis);
                                ^
0_0_20834278_11849.cpp:21:9: error: 'queue' was not declared in this scope
         queue<int>q;
         ^
0_0_20834278_11849.cpp:21:15: error: expected primary-expression before 'int'
         queue<int>q;
               ^
0_0_20834278_11849.cpp:22:27: error: 'q' was not declared in this scope
         vis[x]=1,dis[x]=0,q.push(x);
                           ^
0_0_20834278_11849.cpp: In member function 'void my::init()':
0_0_20834278_11849.cpp:44:34: error: 'memset' was not declared in this scope
         memset(head,0,sizeof head);
                                  ^
0_0_20834278_11849.cpp: In member function 'int my::bfs()':
0_0_20834278_11849.cpp:54:9: error: 'queue' was not declared in this scope
         queue<int>q;
         ^
0_0_20834278_11849.cpp:54:15: error: expected primary-expression before 'int'
         queue<int>q;
               ^
0_0_20834278_11849.cpp:55:32: error: 'memset' was not declared in this scope
         memset(dis,0,sizeof dis);
                                ^
0_0_20834278_11849.cpp:56:9: error: 'q' was not declared in this scope
         q.push(S);
         ^
0_0_20834278_11849.cpp: In member function 'int my::dinic(int, int)':
0_0_20834278_11849.cpp:79:48: error: 'min' was not declared in this scope
                 tmp=dinic(to[i],min(val[i],temp));
                                                ^
0_0_20834278_11849.cpp: In function 'void maxflow()':
0_0_20834278_11849.cpp:94:15: error: 'n' was not declared in this scope
     b.S=1,b.T=n;
               ^
0_0_20834278_11849.cpp:96:22: error: 'printf' was not declared in this scope
     printf("%d\n",ans);
                      ^
0_0_20834278_11849.cpp: In function 'void work()':
0_0_20834278_11849.cpp:104:17: error: 'n' was not declared in this scope
     scanf("%d",&n);
                 ^
0_0_20834278_11849.cpp:104:18: error: 'scanf' was not declared in this scope
     scanf("%d",&n);
                  ^
0_0_20834278_11849.cpp:119:35: error: 'swap' was not declared in this scope
             swap(way[i].x,way[i].y);
                                   ^
0_0_20834278_11849.cpp: In function 'int main()':
0_0_20834278_11849.cpp:130:18: error: 'scanf' was not declared in this scope
     scanf("%d",&T);
                  ^


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-09-28 07:15:08, Gzip enabled