📄 usaco 3_3_3 camelot 题解_leokan的blog.mht
字号:
}
#ft A:link {
LETTER-SPACING: normal
}
#ft A:visited {
LETTER-SPACING: normal
}
</STYLE>
<DIV id=3Dusrbar><NOBR>
<SCRIPT> var myref =3D =
encodeURI("http://hi.baidu.com/leokan/blog/item/5ff69f58f138cada9c820489%=
2Ehtml");</SCRIPT>
<A href=3D"http://www.baidu.com/" =
target=3D_blank>=B0=D9=B6=C8=CA=D7=D2=B3</A> | <A=20
href=3D"http://hi.baidu.com/" =
target=3D_blank>=B0=D9=B6=C8=BF=D5=BC=E4</A>
<SCRIPT language=3DJavaScript>
document.write(" | <a =
href=3D'http://passport.baidu.com/?login&tpl=3Dsp&tpl_reg=3Dsp&u=3D"+myre=
f+"'>=B5=C7=C2=BC</a>");
</SCRIPT>
</NOBR></DIV>
<DIV id=3Dmain align=3Dleft><!--[if IE]>
<SCRIPT>
var objmain =3D document.getElementById("main");
function updatesize(){ var bodyw =3D window.document.body.offsetWidth; =
if(bodyw <=3D 790) objmain.style.width=3D"772px"; else if(bodyw >=3D =
1016) objmain.style.width=3D"996px"; else objmain.style.width=3D"100%"; =
}
updatesize(); window.onresize =3D updatesize;
</SCRIPT>
<![endif]-->
<DIV id=3Dheader>
<DIV class=3Dlc>
<DIV class=3Drc></DIV></DIV>
<DIV class=3Dtit><A class=3Dtitlink title=3D"gba1991=B5=C4=BF=D5=BC=E4 =
http://hi.baidu.com/leokan"=20
href=3D"http://hi.baidu.com/leokan">leokan=B5=C4blog</A></DIV>
<DIV class=3Ddesc></DIV>
<DIV id=3Dtabline></DIV>
<DIV id=3Dtab><A href=3D"http://hi.baidu.com/leokan">=D6=F7=D2=B3</A><A =
class=3Don=20
href=3D"http://hi.baidu.com/leokan/blog">=B2=A9=BF=CD</A><A=20
href=3D"http://hi.baidu.com/leokan/album">=CF=E0=B2=E1</A><SPAN>|</SPAN><=
A=20
href=3D"http://hi.baidu.com/leokan/profile">=B8=F6=C8=CB=B5=B5=B0=B8</A> =
<SPAN>|</SPAN><A=20
href=3D"http://hi.baidu.com/leokan/friends">=BA=C3=D3=D1</A> =
</DIV></DIV>
<DIV class=3Dstage>
<DIV class=3Dstagepad>
<DIV style=3D"WIDTH: 100%">
<TABLE class=3Dmodth cellSpacing=3D0 cellPadding=3D0 width=3D"100%" =
border=3D0>
<TBODY>
<TR>
<TD class=3Dmodtl width=3D7> </TD>
<TD class=3Dmodtc noWrap>
<DIV class=3Dmodhead><SPAN =
class=3Dmodtit>=B2=E9=BF=B4=CE=C4=D5=C2</SPAN></DIV></TD>
<TD class=3Dmodtc noWrap align=3Dright></TD>
<TD class=3Dmodtr width=3D7> </TD></TR></TBODY></TABLE>
<DIV class=3Dmodbox id=3Dm_blog>
<DIV class=3Dtit>USACO 3.3.3 Camelot =CC=E2=BD=E2</DIV>
<DIV class=3Ddate>2008=C4=EA02=D4=C209=C8=D5 =D0=C7=C6=DA=C1=F9 =
20:02</DIV>
<TABLE style=3D"TABLE-LAYOUT: fixed">
<TBODY>
<TR>
<TD>
<DIV class=3Dcnt>
<H2>USACO 3.3.3 Camelot</H2>
<DIV class=3Dt_msgfont>Camelot<BR>IOI 98 <BR>Centuries ago, King =
Arthur and=20
the Knights of the Round Table used to meet every year on New =
Year's Day=20
to celebrate their fellowship. In remembrance of these events, we =
consider=20
a board game for one player, on which one chesspiece king and =
several=20
knight pieces are placed on squares, no two knights on the same =
square.=20
<BR><BR>This example board is the standard 8x8 array of =
squares:<BR><BR>
<DIV align=3Dcenter forimg=3D"1"><IMG class=3Dblogimg=20
=
src=3D"http://hiphotos.baidu.com/leokan/pic/item/5ff69f580d530ed19d820446=
.jpg"=20
border=3D0 small=3D"0"></DIV><BR><BR>The King can move to any =
adjacent square=20
from <IMG class=3Dblogimg=20
=
src=3D"http://hiphotos.baidu.com/leokan/pic/item/4ea8b412c8a37ec1c2fd7842=
.jpg"=20
border=3D0 small=3D"0"> to <IMG class=3Dblogimg=20
=
src=3D"http://hiphotos.baidu.com/leokan/pic/item/6b68fa03f4cc1de309fa936f=
.jpg"=20
border=3D0 small=3D"0">as long as it does not fall off the =
board:</DIV>
<DIV class=3Dt_msgfont align=3Dcenter forimg=3D"1"><IMG =
class=3Dblogimg=20
=
src=3D"http://hiphotos.baidu.com/leokan/pic/item/2696b438206cf2cdd4622560=
.jpg"=20
border=3D0 small=3D"0"></DIV>
<DIV class=3Dt_msgfont><BR><BR>A Knight can jump from<IMG =
class=3Dblogimg=20
=
src=3D"http://hiphotos.baidu.com/leokan/pic/item/4ea8b412c8a37ec1c2fd7842=
.jpg"=20
border=3D0 small=3D"0"> to <IMG class=3Dblogimg=20
=
src=3D"http://hiphotos.baidu.com/leokan/pic/item/6b68fa03f4cc1de309fa936f=
.jpg"=20
border=3D0 small=3D"0">, as long as it does not fall off the =
board: </DIV>
<DIV class=3Dt_msgfont align=3Dcenter forimg=3D"1"></DIV>
<P class=3Dt_msgfont align=3Dcenter><IMG class=3Dblogimg=20
=
src=3D"http://hiphotos.baidu.com/leokan/pic/item/85ec99ee3c4687262cf53445=
.jpg"=20
border=3D0 small=3D"0"></P>
<DIV class=3Dt_msgfont><BR><BR>During the play, the player can =
place more=20
than one piece in the same square. The board squares are assumed =
big=20
enough so that a piece is never an obstacle for any other piece to =
move=20
freely. <BR><BR>The player's goal is to move the pieces so as to =
gather=20
them all in the same square - in the minimal number of moves. To =
achieve=20
this, he must move the pieces as prescribed above. Additionally, =
whenever=20
the king and one or more knights are placed in the same square, =
the player=20
may choose to move the king and one of the knights together from =
that=20
point on, as a single knight, up to the final gathering point. =
Moving the=20
knight together with the king counts as a single move. =
<BR><BR>Write a=20
program to compute the minimum number of moves the player must =
perform to=20
produce the gathering. The pieces can gather on any square, of =
course.=20
<BR><BR>PROGRAM NAME: camelot<BR>INPUT FORMAT<BR>Line =
1: Two=20
space-separated integers: R,C, the number of rows and columns on =
the=20
board. There will be no more than 26 columns and no more than 40 =
rows.=20
<BR>Line 2..end: The input file contains a sequence of =
space-separated letter/digit pairs, 1 or more per line. The first =
pair=20
represents the board position of the king; subsequent pairs =
represent=20
positions of knights. There might be 0 knights or the knights =
might fill=20
the board. Rows are numbered starting at 1; columns are specified =
as upper=20
case characters starting with `A'. <BR><BR>SAMPLE INPUT =
(file=20
camelot.in) <BR>8 8<BR>D 4<BR>A 3 A 8<BR>H 1 H 8<BR><BR>The king =
is=20
positioned at D4. There are four knights, positioned at A3, A8, =
H1, and=20
H8. <BR><BR>OUTPUT FORMAT<BR>A single line with the number of =
moves to=20
aggregate the pieces. <BR>SAMPLE OUTPUT (file=20
camelot.out)<BR>10<BR><BR>SAMPLE OUTPUT ELABORATION <BR>They =
gather at B5.=20
<BR>Knight 1: A3 - B5 (1 move) <BR>Knight 2: A8 - C7 - B5 (2 =
moves)=20
<BR>Knight 3: H1 - G3 - F5 - D4 (picking up king) - B5 (4 moves)=20
<BR>Knight 4: H8 - F7 - D6 - B5 (3 moves) <BR>1 + 2 + 4 + 3 =3D 10 =
moves.=20
=
<BR><BR><BR><BR>Camelot<BR><BR>=D1=C7=C9=AA=CD=F5=B5=C4=B9=AC=B5=EE<BR>IO=
I 98 <BR><BR>=D2=EB by=20
=
leontea<BR><BR>=BA=DC=BE=C3=D2=D4=C7=B0=A3=AC=D1=C7=C9=AA=CD=F5=BA=CD=CB=FB=
=B5=C4=C6=EF=CA=BF=CF=B0=B9=DF=C3=BF=C4=EA<SPAN class=3Dt_tag=20
=
href=3D"tag.php?name=3D%D4%AA%B5%A9">=D4=AA=B5=A9</SPAN>=C8=A5=C7=EC=D7=A3=
=CB=FB=C3=C7=B5=C4=D3=D1=D2=EA=A1=A3=D4=DA=BB=D8=D2=E4=D6=D0=A3=AC=CE=D2=C3=
=C7=B0=D1=D5=E2=D0=A9=CA=C7=BF=B4=D7=F7=CA=C7=D2=BB=B8=F6=D3=D0=D2=BB=C8=CB=
=CD=E6=B5=C4=C6=E5=C5=CC=D3=CE=CF=B7=A1=A3=D3=D0=D2=BB=B8=F6=B9=FA=CD=F5=BA=
=CD=C8=F4=B8=C9=B8=F6=C6=EF=CA=BF=B1=BB=B7=C5=D6=C3=D4=DA=D2=BB=B8=F6=D3=C9=
=D0=ED=B6=E0=B7=BD=B8=F1=D7=E9=B3=C9=B5=C4=C6=E5=C5=CC=C9=CF=A3=AC=C3=BB=D3=
=D0=C1=BD=B8=F6=C6=EF=CA=BF=D4=DA=CD=AC=D2=BB=B8=F6=B7=BD=B8=F1=C4=DA=A1=A3=
<BR>=D5=E2=B8=F6=C0=FD=D7=D3=CA=C7=B1=EA=D7=BC=B5=C48*8=C6=E5=C5=CC<BR>=A1=
=A1</DIV>
<P class=3Dt_msgfont align=3Dcenter><IMG class=3Dblogimg=20
=
src=3D"http://hiphotos.baidu.com/leokan/pic/item/5ff69f580d530ed19d820446=
.jpg"=20
border=3D0 small=3D"0"></P>
<DIV =
class=3Dt_msgfont><BR><BR><BR>=B9=FA=CD=F5=BF=C9=D2=D4=D2=C6=B6=AF=B5=BD=C8=
=CE=BA=CE=D2=BB=B8=F6=CF=E0=C1=DA=B5=C4=B7=BD=B8=F1=A3=AC=B4=D3 <IMG =
class=3Dblogimg=20
=
src=3D"http://hiphotos.baidu.com/leokan/pic/item/4ea8b412c8a37ec1c2fd7842=
.jpg"=20
border=3D0 small=3D"0">=B5=BD<IMG class=3Dblogimg=20
=
src=3D"http://hiphotos.baidu.com/leokan/pic/item/6b68fa03f4cc1de309fa936f=
.jpg"=20
border=3D0 small=3D"0"> =
=C7=B0=CC=E1=CA=C7=CB=FB=B2=BB=B5=F4=B3=F6=C6=E5=C5=CC=D6=AE=CD=E2=A1=A3<=
/DIV>
<P class=3Dt_msgfont align=3Dcenter><IMG class=3Dblogimg=20
=
src=3D"http://hiphotos.baidu.com/leokan/pic/item/2696b438206cf2cdd4622560=
.jpg"=20
border=3D0 small=3D"0"></P>
<DIV =
class=3Dt_msgfont><BR><BR><BR>=D2=BB=B8=F6=C6=EF=CA=BF=BF=C9=D2=D4=B4=D3&=
nbsp; <IMG=20
class=3Dblogimg=20
=
src=3D"http://hiphotos.baidu.com/leokan/pic/item/4ea8b412c8a37ec1c2fd7842=
.jpg"=20
border=3D0 small=3D"0">=D2=C6=B6=AF=B5=BD<IMG class=3Dblogimg=20
=
src=3D"http://hiphotos.baidu.com/leokan/pic/item/6b68fa03f4cc1de309fa936f=
.jpg"=20
border=3D0 small=3D"0"> =
=B5=AB=C7=B0=CC=E1=CA=C7=CB=FB=B2=BB=B5=F4=B3=F6=C6=E5=C5=CC=D6=AE=CD=E2=A1=
=A3</DIV>
<P class=3Dt_msgfont align=3Dcenter><IMG class=3Dblogimg=20
=
src=3D"http://hiphotos.baidu.com/leokan/pic/item/85ec99ee3c4687262cf53445=
.jpg"=20
border=3D0 small=3D"0"></P>
<DIV=20
=
class=3Dt_msgfont><BR><BR><BR>=CD=E6=BC=D2=B5=C4=C8=CE=CE=F1=BE=CD=CA=C7=B0=
=D1=CB=F9=D3=D0=B5=C4=C6=E5=D7=D3=D2=C6=B6=AF=B5=BD=CD=AC=D2=BB=B8=F6=B7=BD=
=B8=F1=C0=EF=A1=AA=A1=AA=D3=C3=D7=EE=D0=A1=B5=C4=B2=BD=CA=FD=A1=A3=CE=AA=C1=
=CB=CD=EA=B3=C9=D5=E2=B8=F6=C8=CE=CE=F1=A3=AC=CB=FB=B1=D8=D0=EB=B0=B4=D5=D5=
=C9=CF=C3=E6=CB=F9=CB=B5=B5=C4=B9=E6=D4=F2=C8=A5=D2=C6=B6=AF=C6=E5=D7=D3=A1=
=A3=CD=E6=BC=D2=B1=D8=D0=EB=D1=A1=D4=F1=D2=BB=B8=F6=C6=EF=CA=BF=B8=FA=B9=FA=
=CD=F5=D2=BB=C6=F0=D0=D0=B6=AF=A3=AC=C6=E4=CB=FB=B5=C4=B5=A5=B6=C0=C6=EF=CA=
=BF=D4=F2=D7=D4=BC=BA=D2=BB=D6=B1=D7=DF=B5=BD=BC=AF=D6=D0=B5=E3=A1=A3=C6=EF=
=CA=BF=BA=CD=B9=FA=CD=F5=D2=BB=C6=F0=D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CD=F5=B8=BD=BC=FE=B5=C4=BC=
=B8=B8=F6=B8=F1=D7=D3,=CE=D2=C3=B6=BE=D9=B5=C4=CA=C7+-2,=D2=F2=CE=AA=C2=ED=
=D7=DF2=B8=F1,=B1=A3=CF=D5=D2=BB=B5=E3,=BF=B4=C1=CBUSACO=B5=C4=B7=D6=CE=F6=
=BA=F3=D6=AA=B5=C0,+-1=BE=CD=BF=C9=D2=D4=C1=CB.<BR><BR>=D7=DC=BD=E1:=D3=C3=
SPFA=B5=C3=B5=BD=D7=EE=B6=CC=C2=B7,=C8=BB=BA=F3=C3=B6=BE=D9.<BR>=D0=C4=B5=
=C3:=CF=C8=C6=D3=CB=D8,=BA=F3=BC=F4=D6=A6,=CB=BC=C2=B7=BB=E1=C7=E5=CE=FA=D2=
=BB=B5=E3</STRONG></P>
<P><STRONG>{<BR>TASK:camelot<BR>LANG:PASCAL<BR>}<BR>program=20
camelot;<BR>const<BR> nexta:array[1..8] of=20
integer=3D(-2,-1,1,2,2,1,-1,-2);<BR> =
nextb:array[1..8] of=20
integer=3D(1,2,2,1,-1,-2,-2,-1);<BR> =20
maxq=3D1040;<BR>type<BR> seat=3Darray[1..2] of=20
integer;<BR>var<BR> =
dis:array[1..40,1..26,1..40,1..26]=20
of integer;<BR> knight:array[1..1040] of=20
seat;<BR> king:seat;<BR> =20
r,c,n:integer;<BR>procedure readline;<BR>var<BR> =
lp,p,code:integer;<BR> =20
s:string;<BR>begin<BR> =
p:=3D1;<BR> =20
readln(s);<BR> while s[p] in ['A'..'Z']=20
do<BR> =20
=
begin<BR> &nbs=
p;=20
=
inc(n);<BR> &n=
bsp;=20
=
knight[n,2]:=3Dord(s[p])-64;<BR>  =
; =20
=
inc(p,2);<BR> =
=20
=
lp:=3Dp;<BR> &=
nbsp;=20
while s[p]<>' ' do=20
=
inc(p);<BR> &n=
bsp;=20
=
val(copy(s,lp,p-lp),knight[n,1],code);<BR> &=
nbsp; =20
=
inc(p);<BR> &n=
bsp;=20
if p>length(s) then=20
break;<BR> =20
end;<BR>end;</STRONG></P>
<P><STRONG>procedure init;<BR>var<BR> =20
s:string;<BR>begin<BR> =20
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -