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_19694149_18503.cpp:8:10: error: too many decimal points in number
  e:array[0..maxn] of edge;
          ^
0_0_19694149_18503.cpp:9:23: error: too many decimal points in number
  num,d,cur,head:array[0..maxn] of longint;
                       ^
0_0_19694149_18503.cpp:1:7: error: 'maxn' does not name a type
 const maxn=10000;
       ^
0_0_19694149_18503.cpp:2:1: error: 'type' does not name a type
 type
 ^
0_0_19694149_18503.cpp:5:2: error: 'end' does not name a type
  end;
  ^
0_0_19694149_18503.cpp:7:1: error: 'var' does not name a type
 var
 ^
0_0_19694149_18503.cpp:9:2: error: 'num' does not name a type
  num,d,cur,head:array[0..maxn] of longint;
  ^
0_0_19694149_18503.cpp:10:2: error: 'i' does not name a type
  i,j,k,l,t,s,en,m,n:longint;
  ^
0_0_19694149_18503.cpp:12:1: error: 'function' does not name a type
 function min(x,y:longint):longint;
 ^
0_0_19694149_18503.cpp:13:1: error: 'begin' does not name a type
 begin
 ^
0_0_19694149_18503.cpp:15:1: error: 'end' does not name a type
 end;
 ^
0_0_19694149_18503.cpp:17:1: error: 'procedure' does not name a type
 procedure add(s,t,f:longint);
 ^
0_0_19694149_18503.cpp:18:1: error: 'begin' does not name a type
 begin
 ^
0_0_19694149_18503.cpp:20:2: error: 'e' does not name a type
  e[en].f:=f;
  ^
0_0_19694149_18503.cpp:21:2: error: 'e' does not name a type
  e[en].next:=head[s];
  ^
0_0_19694149_18503.cpp:22:2: error: 'head' does not name a type
  head[s]:=en;
  ^
0_0_19694149_18503.cpp:23:5: error: expected constructor, destructor, or type conversion before '(' token
  inc(en);
     ^
0_0_19694149_18503.cpp:24:1: error: 'end' does not name a type
 end;
 ^
0_0_19694149_18503.cpp:26:1: error: 'procedure' does not name a type
 procedure addedge(s,t,f:longint);
 ^
0_0_19694149_18503.cpp:27:1: error: 'begin' does not name a type
 begin
 ^
0_0_19694149_18503.cpp:29:5: error: expected constructor, destructor, or type conversion before '(' token
  add(t,s,0);
     ^
0_0_19694149_18503.cpp:30:1: error: 'end' does not name a type
 end;
 ^
0_0_19694149_18503.cpp:32:1: error: 'function' does not name a type
 function sap(v,flow:longint):longint;
 ^
0_0_19694149_18503.cpp:33:1: error: 'var' does not name a type
 var rec,ret,i:longint;
 ^
0_0_19694149_18503.cpp:34:1: error: 'begin' does not name a type
 begin
 ^
0_0_19694149_18503.cpp:36:2: error: 'rec' does not name a type
  rec:=0;
  ^
0_0_19694149_18503.cpp:37:2: error: 'i' does not name a type
  i:=cur[v];
  ^
0_0_19694149_18503.cpp:38:2: error: expected unqualified-id before 'while'
  while i<>-1 do
  ^
0_0_19694149_18503.cpp:43:9: error: expected constructor, destructor, or type conversion before '(' token
      dec(e[i].f,ret);
         ^
0_0_19694149_18503.cpp:44:9: error: expected constructor, destructor, or type conversion before '(' token
      inc(e[i xor 1].f,ret);
         ^
0_0_19694149_18503.cpp:45:6: error: 'cur' does not name a type
      cur[v]:=i;
      ^
0_0_19694149_18503.cpp:46:9: error: expected constructor, destructor, or type conversion before '(' token
      inc(rec,ret);
         ^
0_0_19694149_18503.cpp:47:6: error: expected unqualified-id before 'if'
      if rec=flow then exit(flow);
      ^
0_0_19694149_18503.cpp:48:5: error: 'end' does not name a type
     end;
     ^
0_0_19694149_18503.cpp:49:5: error: 'i' does not name a type
     i:=e[i].next;
     ^
0_0_19694149_18503.cpp:50:3: error: 'end' does not name a type
   end;
   ^
0_0_19694149_18503.cpp:51:7: error: expected constructor, destructor, or type conversion before '(' token
    dec(num[d[v]]);
       ^
0_0_19694149_18503.cpp:52:4: error: expected unqualified-id before 'if'
    if num[d[v]]=0 then d[s]:=t;
    ^
0_0_19694149_18503.cpp:53:7: error: expected constructor, destructor, or type conversion before '(' token
    inc(d[v]);
       ^
0_0_19694149_18503.cpp:54:7: error: expected constructor, destructor, or type conversion before '(' token
    inc(num[d[v]]);
       ^
0_0_19694149_18503.cpp:55:4: error: 'cur' does not name a type
    cur[v]:=head[v];
    ^
0_0_19694149_18503.cpp:56:8: error: expected constructor, destructor, or type conversion before '(' token
    exit(rec);
        ^
0_0_19694149_18503.cpp:58:1: error: 'end' does not name a type
 end;
 ^
0_0_19694149_18503.cpp:60:1: error: 'function' does not name a type
 function maxflow:longint;
 ^
0_0_19694149_18503.cpp:61:1: error: 'var' does not name a type
 var flow:longint;
 ^
0_0_19694149_18503.cpp:62:1: error: 'begin' does not name a type
 begin
 ^
0_0_19694149_18503.cpp:64:10: error: expected constructor, destructor, or type conversion before '(' token
  fillchar(d,sizeof(d),0);
          ^
0_0_19694149_18503.cpp:65:2: error: expected unqualified-id before 'for'
  for i:= 1 to t do cur[i]:=head[i];
  ^
0_0_19694149_18503.cpp:66:2: error: 'num' does not name a type
  num[0]:=n;
  ^
0_0_19694149_18503.cpp:67:2: error: 'flow' does not name a type
  flow:=0;
  ^
0_0_19694149_18503.cpp:68:2: error: expected unqualified-id before 'while'
  while d[s]<t do inc(flow,sap(s,maxlongint));
  ^
0_0_19694149_18503.cpp:69:6: error: expected constructor, destructor, or type conversion before '(' token
  exit(flow);
      ^
0_0_19694149_18503.cpp:70:1: error: 'end' does not name a type
 end;
 ^
0_0_19694149_18503.cpp:72:1: error: 'procedure' does not name a type
 procedure init;
 ^
0_0_19694149_18503.cpp:74:1: error: 'begin' does not name a type
 begin
 ^
0_0_19694149_18503.cpp:75:18: error: expected unqualified-id before '{' token
  readln(m,n);    {m point,n side}
                  ^
0_0_19694149_18503.cpp:76:7: error: expected constructor, destructor, or type conversion before '(' token
 readln(s,t);
       ^
0_0_19694149_18503.cpp:77:10: error: expected constructor, destructor, or type conversion before '(' token
  fillchar(e,sizeof(e),0);
          ^
0_0_19694149_18503.cpp:78:2: error: expected unqualified-id before 'for'
  for i:= 1 to n do head[i]:=-1;
  ^
0_0_19694149_18503.cpp:79:2: error: 'en' does not name a type
  en:=0;
  ^
0_0_19694149_18503.cpp:80:2: error: expected unqualified-id before 'for'
  for i:=1 to m do
  ^
0_0_19694149_18503.cpp:83:11: error: expected constructor, destructor, or type conversion before '(' token
    addedge(j,k,l);
           ^
0_0_19694149_18503.cpp:84:3: error: 'end' does not name a type
   end;
   ^
0_0_19694149_18503.cpp:85:1: error: 'end' does not name a type
 end;
 ^
0_0_19694149_18503.cpp:87:1: error: 'Begin' does not name a type
 Begin
 ^
0_0_19694149_18503.cpp:89:8: error: expected constructor, destructor, or type conversion before '(' token
 writeln(maxflow);
        ^
0_0_19694149_18503.cpp:90:1: error: 'End' does not name a type
 End.
 ^


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-23 10:04:44, Gzip enabled