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_18103960_29767.cpp:12:25: error: too many decimal points in number
   w,head,level,q:array [0..maxm+100] of longint;
                         ^
0_0_18103960_29767.cpp:13:12: error: too many decimal points in number
   h:array [1..2,0..maxn+100] of longint;
            ^
0_0_18103960_29767.cpp:13:17: error: too many decimal points in number
   h:array [1..2,0..maxn+100] of longint;
                 ^
0_0_18103960_29767.cpp:14:12: error: too many decimal points in number
   v:array [0..maxm+100,0..maxm+100] of boolean;
            ^
0_0_18103960_29767.cpp:14:24: error: too many decimal points in number
   v:array [0..maxm+100,0..maxm+100] of boolean;
                        ^
0_0_18103960_29767.cpp:15:12: error: too many decimal points in number
   g:array [0..100000] of point;
            ^
0_0_18103960_29767.cpp:16:12: error: too many decimal points in number
   e:array [1..2,0..maxk+100] of point2;
            ^
0_0_18103960_29767.cpp:16:17: error: too many decimal points in number
   e:array [1..2,0..maxk+100] of point2;
                 ^
0_0_18103960_29767.cpp:17:14: error: too many decimal points in number
   cnt:array [1..2] of longint;
              ^
0_0_18103960_29767.cpp:2:3: error: 'maxn' does not name a type
   maxn=1000;maxm=5000;maxk=3000;inf=maxlongint;
   ^
0_0_18103960_29767.cpp:2:13: error: 'maxm' does not name a type
   maxn=1000;maxm=5000;maxk=3000;inf=maxlongint;
             ^
0_0_18103960_29767.cpp:2:23: error: 'maxk' does not name a type
   maxn=1000;maxm=5000;maxk=3000;inf=maxlongint;
                       ^
0_0_18103960_29767.cpp:2:33: error: 'inf' does not name a type
   maxn=1000;maxm=5000;maxk=3000;inf=maxlongint;
                                 ^
0_0_18103960_29767.cpp:3:1: error: 'type' does not name a type
 type
 ^
0_0_18103960_29767.cpp:6:3: error: 'end' does not name a type
   end;
   ^
0_0_18103960_29767.cpp:7:3: error: 'point2' does not name a type
   point2=record
   ^
0_0_18103960_29767.cpp:9:3: error: 'end' does not name a type
   end;
   ^
0_0_18103960_29767.cpp:10:1: error: 'var' does not name a type
 var
 ^
0_0_18103960_29767.cpp:12:3: error: 'w' does not name a type
   w,head,level,q:array [0..maxm+100] of longint;
   ^
0_0_18103960_29767.cpp:13:4: error: found ':' in nested-name-specifier, expected '::'
   h:array [1..2,0..maxn+100] of longint;
    ^
0_0_18103960_29767.cpp:13:3: error: 'h' does not name a type
   h:array [1..2,0..maxn+100] of longint;
   ^
0_0_18103960_29767.cpp:14:4: error: found ':' in nested-name-specifier, expected '::'
   v:array [0..maxm+100,0..maxm+100] of boolean;
    ^
0_0_18103960_29767.cpp:14:3: error: 'v' does not name a type
   v:array [0..maxm+100,0..maxm+100] of boolean;
   ^
0_0_18103960_29767.cpp:15:4: error: found ':' in nested-name-specifier, expected '::'
   g:array [0..100000] of point;
    ^
0_0_18103960_29767.cpp:15:3: error: 'g' does not name a type
   g:array [0..100000] of point;
   ^
0_0_18103960_29767.cpp:16:4: error: found ':' in nested-name-specifier, expected '::'
   e:array [1..2,0..maxk+100] of point2;
    ^
0_0_18103960_29767.cpp:16:3: error: 'e' does not name a type
   e:array [1..2,0..maxk+100] of point2;
   ^
0_0_18103960_29767.cpp:17:6: error: found ':' in nested-name-specifier, expected '::'
   cnt:array [1..2] of longint;
      ^
0_0_18103960_29767.cpp:17:3: error: 'cnt' does not name a type
   cnt:array [1..2] of longint;
   ^
0_0_18103960_29767.cpp:18:1: error: 'procedure' does not name a type
 procedure link(x,com,opt:longint);
 ^
0_0_18103960_29767.cpp:19:3: error: 'begin' does not name a type
   begin
   ^
0_0_18103960_29767.cpp:21:5: error: 'e' does not name a type
     e[opt,cnt[opt]].com:=com;
     ^
0_0_18103960_29767.cpp:22:5: error: 'e' does not name a type
     e[opt,cnt[opt]].next:=h[opt,x];
     ^
0_0_18103960_29767.cpp:23:5: error: 'h' does not name a type
     h[opt,x]:=cnt[opt];
     ^
0_0_18103960_29767.cpp:24:3: error: 'end' does not name a type
   end;
   ^
0_0_18103960_29767.cpp:25:1: error: 'procedure' does not name a type
 procedure build_edge(x,y,z:longint);
 ^
0_0_18103960_29767.cpp:26:3: error: 'begin' does not name a type
   begin
   ^
0_0_18103960_29767.cpp:28:5: error: 'g' does not name a type
     g[tot].data:=y;
     ^
0_0_18103960_29767.cpp:29:5: error: 'g' does not name a type
     g[tot].r:=z;
     ^
0_0_18103960_29767.cpp:30:5: error: 'g' does not name a type
     g[tot].op:=tot+1;
     ^
0_0_18103960_29767.cpp:31:5: error: 'g' does not name a type
     g[tot].next:=head[x];
     ^
0_0_18103960_29767.cpp:32:5: error: 'head' does not name a type
     head[x]:=tot;
     ^
0_0_18103960_29767.cpp:33:8: error: expected constructor, destructor, or type conversion before '(' token
     inc(tot);
        ^
0_0_18103960_29767.cpp:34:5: error: 'g' does not name a type
     g[tot].data:=x;
     ^
0_0_18103960_29767.cpp:35:5: error: 'g' does not name a type
     g[tot].r:=0;
     ^
0_0_18103960_29767.cpp:36:5: error: 'g' does not name a type
     g[tot].op:=tot-1;
     ^
0_0_18103960_29767.cpp:37:5: error: 'g' does not name a type
     g[tot].next:=head[y];
     ^
0_0_18103960_29767.cpp:38:5: error: 'head' does not name a type
     head[y]:=tot;
     ^
0_0_18103960_29767.cpp:39:3: error: 'end' does not name a type
   end;
   ^
0_0_18103960_29767.cpp:40:1: error: 'function' does not name a type
 function bfs():boolean;
 ^
0_0_18103960_29767.cpp:41:3: error: 'var' does not name a type
   var
   ^
0_0_18103960_29767.cpp:43:3: error: 'begin' does not name a type
   begin
   ^
0_0_18103960_29767.cpp:45:13: error: expected constructor, destructor, or type conversion before '(' token
     fillchar(q,sizeof(q),0);
             ^
0_0_18103960_29767.cpp:46:5: error: 'l' does not name a type
     l:=0;r:=1;level[s]:=1;q[1]:=s;
     ^
0_0_18103960_29767.cpp:46:10: error: 'r' does not name a type
     l:=0;r:=1;level[s]:=1;q[1]:=s;
          ^
0_0_18103960_29767.cpp:46:15: error: 'level' does not name a type
     l:=0;r:=1;level[s]:=1;q[1]:=s;
               ^
0_0_18103960_29767.cpp:46:27: error: 'q' does not name a type
     l:=0;r:=1;level[s]:=1;q[1]:=s;
                           ^
0_0_18103960_29767.cpp:47:5: error: 'repeat' does not name a type
     repeat
     ^
0_0_18103960_29767.cpp:49:7: error: 'u' does not name a type
       u:=q[l];
       ^
0_0_18103960_29767.cpp:50:7: error: 'p' does not name a type
       p:=head[u];
       ^
0_0_18103960_29767.cpp:51:7: error: expected unqualified-id before 'while'
       while p<>0 do
       ^
0_0_18103960_29767.cpp:56:15: error: 'r' does not name a type
               r:=r mod (maxm+100)+1;
               ^
0_0_18103960_29767.cpp:57:15: error: 'q' does not name a type
               q[r]:=g[p].data;
               ^
0_0_18103960_29767.cpp:58:15: error: expected unqualified-id before 'if'
               if g[p].data=t then exit(true);
               ^
0_0_18103960_29767.cpp:59:13: error: 'end' does not name a type
             end;
             ^
0_0_18103960_29767.cpp:60:11: error: 'p' does not name a type
           p:=g[p].next;
           ^
0_0_18103960_29767.cpp:61:9: error: 'end' does not name a type
         end;
         ^
0_0_18103960_29767.cpp:62:5: error: 'until' does not name a type
     until l=r;
     ^
0_0_18103960_29767.cpp:63:9: error: expected constructor, destructor, or type conversion before '(' token
     exit(false);
         ^
0_0_18103960_29767.cpp:64:3: error: 'end' does not name a type
   end;
   ^
0_0_18103960_29767.cpp:65:1: error: 'function' does not name a type
 function min(var x,y:longint):longint;
 ^
0_0_18103960_29767.cpp:66:3: error: 'begin' does not name a type
   begin
   ^
0_0_18103960_29767.cpp:68:3: error: 'end' does not name a type
   end;
   ^
0_0_18103960_29767.cpp:69:1: error: 'function' does not name a type
 function dfs(x,a:longint):longint;
 ^
0_0_18103960_29767.cpp:70:3: error: 'var' does not name a type
   var
   ^
0_0_18103960_29767.cpp:72:3: error: 'begin' does not name a type
   begin
   ^
0_0_18103960_29767.cpp:74:5: error: 'p' does not name a type
     p:=head[x];
     ^
0_0_18103960_29767.cpp:75:5: error: 'ans' does not name a type
     ans:=0;
     ^
0_0_18103960_29767.cpp:76:5: error: expected unqualified-id before 'while'
     while p<>0 do
     ^
0_0_18103960_29767.cpp:81:13: error: expected unqualified-id before 'if'
             if flow<>0 then
             ^
0_0_18103960_29767.cpp:84:20: error: expected constructor, destructor, or type conversion before '(' token
                 inc(g[g[p].op].r,flow);
                    ^
0_0_18103960_29767.cpp:85:20: error: expected constructor, destructor, or type conversion before '(' token
                 inc(ans,flow);
                    ^
0_0_18103960_29767.cpp:86:20: error: expected constructor, destructor, or type conversion before '(' token
                 dec(a,flow);
                    ^
0_0_18103960_29767.cpp:87:17: error: expected unqualified-id before 'if'
                 if a=0 then break;
                 ^
0_0_18103960_29767.cpp:88:15: error: 'end' does not name a type
               end;
               ^
0_0_18103960_29767.cpp:89:11: error: 'end' does not name a type
           end;
           ^
0_0_18103960_29767.cpp:90:9: error: 'p' does not name a type
         p:=g[p].next;
         ^
0_0_18103960_29767.cpp:91:


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:59:10, Gzip enabled