0_0_1461947_6273\Main.java:1: 需要 "class" 或 "interface"
code:
^
0_0_1461947_6273\Main.java:1: 非法字符: \65306
code:
^
0_0_1461947_6273\Main.java:4: 需要 "class" 或 "interface"
const
^
0_0_1461947_6273\Main.java:14: 需要 "class" 或 "interface"
(1,2,3,4,4,3,2,1,0));{9}
^
0_0_1461947_6273\Main.java:17: 需要 "class" 或 "interface"
var
^
0_0_1461947_6273\Main.java:19: 需要 "class" 或 "interface"
visit:array[1..9,1..9,1..9,1..9] of boolean;
^
0_0_1461947_6273\Main.java:20: 需要 "class" 或 "interface"
count:array[1..30] of integer;
^
0_0_1461947_6273\Main.java:21: 需要 "class" 或 "interface"
{goal:number;}
^
0_0_1461947_6273\Main.java:23: 需要 "class" 或 "interface"
procedure init;
^
0_0_1461947_6273\Main.java:24: 需要 "class" 或 "interface"
var
^
0_0_1461947_6273\Main.java:26: 需要 "class" 或 "interface"
temp:number;
^
0_0_1461947_6273\Main.java:27: 需要 "class" 或 "interface"
begin
^
0_0_1461947_6273\Main.java:29: 需要 "class" 或 "interface"
for i:=4 downto 1 do
^
0_0_1461947_6273\Main.java:32: 需要 "class" 或 "interface"
num:=num div 10;
^
0_0_1461947_6273\Main.java:33: 需要 "class" 或 "interface"
end;
^
0_0_1461947_6273\Main.java:34: 需要 "class" 或 "interface"
fillchar(visit,sizeof(visit),false);
^
0_0_1461947_6273\Main.java:35: 需要 "class" 或 "interface"
fillchar(count,sizeof(count),0);
^
0_0_1461947_6273\Main.java:36: 需要 "class" 或 "interface"
visit[temp[1],temp[2],temp[3],temp[4]]:=true;
^
0_0_1461947_6273\Main.java:37: 需要 "class" 或 "interface"
h:=1;l:=1;
^
0_0_1461947_6273\Main.java:37: 需要 "class" 或 "interface"
h:=1;l:=1;
^
0_0_1461947_6273\Main.java:38: 需要 "class" 或 "interface"
queue[1]:=temp;
^
0_0_1461947_6273\Main.java:39: 需要 "class" 或 "interface"
count[1]:=0;
^
0_0_1461947_6273\Main.java:40: 需要 "class" 或 "interface"
{readln(num);
^
0_0_1461947_6273\Main.java:47: 需要 "class" 或 "interface"
procedure swap(var x,y:integer);
^
0_0_1461947_6273\Main.java:48: 需要 "class" 或 "interface"
var
^
0_0_1461947_6273\Main.java:50: 需要 "class" 或 "interface"
begin
^
0_0_1461947_6273\Main.java:52: 需要 "class" 或 "interface"
x:=y;
^
0_0_1461947_6273\Main.java:53: 需要 "class" 或 "interface"
y:=t;
^
0_0_1461947_6273\Main.java:54: 需要 "class" 或 "interface"
end;
^
0_0_1461947_6273\Main.java:55: 需要 "class" 或 "interface"
procedure bfs;
^
0_0_1461947_6273\Main.java:56: 需要 "class" 或 "interface"
var
^
0_0_1461947_6273\Main.java:58: 需要 "class" 或 "interface"
i:integer;
^
0_0_1461947_6273\Main.java:59: 需要 "class" 或 "interface"
begin
^
0_0_1461947_6273\Main.java:65: 需要 "class" 或 "interface"
swap(temp[i],temp[i+1]);
^
0_0_1461947_6273\Main.java:66: 需要 "class" 或 "interface"
if not visit[temp[1],temp[2],temp[3],temp[4]] then
^
0_0_1461947_6273\Main.java:69: 需要 "class" 或 "interface"
inc(l);
^
0_0_1461947_6273\Main.java:70: 需要 "class" 或 "interface"
queue[l]:=temp;
^
0_0_1461947_6273\Main.java:71: 需要 "class" 或 "interface"
count[l]:=count[h]+1;
^
0_0_1461947_6273\Main.java:72: 需要 "class" 或 "interface"
end;
^
0_0_1461947_6273\Main.java:73: 需要 "class" 或 "interface"
end;
^
0_0_1461947_6273\Main.java:74: 需要 "class" 或 "interface"
inc(h);
^
0_0_1461947_6273\Main.java:75: 需要 "class" 或 "interface"
end;
^
0_0_1461947_6273\Main.java:76: 需要 "class" 或 "interface"
end;
^
0_0_1461947_6273\Main.java:77: 需要 "class" 或 "interface"
procedure work;
^
0_0_1461947_6273\Main.java:78: 需要 "class" 或 "interface"
var
^
0_0_1461947_6273\Main.java:80: 需要 "class" 或 "interface"
goal:number;
^
0_0_1461947_6273\Main.java:81: 需要 "class" 或 "interface"
begin
^
0_0_1461947_6273\Main.java:83: 需要 "class" 或 "interface"
for i:=4 downto 1 do
^
0_0_1461947_6273\Main.java:86: 需要 "class" 或 "interface"
num:=num div 10;
^
0_0_1461947_6273\Main.java:87: 需要 "class" 或 "interface"
end;
^
0_0_1461947_6273\Main.java:88: 需要 "class" 或 "interface"
for i:=1 to l do
^
0_0_1461947_6273\Main.java:91: 需要 "class" 或 "interface"
min:=maxint;
^
0_0_1461947_6273\Main.java:92: 需要 "class" 或 "interface"
for i:=1 to l do
^
0_0_1461947_6273\Main.java:95: 需要 "class" 或 "interface"
writeln(min);
^
0_0_1461947_6273\Main.java:96: 需要 "class" 或 "interface"
end;
^
0_0_1461947_6273\Main.java:97: 需要 "class" 或 "interface"
begin
^
0_0_1461947_6273\Main.java:99: 需要 "class" 或 "interface"
for i:=1 to n do
^
0_0_1461947_6273\Main.java:102: 需要 "class" 或 "interface"
bfs;
^
0_0_1461947_6273\Main.java:103: 需要 "class" 或 "interface"
work;
^
0_0_1461947_6273\Main.java:104: 需要 "class" 或 "interface"
end;
^
0_0_1461947_6273\Main.java:105: 需要 "class" 或 "interface"
end.
^
61 错误
|