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_21980897_8086\Main.java:1: 错误: 需要class, interface或enum
type
^
0_0_21980897_8086\Main.java:4: 错误: 需要class, interface或enum
      end;
      ^
0_0_21980897_8086\Main.java:5: 错误: 需要class, interface或enum
  arrr=array [0..20] of arr;
  ^
0_0_21980897_8086\Main.java:6: 错误: 需要class, interface或enum
var
^
0_0_21980897_8086\Main.java:8: 错误: 需要class, interface或enum
  n,m,num,sum:longint;
  ^
0_0_21980897_8086\Main.java:9: 错误: 需要class, interface或enum
  a,b,c:arrr;
  ^
0_0_21980897_8086\Main.java:11: 错误: 需要class, interface或enum
function min(o,p:longint):longint;
^
0_0_21980897_8086\Main.java:12: 错误: 需要class, interface或enum
begin
^
0_0_21980897_8086\Main.java:14: 错误: 需要class, interface或enum
  exit(p);
  ^
0_0_21980897_8086\Main.java:15: 错误: 需要class, interface或enum
end;
^
0_0_21980897_8086\Main.java:17: 错误: 需要class, interface或enum
procedure qsort(l,r:longint; var ab:arrr);
^
0_0_21980897_8086\Main.java:17: 错误: 需要class, interface或enum
procedure qsort(l,r:longint; var ab:arrr);
                             ^
0_0_21980897_8086\Main.java:18: 错误: 需要class, interface或enum
var
^
0_0_21980897_8086\Main.java:20: 错误: 需要class, interface或enum
  mid,t:arr;
  ^
0_0_21980897_8086\Main.java:21: 错误: 需要class, interface或enum
begin
^
0_0_21980897_8086\Main.java:23: 错误: 需要class, interface或enum
  i:=l; j:=r;
  ^
0_0_21980897_8086\Main.java:23: 错误: 需要class, interface或enum
  i:=l; j:=r;
        ^
0_0_21980897_8086\Main.java:24: 错误: 需要class, interface或enum
  mid:=ab[(l+r) div 2];
  ^
0_0_21980897_8086\Main.java:25: 错误: 需要class, interface或enum
  repeat
  ^
0_0_21980897_8086\Main.java:27: 错误: 需要class, interface或enum
    while (ab[j].op>mid.op) or (ab[j].op=mid.op) and (ab[j].num>mid.num) do dec(j);
    ^
0_0_21980897_8086\Main.java:28: 错误: 需要class, interface或enum
    if i<=j then
    ^
0_0_21980897_8086\Main.java:30: 错误: 需要class, interface或enum
        t:=ab[i]; ab[i]:=ab[j]; ab[j]:=t;
                  ^
0_0_21980897_8086\Main.java:30: 错误: 需要class, interface或enum
        t:=ab[i]; ab[i]:=ab[j]; ab[j]:=t;
                                ^
0_0_21980897_8086\Main.java:31: 错误: 需要class, interface或enum
        inc(i); dec(j);
        ^
0_0_21980897_8086\Main.java:31: 错误: 需要class, interface或enum
        inc(i); dec(j);
                ^
0_0_21980897_8086\Main.java:32: 错误: 需要class, interface或enum
      end;
      ^
0_0_21980897_8086\Main.java:33: 错误: 需要class, interface或enum
  until i>j;
  ^
0_0_21980897_8086\Main.java:34: 错误: 需要class, interface或enum
  qsort(i,r,ab);
  ^
0_0_21980897_8086\Main.java:35: 错误: 需要class, interface或enum
  qsort(l,j,ab);
  ^
0_0_21980897_8086\Main.java:36: 错误: 需要class, interface或enum
end;
^
0_0_21980897_8086\Main.java:38: 错误: 需要class, interface或enum
procedure init;
^
0_0_21980897_8086\Main.java:39: 错误: 需要class, interface或enum
var
^
0_0_21980897_8086\Main.java:41: 错误: 需要class, interface或enum
  c1,c2,c3:char;
  ^
0_0_21980897_8086\Main.java:42: 错误: 需要class, interface或enum
begin
^
0_0_21980897_8086\Main.java:46: 错误: 需要class, interface或enum
      if c2='s' then a[i].op:=1
      ^
0_0_21980897_8086\Main.java:49: 错误: 需要class, interface或enum
        a[i].num:=ord(c1)-48;
        ^
0_0_21980897_8086\Main.java:50: 错误: 需要class, interface或enum
        a[i].s:=1; a[i].id:=i;
        ^
0_0_21980897_8086\Main.java:50: 错误: 需要class, interface或enum
        a[i].s:=1; a[i].id:=i;
                   ^
0_0_21980897_8086\Main.java:51: 错误: 需要class, interface或enum
      end;
      ^
0_0_21980897_8086\Main.java:52: 错误: 需要class, interface或enum
end;
^
0_0_21980897_8086\Main.java:54: 错误: 需要class, interface或enum
procedure try1;
^
0_0_21980897_8086\Main.java:55: 错误: 需要class, interface或enum
var
^
0_0_21980897_8086\Main.java:57: 错误: 需要class, interface或enum
begin
^
0_0_21980897_8086\Main.java:59: 错误: 需要class, interface或enum
  for i:=1 to 13 do
  ^
0_0_21980897_8086\Main.java:63: 错误: 需要class, interface或enum
        dec(n);
        ^
0_0_21980897_8086\Main.java:64: 错误: 需要class, interface或enum
        inc(a[i+1].s,a[i].s);
        ^
0_0_21980897_8086\Main.java:65: 错误: 需要class, interface或enum
        a[i+1].id:=min(a[i+1].id,a[i].id);
        ^
0_0_21980897_8086\Main.java:66: 错误: 需要class, interface或enum
      end;
      ^
0_0_21980897_8086\Main.java:67: 错误: 需要class, interface或enum
end;
^
0_0_21980897_8086\Main.java:69: 错误: 需要class, interface或enum
function check(x,y,jiang:longint):boolean;
^
0_0_21980897_8086\Main.java:70: 错误: 需要class, interface或enum
begin
^
0_0_21980897_8086\Main.java:75: 错误: 需要class, interface或enum
    end;
    ^
0_0_21980897_8086\Main.java:76: 错误: 需要class, interface或enum
  if (c[x].s=0) then exit(check(x+1,y,jiang));
  ^
0_0_21980897_8086\Main.java:77: 错误: 需要class, interface或enum
    if (c[x].s=1) then
    ^
0_0_21980897_8086\Main.java:81: 错误: 需要class, interface或enum
            dec(c[x].s); dec(c[x+1].s); dec(c[x+2].s);
                         ^
0_0_21980897_8086\Main.java:81: 错误: 需要class, interface或enum
            dec(c[x].s); dec(c[x+1].s); dec(c[x+2].s);
                                        ^
0_0_21980897_8086\Main.java:82: 错误: 需要class, interface或enum
            if (check(x+1,y,jiang)) then exit(true);
            ^
0_0_21980897_8086\Main.java:83: 错误: 需要class, interface或enum
            inc(c[x].s); inc(c[x+1].s); inc(c[x+2].s);
            ^
0_0_21980897_8086\Main.java:83: 错误: 需要class, interface或enum
            inc(c[x].s); inc(c[x+1].s); inc(c[x+2].s);
                         ^
0_0_21980897_8086\Main.java:83: 错误: 需要class, interface或enum
            inc(c[x].s); inc(c[x+1].s); inc(c[x+2].s);
                                        ^
0_0_21980897_8086\Main.java:84: 错误: 需要class, interface或enum
          end
          ^
0_0_21980897_8086\Main.java:90: 错误: 需要class, interface或enum
          if (c[x+1].op=c[x].op) and (c[x+1].num=c[x].num+1) and (c[x+1].s>1) and (c[x+2].op=c[x].op) and (c[x+2].num=c[x].num+2) and (c[x+2].s>1) and (x+2<=y) then
          ^
0_0_21980897_8086\Main.java:92: 错误: 需要class, interface或enum
              dec(c[x].s,2); dec(c[x+1].s,2); dec(c[x+2].s,2);
                             ^
0_0_21980897_8086\Main.java:92: 错误: 需要class, interface或enum
              dec(c[x].s,2); dec(c[x+1].s,2); dec(c[x+2].s,2);
                                              ^
0_0_21980897_8086\Main.java:93: 错误: 需要class, interface或enum
              if (check(x+1,y,jiang)) then exit(true);
              ^
0_0_21980897_8086\Main.java:94: 错误: 需要class, interface或enum
              inc(c[x].s,2); inc(c[x+1].s,2); inc(c[x+2].s,2);
              ^
0_0_21980897_8086\Main.java:94: 错误: 需要class, interface或enum
              inc(c[x].s,2); inc(c[x+1].s,2); inc(c[x+2].s,2);
                             ^
0_0_21980897_8086\Main.java:94: 错误: 需要class, interface或enum
              inc(c[x].s,2); inc(c[x+1].s,2); inc(c[x+2].s,2);
                                              ^
0_0_21980897_8086\Main.java:95: 错误: 需要class, interface或enum
            end;
            ^
0_0_21980897_8086\Main.java:96: 错误: 需要class, interface或enum
        end else
        ^
0_0_21980897_8086\Main.java:102: 错误: 需要class, interface或enum
                if (check(x,y,1)) then exit(true);
                ^
0_0_21980897_8086\Main.java:103: 错误: 需要class, interface或enum
                inc(c[x].s,2);
                ^
0_0_21980897_8086\Main.java:104: 错误: 需要class, interface或enum
              end;
              ^
0_0_21980897_8086\Main.java:105: 错误: 需要class, interface或enum
            if (check(x+1,y,jiang)) then exit(true);
            ^
0_0_21980897_8086\Main.java:106: 错误: 需要class, interface或enum
          end else
          ^
0_0_21980897_8086\Main.java:111: 错误: 需要class, interface或enum
                if (check(x,y,1)) then exit(true);
                ^
0_0_21980897_8086\Main.java:112: 错误: 需要class, interface或enum
                inc(c[x].s,2);
                ^
0_0_21980897_8086\Main.java:113: 错误: 需要class, interface或enum
              end;
              ^
0_0_21980897_8086\Main.java:114: 错误: 需要class, interface或enum
            dec(c[x].s,3);
            ^
0_0_21980897_8086\Main.java:115: 错误: 需要class, interface或enum
            if (check(x,y,jiang)) then exit(true);
            ^
0_0_21980897_8086\Main.java:116: 错误: 需要class, interface或enum
            inc(c[x].s,3);
            ^
0_0_21980897_8086\Main.java:117: 错误: 需要class, interface或enum
            if (c[x+1].op=c[x].op) and (c[x+1].num=c[x].num+1) and (c[x+1].s>3) and (c[x+2].op=c[x].op) and (c[x+2].num=c[x].num+2) and (c[x+2].s>3) and (x+2<=y) then
            ^
0_0_21980897_8086\Main.java:119: 错误: 需要class, interface或enum
                dec(c[x].s,2); dec(c[x+1].s,2); dec(c[x+2].s,2);
                               ^
0_0_21980897_8086\Main.java:119: 错误: 需要class, interface或enum
                dec(c[x].s,2); dec(c[x+1].s,2); dec(c[x+2].s,2);
                                                ^
0_0_21980897_8086\Main.java:120: 错误: 需要class, interface或enum
                if (check(x+1,y,jiang)) then exit(true);
                ^
0_0_2


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