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_19761281_12362.cpp:3:23: error: too many decimal points in number
   a,b,sum1,sum2:array[0..100000]of longint;
                       ^
0_0_19761281_12362.cpp:1:1: error: 'var' does not name a type
 var
 ^
0_0_19761281_12362.cpp:3:3: error: 'a' does not name a type
   a,b,sum1,sum2:array[0..100000]of longint;
   ^
0_0_19761281_12362.cpp:4:1: error: 'function' does not name a type
 function check(x:longint):boolean;
 ^
0_0_19761281_12362.cpp:5:1: error: 'begin' does not name a type
 begin
 ^
0_0_19761281_12362.cpp:9:1: error: 'end' does not name a type
 end;
 ^
0_0_19761281_12362.cpp:10:1: error: 'function' does not name a type
 function max(a,b:longint):longint;
 ^
0_0_19761281_12362.cpp:11:1: error: 'begin' does not name a type
 begin
 ^
0_0_19761281_12362.cpp:14:1: error: 'end' does not name a type
 end;
 ^
0_0_19761281_12362.cpp:15:1: error: 'function' does not name a type
 function min(a,b:longint):longint;
 ^
0_0_19761281_12362.cpp:16:1: error: 'begin' does not name a type
 begin
 ^
0_0_19761281_12362.cpp:19:1: error: 'end' does not name a type
 end;
 ^
0_0_19761281_12362.cpp:20:1: error: 'procedure' does not name a type
 procedure qsort(l,r:longint);
 ^
0_0_19761281_12362.cpp:21:1: error: 'var' does not name a type
 var
 ^
0_0_19761281_12362.cpp:23:4: error: 'i' does not name a type
    i,j:longint;
    ^
0_0_19761281_12362.cpp:24:1: error: 'begin' does not name a type
 begin
 ^
0_0_19761281_12362.cpp:25:9: error: 'j' does not name a type
    i:=l;j:=r;
         ^
0_0_19761281_12362.cpp:26:4: error: 'mid' does not name a type
    mid:=a[(l+r) div 2];
    ^
0_0_19761281_12362.cpp:27:3: error: 'repeat' does not name a type
   repeat
   ^
0_0_19761281_12362.cpp:29:7: error: expected unqualified-id before 'while'
       while a[j]<mid do dec(j);
       ^
0_0_19761281_12362.cpp:30:7: error: expected unqualified-id before 'if'
       if i<=j then begin
       ^
0_0_19761281_12362.cpp:31:18: error: 'a' does not name a type
         t:=a[i]; a[i]:=a[j]; a[j]:=t;
                  ^
0_0_19761281_12362.cpp:31:30: error: 'a' does not name a type
         t:=a[i]; a[i]:=a[j]; a[j]:=t;
                              ^
0_0_19761281_12362.cpp:32:12: error: expected constructor, destructor, or type conversion before '(' token
         inc(i);dec(j);
            ^
0_0_19761281_12362.cpp:32:19: error: expected constructor, destructor, or type conversion before '(' token
         inc(i);dec(j);
                   ^
0_0_19761281_12362.cpp:33:7: error: 'end' does not name a type
       end;
       ^
0_0_19761281_12362.cpp:34:4: error: 'until' does not name a type
    until i>j;
    ^
0_0_19761281_12362.cpp:35:4: error: expected unqualified-id before 'if'
    if l<j then qsort(l,j);
    ^
0_0_19761281_12362.cpp:36:4: error: expected unqualified-id before 'if'
    if i<r then qsort(i,r);
    ^
0_0_19761281_12362.cpp:37:1: error: 'end' does not name a type
 end;
 ^
0_0_19761281_12362.cpp:38:1: error: 'procedure' does not name a type
 procedure qsorts(l,r:longint);
 ^
0_0_19761281_12362.cpp:39:1: error: 'var' does not name a type
 var
 ^
0_0_19761281_12362.cpp:41:4: error: 'i' does not name a type
    i,j:longint;
    ^
0_0_19761281_12362.cpp:42:1: error: 'begin' does not name a type
 begin
 ^
0_0_19761281_12362.cpp:43:9: error: 'j' does not name a type
    i:=l;j:=r;
         ^
0_0_19761281_12362.cpp:44:4: error: 'mid' does not name a type
    mid:=b[(l+r) div 2];
    ^
0_0_19761281_12362.cpp:45:3: error: 'repeat' does not name a type
   repeat
   ^
0_0_19761281_12362.cpp:47:7: error: expected unqualified-id before 'while'
       while b[j]>mid do dec(j);
       ^
0_0_19761281_12362.cpp:48:7: error: expected unqualified-id before 'if'
       if i<=j then begin
       ^
0_0_19761281_12362.cpp:49:18: error: 'b' does not name a type
         t:=b[i]; b[i]:=b[j]; b[j]:=t;
                  ^
0_0_19761281_12362.cpp:49:30: error: 'b' does not name a type
         t:=b[i]; b[i]:=b[j]; b[j]:=t;
                              ^
0_0_19761281_12362.cpp:50:12: error: expected constructor, destructor, or type conversion before '(' token
         inc(i);dec(j);
            ^
0_0_19761281_12362.cpp:50:19: error: expected constructor, destructor, or type conversion before '(' token
         inc(i);dec(j);
                   ^
0_0_19761281_12362.cpp:51:7: error: 'end' does not name a type
       end;
       ^
0_0_19761281_12362.cpp:52:4: error: 'until' does not name a type
    until i>j;
    ^
0_0_19761281_12362.cpp:53:4: error: expected unqualified-id before 'if'
    if l<j then qsorts(l,j);
    ^
0_0_19761281_12362.cpp:54:4: error: expected unqualified-id before 'if'
    if i<r then qsorts(i,r);
    ^
0_0_19761281_12362.cpp:55:1: error: 'end' does not name a type
 end;
 ^
0_0_19761281_12362.cpp:56:1: error: 'begin' does not name a type
 begin
 ^
0_0_19761281_12362.cpp:58:3: error: expected unqualified-id before 'for'
   for j:=1 to t do begin
   ^
0_0_19761281_12362.cpp:60:5: error: expected unqualified-id before 'for'
     for i:=1 to n do
     ^
0_0_19761281_12362.cpp:62:5: error: expected unqualified-id before 'for'
     for i:=1 to m do
     ^
0_0_19761281_12362.cpp:64:10: error: expected constructor, destructor, or type conversion before '(' token
     qsort(1,n);
          ^
0_0_19761281_12362.cpp:65:11: error: expected constructor, destructor, or type conversion before '(' token
     qsorts(1,m);
           ^
0_0_19761281_12362.cpp:66:5: error: expected unqualified-id before 'for'
     for i:=1 to min(n,m) do
     ^
0_0_19761281_12362.cpp:68:14: error: expected constructor, destructor, or type conversion before '(' token
       writeln(ans);
              ^
0_0_19761281_12362.cpp:69:7: error: 'ans' does not name a type
       ans:=0;
       ^
0_0_19761281_12362.cpp:70:3: error: 'end' does not name a type
   end;
   ^
0_0_19761281_12362.cpp:71: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-26 11:39:25, Gzip enabled