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_1461951_27760\Main.java:1: 需要 "class" 或 "interface"
const
^
0_0_1461951_27760\Main.java:11: 需要 "class" 或 "interface"
        (1,2,3,4,4,3,2,1,0));{9}
                             ^
0_0_1461951_27760\Main.java:14: 需要 "class" 或 "interface"
var
^
0_0_1461951_27760\Main.java:16: 需要 "class" 或 "interface"
    visit:array[1..9,1..9,1..9,1..9] of boolean;
    ^
0_0_1461951_27760\Main.java:17: 需要 "class" 或 "interface"
    count:array[1..30] of integer;
    ^
0_0_1461951_27760\Main.java:18: 需要 "class" 或 "interface"
    {goal:number;}
    ^
0_0_1461951_27760\Main.java:20: 需要 "class" 或 "interface"
procedure init;
^
0_0_1461951_27760\Main.java:21: 需要 "class" 或 "interface"
var
^
0_0_1461951_27760\Main.java:23: 需要 "class" 或 "interface"
    temp:number;
    ^
0_0_1461951_27760\Main.java:24: 需要 "class" 或 "interface"
begin
^
0_0_1461951_27760\Main.java:26: 需要 "class" 或 "interface"
    for i:=4 downto 1 do
    ^
0_0_1461951_27760\Main.java:29: 需要 "class" 或 "interface"
            num:=num div 10;
            ^
0_0_1461951_27760\Main.java:30: 需要 "class" 或 "interface"
        end;
        ^
0_0_1461951_27760\Main.java:31: 需要 "class" 或 "interface"
    fillchar(visit,sizeof(visit),false);
    ^
0_0_1461951_27760\Main.java:32: 需要 "class" 或 "interface"
    fillchar(count,sizeof(count),0);
    ^
0_0_1461951_27760\Main.java:33: 需要 "class" 或 "interface"
    visit[temp[1],temp[2],temp[3],temp[4]]:=true;
    ^
0_0_1461951_27760\Main.java:34: 需要 "class" 或 "interface"
    h:=1;l:=1;
    ^
0_0_1461951_27760\Main.java:34: 需要 "class" 或 "interface"
    h:=1;l:=1;
         ^
0_0_1461951_27760\Main.java:35: 需要 "class" 或 "interface"
    queue[1]:=temp;
    ^
0_0_1461951_27760\Main.java:36: 需要 "class" 或 "interface"
    count[1]:=0;
    ^
0_0_1461951_27760\Main.java:37: 需要 "class" 或 "interface"
    {readln(num);
    ^
0_0_1461951_27760\Main.java:44: 需要 "class" 或 "interface"
procedure swap(var x,y:integer);
^
0_0_1461951_27760\Main.java:45: 需要 "class" 或 "interface"
var
^
0_0_1461951_27760\Main.java:47: 需要 "class" 或 "interface"
begin
^
0_0_1461951_27760\Main.java:49: 需要 "class" 或 "interface"
    x:=y;
    ^
0_0_1461951_27760\Main.java:50: 需要 "class" 或 "interface"
    y:=t;
    ^
0_0_1461951_27760\Main.java:51: 需要 "class" 或 "interface"
end;
^
0_0_1461951_27760\Main.java:52: 需要 "class" 或 "interface"
procedure bfs;
^
0_0_1461951_27760\Main.java:53: 需要 "class" 或 "interface"
var
^
0_0_1461951_27760\Main.java:55: 需要 "class" 或 "interface"
    i:integer;
    ^
0_0_1461951_27760\Main.java:56: 需要 "class" 或 "interface"
begin
^
0_0_1461951_27760\Main.java:62: 需要 "class" 或 "interface"
                    swap(temp[i],temp[i+1]);
                    ^
0_0_1461951_27760\Main.java:63: 需要 "class" 或 "interface"
                    if not visit[temp[1],temp[2],temp[3],temp[4]] then
                    ^
0_0_1461951_27760\Main.java:66: 需要 "class" 或 "interface"
                            inc(l);
                            ^
0_0_1461951_27760\Main.java:67: 需要 "class" 或 "interface"
                            queue[l]:=temp;
                            ^
0_0_1461951_27760\Main.java:68: 需要 "class" 或 "interface"
                            count[l]:=count[h]+1;
                            ^
0_0_1461951_27760\Main.java:69: 需要 "class" 或 "interface"
                        end;
                        ^
0_0_1461951_27760\Main.java:70: 需要 "class" 或 "interface"
                end;
                ^
0_0_1461951_27760\Main.java:71: 需要 "class" 或 "interface"
            inc(h);
            ^
0_0_1461951_27760\Main.java:72: 需要 "class" 或 "interface"
        end;
        ^
0_0_1461951_27760\Main.java:73: 需要 "class" 或 "interface"
end;
^
0_0_1461951_27760\Main.java:74: 需要 "class" 或 "interface"
procedure work;
^
0_0_1461951_27760\Main.java:75: 需要 "class" 或 "interface"
var
^
0_0_1461951_27760\Main.java:77: 需要 "class" 或 "interface"
    goal:number;
    ^
0_0_1461951_27760\Main.java:78: 需要 "class" 或 "interface"
begin
^
0_0_1461951_27760\Main.java:80: 需要 "class" 或 "interface"
    for i:=4 downto 1 do
    ^
0_0_1461951_27760\Main.java:83: 需要 "class" 或 "interface"
            num:=num div 10;
            ^
0_0_1461951_27760\Main.java:84: 需要 "class" 或 "interface"
        end;
        ^
0_0_1461951_27760\Main.java:85: 需要 "class" 或 "interface"
    for i:=1 to l do
    ^
0_0_1461951_27760\Main.java:88: 需要 "class" 或 "interface"
    min:=maxint;
    ^
0_0_1461951_27760\Main.java:89: 需要 "class" 或 "interface"
    for i:=1 to l do
    ^
0_0_1461951_27760\Main.java:92: 需要 "class" 或 "interface"
    writeln(min);
    ^
0_0_1461951_27760\Main.java:93: 需要 "class" 或 "interface"
end;
^
0_0_1461951_27760\Main.java:94: 需要 "class" 或 "interface"
begin
^
0_0_1461951_27760\Main.java:96: 需要 "class" 或 "interface"
    for i:=1 to n do
    ^
0_0_1461951_27760\Main.java:99: 需要 "class" 或 "interface"
            bfs;
            ^
0_0_1461951_27760\Main.java:100: 需要 "class" 或 "interface"
            work;
            ^
0_0_1461951_27760\Main.java:101: 需要 "class" 或 "interface"
        end;
        ^
0_0_1461951_27760\Main.java:102: 需要 "class" 或 "interface"
end.
^
59 错误


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-17 02:32:50, Gzip enabled