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_13699944_7189.cpp:3:15: error: too many decimal points in number
     x,y:array[0..100001,0..3] of longint;
               ^
0_0_13699944_7189.cpp:3:25: error: too many decimal points in number
     x,y:array[0..100001,0..3] of longint;
                         ^
0_0_13699944_7189.cpp:4:15: error: too many decimal points in number
     max:array[0..100001,0..1] of longint;
               ^
0_0_13699944_7189.cpp:4:25: error: too many decimal points in number
     max:array[0..100001,0..1] of longint;
                         ^
0_0_13699944_7189.cpp:1:1: error: 'program' does not name a type
 program p3368;
 ^
0_0_13699944_7189.cpp:2:1: error: 'var' does not name a type
 var a,b,c,d,i,t,k,j,m,n,l,r,ans:longint;
 ^
0_0_13699944_7189.cpp:3:5: error: 'x' does not name a type
     x,y:array[0..100001,0..3] of longint;
     ^
0_0_13699944_7189.cpp:4:8: error: found ':' in nested-name-specifier, expected '::'
     max:array[0..100001,0..1] of longint;
        ^
0_0_13699944_7189.cpp:4:5: error: 'max' does not name a type
     max:array[0..100001,0..1] of longint;
     ^
0_0_13699944_7189.cpp:5:1: error: 'procedure' does not name a type
 procedure build(a,l,r:longint);
 ^
0_0_13699944_7189.cpp:6:1: error: 'var' does not name a type
 var b,c,d,i,j,k:longint;
 ^
0_0_13699944_7189.cpp:7:3: error: 'begin' does not name a type
   begin
   ^
0_0_13699944_7189.cpp:9:5: error: expected unqualified-id before 'if'
     if l=r then
     ^
0_0_13699944_7189.cpp:12:5: error: 'end' does not name a type
     end
     ^
0_0_13699944_7189.cpp:16:12: error: expected constructor, destructor, or type conversion before '(' token
       build(a*2+1,j+1,r);
            ^
0_0_13699944_7189.cpp:17:7: error: expected unqualified-id before 'if'
       if max[a*2,1]>max[a*2+1,1] then max[a,1]:=max[a*2,1]
       ^
0_0_13699944_7189.cpp:19:5: error: 'end' does not name a type
     end;
     ^
0_0_13699944_7189.cpp:20:3: error: 'end' does not name a type
   end;
   ^
0_0_13699944_7189.cpp:21:1: error: 'function' does not name a type
 function max1(a,b:longint):longint;
 ^
0_0_13699944_7189.cpp:22:1: error: 'begin' does not name a type
 begin
 ^
0_0_13699944_7189.cpp:25:1: error: 'end' does not name a type
 end;
 ^
0_0_13699944_7189.cpp:27:1: error: 'function' does not name a type
 function hxx(o,b,e,l,r:longint):longint;
 ^
0_0_13699944_7189.cpp:28:1: error: 'var' does not name a type
 var c,d,i,k:longint;
 ^
0_0_13699944_7189.cpp:29:3: error: 'begin' does not name a type
   begin
   ^
0_0_13699944_7189.cpp:31:5: error: 'k' does not name a type
     k:=0;
     ^
0_0_13699944_7189.cpp:32:5: error: expected unqualified-id before 'if'
     if (l<=b) and (r>=e) then exit(max[o,1]);
     ^
0_0_13699944_7189.cpp:33:5: error: expected unqualified-id before 'if'
     if l<=c then k:=max1(k,hxx(o*2,b,c,l,r));
     ^
0_0_13699944_7189.cpp:34:5: error: expected unqualified-id before 'if'
     if c<r then  k:=max1(k,hxx(o*2+1,c+1,e,l,r));
     ^
0_0_13699944_7189.cpp:35:9: error: expected constructor, destructor, or type conversion before '(' token
     exit(k);
         ^
0_0_13699944_7189.cpp:36:3: error: 'end' does not name a type
   end;
   ^
0_0_13699944_7189.cpp:38:1: error: 'begin' does not name a type
 begin
 ^
0_0_13699944_7189.cpp:40:3: error: expected unqualified-id before 'while'
   while (n<>0) do
   ^
0_0_13699944_7189.cpp:43:7: error: expected constructor, destructor, or type conversion before '(' token
   read(a);
       ^
0_0_13699944_7189.cpp:44:11: error: expected constructor, destructor, or type conversion before '(' token
   fillchar(max,sizeof(max),0);
           ^
0_0_13699944_7189.cpp:45:3: error: 'x' does not name a type
   x[1,1]:=a;
   ^
0_0_13699944_7189.cpp:46:3: error: 'y' does not name a type
   y[1,0]:=a;
   ^
0_0_13699944_7189.cpp:47:3: error: 'y' does not name a type
   y[1,1]:=1;
   ^
0_0_13699944_7189.cpp:48:3: error: 'y' does not name a type
   y[1,2]:=1;
   ^
0_0_13699944_7189.cpp:49:3: error: expected unqualified-id before 'for'
   for i:=2 to n do
   ^
0_0_13699944_7189.cpp:52:7: error: expected unqualified-id before 'if'
       if y[t,0]=x[i,1] then
       ^
0_0_13699944_7189.cpp:55:11: error: 'y' does not name a type
           y[t,3]:=i;
           ^
0_0_13699944_7189.cpp:56:11: error: 'x' does not name a type
           x[i,2]:=t;
           ^
0_0_13699944_7189.cpp:57:9: error: 'end' does not name a type
         end
         ^
0_0_13699944_7189.cpp:61:11: error: 'y' does not name a type
           y[t,0]:=x[i,1];
           ^
0_0_13699944_7189.cpp:62:11: error: 'y' does not name a type
           y[t,1]:=1;
           ^
0_0_13699944_7189.cpp:63:11: error: 'y' does not name a type
           y[t,2]:=i;
           ^
0_0_13699944_7189.cpp:64:11: error: 'x' does not name a type
           x[i,2]:=t;
           ^
0_0_13699944_7189.cpp:65:9: error: 'end' does not name a type
         end;
         ^
0_0_13699944_7189.cpp:66:5: error: 'end' does not name a type
     end;
     ^
0_0_13699944_7189.cpp:67:3: error: expected unqualified-id before 'for'
   for i:=1 to t do
   ^
0_0_13699944_7189.cpp:70:5: error: 'end' does not name a type
     end;
     ^
0_0_13699944_7189.cpp:71:8: error: expected constructor, destructor, or type conversion before '(' token
   build(1,1,t);
        ^
0_0_13699944_7189.cpp:72:3: error: expected unqualified-id before 'for'
   for i:=1 to m do
   ^
0_0_13699944_7189.cpp:75:7: error: 'ans' does not name a type
       ans:=0;
       ^
0_0_13699944_7189.cpp:76:7: error: expected unqualified-id before 'if'
       if a>b then begin b:=a+b;a:=b-a;b:=b-a;end;
       ^
0_0_13699944_7189.cpp:76:32: error: 'a' does not name a type
       if a>b then begin b:=a+b;a:=b-a;b:=b-a;end;
                                ^
0_0_13699944_7189.cpp:76:39: error: 'b' does not name a type
       if a>b then begin b:=a+b;a:=b-a;b:=b-a;end;
                                       ^
0_0_13699944_7189.cpp:76:46: error: 'end' does not name a type
       if a>b then begin b:=a+b;a:=b-a;b:=b-a;end;
                                              ^
0_0_13699944_7189.cpp:77:7: error: expected unqualified-id before 'if'
       if x[a,1]=x[b,1] then ans:=b-a+1
       ^
0_0_13699944_7189.cpp:82:7: error: expected unqualified-id before 'if'
       if y[x[b,2],3]=b then r:=x[b,2]
       ^
0_0_13699944_7189.cpp:84:7: error: expected unqualified-id before 'if'
       if l<=r then
       ^
0_0_13699944_7189.cpp:86:7: error: expected unqualified-id before 'if'
       if y[x[a,2],3]-a+1>ans then ans:=y[x[a,2],3]-a+1;
       ^
0_0_13699944_7189.cpp:87:7: error: expected unqualified-id before 'if'
       if b-y[x[b,2],2]+1>ans then ans:=b-y[x[b,2],2]+1;
       ^
0_0_13699944_7189.cpp:88:7: error: 'end' does not name a type
       end;
       ^
0_0_13699944_7189.cpp:89:14: error: expected constructor, destructor, or type conversion before '(' token
       writeln(ans);
              ^
0_0_13699944_7189.cpp:90:5: error: 'end' does not name a type
     end;
     ^
0_0_13699944_7189.cpp:91:11: error: expected constructor, destructor, or type conversion before '(' token
     readln(n,m);
           ^
0_0_13699944_7189.cpp:92:3: error: 'end' does not name a type
   end;
   ^
0_0_13699944_7189.cpp:93: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-10-06 17:14:40, Gzip enabled