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_19028438_13659.cpp:9:23: error: too many decimal points in number
   level,q,head:array [0..2*maxn+100] of longint;
                       ^
0_0_19028438_13659.cpp:10:12: error: too many decimal points in number
   g:array [0..maxm*4+maxn+100] of point;
            ^
0_0_19028438_13659.cpp:2:3: error: 'maxn' does not name a type
   maxn=200;maxm=20000;inf=maxlongint;
   ^
0_0_19028438_13659.cpp:2:12: error: 'maxm' does not name a type
   maxn=200;maxm=20000;inf=maxlongint;
            ^
0_0_19028438_13659.cpp:2:23: error: 'inf' does not name a type
   maxn=200;maxm=20000;inf=maxlongint;
                       ^
0_0_19028438_13659.cpp:3:1: error: 'type' does not name a type
 type
 ^
0_0_19028438_13659.cpp:6:3: error: 'end' does not name a type
   end;
   ^
0_0_19028438_13659.cpp:7:1: error: 'var' does not name a type
 var
 ^
0_0_19028438_13659.cpp:9:3: error: 'level' does not name a type
   level,q,head:array [0..2*maxn+100] of longint;
   ^
0_0_19028438_13659.cpp:10:4: error: found ':' in nested-name-specifier, expected '::'
   g:array [0..maxm*4+maxn+100] of point;
    ^
0_0_19028438_13659.cpp:10:3: error: 'g' does not name a type
   g:array [0..maxm*4+maxn+100] of point;
   ^
0_0_19028438_13659.cpp:11:1: error: 'procedure' does not name a type
 procedure build_edge(x,y,z:longint);
 ^
0_0_19028438_13659.cpp:12:3: error: 'begin' does not name a type
   begin
   ^
0_0_19028438_13659.cpp:14:5: error: 'g' does not name a type
     g[tot].data:=y;
     ^
0_0_19028438_13659.cpp:15:5: error: 'g' does not name a type
     g[tot].r:=z;
     ^
0_0_19028438_13659.cpp:16:5: error: 'g' does not name a type
     g[tot].op:=tot+1;
     ^
0_0_19028438_13659.cpp:17:5: error: 'g' does not name a type
     g[tot].next:=head[x];
     ^
0_0_19028438_13659.cpp:18:5: error: 'head' does not name a type
     head[x]:=tot;
     ^
0_0_19028438_13659.cpp:19:8: error: expected constructor, destructor, or type conversion before '(' token
     inc(tot);
        ^
0_0_19028438_13659.cpp:20:5: error: 'g' does not name a type
     g[tot].data:=x;
     ^
0_0_19028438_13659.cpp:21:5: error: 'g' does not name a type
     g[tot].r:=0;
     ^
0_0_19028438_13659.cpp:22:5: error: 'g' does not name a type
     g[tot].op:=tot-1;
     ^
0_0_19028438_13659.cpp:23:5: error: 'g' does not name a type
     g[tot].next:=head[y];
     ^
0_0_19028438_13659.cpp:24:5: error: 'head' does not name a type
     head[y]:=tot;
     ^
0_0_19028438_13659.cpp:25:3: error: 'end' does not name a type
   end;
   ^
0_0_19028438_13659.cpp:26:1: error: 'function' does not name a type
 function bfs():boolean;
 ^
0_0_19028438_13659.cpp:27:3: error: 'var' does not name a type
   var
   ^
0_0_19028438_13659.cpp:29:3: error: 'begin' does not name a type
   begin
   ^
0_0_19028438_13659.cpp:31:13: error: expected constructor, destructor, or type conversion before '(' token
     fillchar(q,sizeof(q),0);
             ^
0_0_19028438_13659.cpp:32:5: error: 'l' does not name a type
     l:=0;r:=1;level[s]:=1;q[1]:=s;
     ^
0_0_19028438_13659.cpp:32:10: error: 'r' does not name a type
     l:=0;r:=1;level[s]:=1;q[1]:=s;
          ^
0_0_19028438_13659.cpp:32:15: error: 'level' does not name a type
     l:=0;r:=1;level[s]:=1;q[1]:=s;
               ^
0_0_19028438_13659.cpp:32:27: error: 'q' does not name a type
     l:=0;r:=1;level[s]:=1;q[1]:=s;
                           ^
0_0_19028438_13659.cpp:33:5: error: 'repeat' does not name a type
     repeat
     ^
0_0_19028438_13659.cpp:35:7: error: 'u' does not name a type
       u:=q[l];
       ^
0_0_19028438_13659.cpp:36:7: error: 'p' does not name a type
       p:=head[u];
       ^
0_0_19028438_13659.cpp:37:7: error: expected unqualified-id before 'while'
       while p<>0 do
       ^
0_0_19028438_13659.cpp:42:15: error: 'r' does not name a type
               r:=r mod (2*maxn+100)+1;
               ^
0_0_19028438_13659.cpp:43:15: error: 'q' does not name a type
               q[r]:=g[p].data;
               ^
0_0_19028438_13659.cpp:44:15: error: expected unqualified-id before 'if'
               if g[p].data=t then exit(true);
               ^
0_0_19028438_13659.cpp:45:13: error: 'end' does not name a type
             end;
             ^
0_0_19028438_13659.cpp:46:11: error: 'p' does not name a type
           p:=g[p].next;
           ^
0_0_19028438_13659.cpp:47:9: error: 'end' does not name a type
         end;
         ^
0_0_19028438_13659.cpp:48:5: error: 'until' does not name a type
     until l=r;
     ^
0_0_19028438_13659.cpp:49:9: error: expected constructor, destructor, or type conversion before '(' token
     exit(false);
         ^
0_0_19028438_13659.cpp:50:3: error: 'end' does not name a type
   end;
   ^
0_0_19028438_13659.cpp:51:1: error: 'function' does not name a type
 function min(var x,y:longint):longint;
 ^
0_0_19028438_13659.cpp:52:3: error: 'begin' does not name a type
   begin
   ^
0_0_19028438_13659.cpp:54:3: error: 'end' does not name a type
   end;
   ^
0_0_19028438_13659.cpp:55:1: error: 'function' does not name a type
 function dfs(x,a:longint):longint;
 ^
0_0_19028438_13659.cpp:56:3: error: 'var' does not name a type
   var
   ^
0_0_19028438_13659.cpp:58:3: error: 'begin' does not name a type
   begin
   ^
0_0_19028438_13659.cpp:60:5: error: 'p' does not name a type
     p:=head[x];
     ^
0_0_19028438_13659.cpp:61:5: error: 'ans' does not name a type
     ans:=0;
     ^
0_0_19028438_13659.cpp:62:5: error: expected unqualified-id before 'while'
     while p<>0 do
     ^
0_0_19028438_13659.cpp:67:13: error: expected unqualified-id before 'if'
             if flow<>0 then
             ^
0_0_19028438_13659.cpp:70:20: error: expected constructor, destructor, or type conversion before '(' token
                 inc(g[g[p].op].r,flow);
                    ^
0_0_19028438_13659.cpp:71:20: error: expected constructor, destructor, or type conversion before '(' token
                 inc(ans,flow);
                    ^
0_0_19028438_13659.cpp:72:20: error: expected constructor, destructor, or type conversion before '(' token
                 dec(a,flow);
                    ^
0_0_19028438_13659.cpp:73:17: error: expected unqualified-id before 'if'
                 if a=0 then break;
                 ^
0_0_19028438_13659.cpp:74:15: error: 'end' does not name a type
               end;
               ^
0_0_19028438_13659.cpp:75:11: error: 'end' does not name a type
           end;
           ^
0_0_19028438_13659.cpp:76:9: error: 'p' does not name a type
         p:=g[p].next;
         ^
0_0_19028438_13659.cpp:77:7: error: 'end' does not name a type
       end;
       ^
0_0_19028438_13659.cpp:78:5: error: expected unqualified-id before 'if'
     if ans=0 then level[x]:=0;
     ^
0_0_19028438_13659.cpp:79:9: error: expected constructor, destructor, or type conversion before '(' token
     exit(ans);
         ^
0_0_19028438_13659.cpp:80:3: error: 'end' does not name a type
   end;
   ^
0_0_19028438_13659.cpp:81:1: error: 'function' does not name a type
 function maxflow():longint;
 ^
0_0_19028438_13659.cpp:82:3: error: 'var' does not name a type
   var
   ^
0_0_19028438_13659.cpp:84:3: error: 'begin' does not name a type
   begin
   ^
0_0_19028438_13659.cpp:86:5: error: expected unqualified-id before 'while'
     while bfs()=true do
     ^
0_0_19028438_13659.cpp:89:7: error: 'end' does not name a type
       end;
       ^
0_0_19028438_13659.cpp:90:9: error: expected constructor, destructor, or type conversion before '(' token
     exit(ans);
         ^
0_0_19028438_13659.cpp:91:3: error: 'end' does not name a type
   end;
   ^
0_0_19028438_13659.cpp:92:1: error: 'begin' does not name a type
 begin
 ^
0_0_19028438_13659.cpp:96:15: error: expected constructor, destructor, or type conversion before '(' token
       fillchar(g,sizeof(g),0);
               ^
0_0_19028438_13659.cpp:97:13: error: expected constructor, destructor, or type conversion before '(' token
       readln(n,m);
             ^
0_0_19028438_13659.cpp:98:13: error: expected constructor, destructor, or type conversion before '(' token
       readln(s,t);
             ^
0_0_19028438_13659.cpp:99:7: error: 's' does not name a type
       s:=2*s-1;t:=2*t;
       ^
0_0_19028438_13659.cpp:99:16: error: 't' does not name a type
       s:=2*s-1;t:=2*t;
                ^
0_0_19028438_13659.cpp:100:7: error: 'tot' does not name a type
       tot:=0;
       ^
0_0_19028438_13659.cpp:101:7: error: expected unqualified-id before 'for'
       for i:=1 to n do
       ^
0_0_19028438_13659.cpp:104:21: error: expected constructor, destructor, or type conversion before '(' token
           build_edge(2*i-1,2*i,c);
                     ^
0_0_19028438_13659.cpp:105:9: error: 'end' does not name a type
         end;
         ^
0_0_19028438_13659.cpp:106:7: error: expected unqualified-id before 'for'
       for i:=1 to m do
       ^
0_0_19028438_13659.cpp:109:21: error: expected constructor, destructor, or type conversion before '(' token
           build_edge(2*u,2*v-1,inf);
                     ^
0_0_19028438_13659.cpp:110:21: error: expected constructor, destructor, or type conversion before '(' token
           build_edge(2*v,2*u-1,inf);
                     ^
0_0_19028438_13659.cpp:111:9: error: 'end' does not name a type
         end;
         ^
0_0_1902843


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-24 20:27:22, Gzip enabled