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_33221937_13573.cpp: In function 'int max_flow(int, int, int)':
0_0_33221937_13573.cpp:33:2: error: 'typec' was not declared in this scope
  typec tr,res=0;
  ^
0_0_33221937_13573.cpp:36:30: error: 'memset' was not declared in this scope
   memset(dep,-1,n*sizeof(int));
                              ^
0_0_33221937_13573.cpp:52:14: error: 'tr' was not declared in this scope
      for(k=0,tr=INF;k<top;++k)
              ^
0_0_33221937_13573.cpp:56:23: error: 'tr' was not declared in this scope
        edge[ps[k]].w-=tr,edge[ps[k]^1].w+=tr;
                       ^
0_0_33221937_13573.cpp:57:7: error: 'res' was not declared in this scope
       res+=tr;
       ^
0_0_33221937_13573.cpp:57:12: error: 'tr' was not declared in this scope
       res+=tr;
            ^
0_0_33221937_13573.cpp:72:9: error: 'res' was not declared in this scope
  return res;
         ^
0_0_33221937_13573.cpp: In function 'void get_data()':
0_0_33221937_13573.cpp:84:29: error: 'memset' was not declared in this scope
  memset(head,-1,sizeof(head));en=0;
                             ^
0_0_33221937_13573.cpp: In function 'void spfa(int*, int)':
0_0_33221937_13573.cpp:99:30: error: 'memset' was not declared in this scope
  memset(inque,0,sizeof(inque));
                              ^


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-05-02 22:40:41, Gzip enabled