📄 problem - 2096.mht
字号:
From: "Saved by Windows Internet Explorer 7"
Subject: Problem - 2096
Date: Thu, 27 Nov 2008 19:20:49 +0800
MIME-Version: 1.0
Content-Type: multipart/related;
type="text/html";
boundary="----=_NextPart_000_0411_01C950C5.4153A530"
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
This is a multi-part message in MIME format.
------=_NextPart_000_0411_01C950C5.4153A530
Content-Type: text/html;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://acm.hdu.edu.cn/showproblem.php?pid=2096
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Problem - 2096</TITLE>
<META content=3D"HDOJ ACM ICPC OJ C C++ Pascal Java" name=3Dkeywords>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3Dgb2312><LINK media=3Dall=20
href=3D"http://acm.hdu.edu.cn/images/global.css" type=3Dtext/css=20
rel=3Dstylesheet><LINK media=3Dall =
href=3D"http://acm.hdu.edu.cn/css/diyinhead.css"=20
type=3Dtext/css rel=3Dstylesheet>
<SCRIPT src=3D"http://acm.hdu.edu.cn/js/global.js" =
type=3Dtext/javascript></SCRIPT>
<META content=3D"MSHTML 6.00.6001.18148" name=3DGENERATOR></HEAD>
<BODY><A name=3Dtop></A>
<TABLE style=3D"WORD-WRAP: break-word" cellSpacing=3D0 cellPadding=3D0 =
width=3D980=20
align=3Dcenter border=3D0>
<TBODY>
<TR>
<TD=20
style=3D"BORDER-RIGHT: #1a5cc8 1px solid; BORDER-TOP: #1a5cc8 1px =
solid; BORDER-LEFT: #1a5cc8 1px solid; BORDER-BOTTOM: #1a5cc8 1px solid" =
align=3Dmiddle width=3D"100%"><A =
href=3D"http://acm.hdu.edu.cn/"><IMG height=3D116=20
src=3D"http://acm.hdu.edu.cn/images/banner.jpg" width=3D"100%"=20
border=3D0></A></TD></TR>
<TR>
<TD=20
style=3D"BORDER-RIGHT: #1a5cc8 1px solid; BORDER-TOP: #1a5cc8 1px =
solid; BORDER-LEFT: #1a5cc8 1px solid; BORDER-BOTTOM: #1a5cc8 1px =
solid">
<TABLE cellSpacing=3D0 cellPadding=3D1 width=3D"100%">
<TBODY>
<TR class=3Dbanner align=3Dmiddle bgColor=3D#1a5cc8 height=3D25>
<TD>Online Judge</TD>
<TD>Problem Set</TD>
<TD>Authors</TD>
<TD>Online Contests</TD>
<TD>Exercise Author</TD></TR>
<TR style=3D"FONT-SIZE: 16px" align=3Dmiddle>
<TD vAlign=3Dtop width=3D"20%"><A =
href=3D"http://acm.hdu.edu.cn/">Home=20
Page</A><BR><A=20
=
href=3D"http://acm.hdu.edu.cn/notification.php">Notification</A><BR><A=20
href=3D"http://acm.hdu.edu.cn/faq.php">F.A.Q</A><BR><A=20
href=3D"http://acm.hdu.edu.cn/forum">Forum</A><BR><A=20
href=3D"http://acm.hdu.edu.cn/admin">Administration</A> =
</TD>
<TD vAlign=3Dtop width=3D"20%">
<FORM action=3D/search.php method=3Dget><A=20
=
href=3D"http://acm.hdu.edu.cn/listproblem.php?vol=3D1">Problem=20
Archive</A><BR><A =
href=3D"http://acm.hdu.edu.cn/submit.php">Submit=20
Solution</A><BR><A =
href=3D"http://acm.hdu.edu.cn/status.php">Realtime=20
Judge Status</A><BR><INPUT type=3Dhidden value=3Dproblem=20
name=3Dfield><INPUT class=3Dtext60 name=3Dkey> <INPUT =
class=3Dbutton40 type=3Dsubmit value=3DSearch>=20
</FORM></TD>
<TD vAlign=3Dtop width=3D"20%">
<FORM action=3D/search.php method=3Dget><A=20
href=3D"http://acm.hdu.edu.cn/register.php">Register New=20
Author</A><BR><A =
href=3D"http://acm.hdu.edu.cn/modifyuser.php">Update=20
Your Information</A><BR><A=20
href=3D"http://acm.hdu.edu.cn/ranklist.php">Authors=20
Ranklist</A><BR><INPUT type=3Dhidden value=3Dauthor =
name=3Dfield><INPUT=20
class=3Dtext60 name=3Dkey> <INPUT class=3Dbutton40 =
type=3Dsubmit value=3DSearch>=20
</FORM></TD>
<TD vAlign=3Dtop width=3D"20%"><A=20
=
href=3D"http://acm.hdu.edu.cn/contests/contest_show.php?cid=3D158"=20
?>Next Contest Time<BR><SPAN=20
style=3D"FONT-SIZE: 14px; COLOR: red">2008-12-06 12:00:00=20
(GMT+8)</SPAN></A><BR><A=20
=
href=3D"http://acm.hdu.edu.cn/contests/contest_list.php?type=3Dscheduled"=
>Scheduled=20
Contests</A><BR><A=20
=
href=3D"http://acm.hdu.edu.cn/contests/contest_list.php?type=3Dpassed">Pa=
ssed=20
Contests</A><BR><A style=3D"COLOR: red"=20
href=3D"http://acm.hdu.edu.cn/diy/contest_list.php">DIY =
Contests !</A>=20
</TD>
<TD width=3D"20%">
<DIV style=3D"FONT-SIZE: 16px; WIDTH: 150px" align=3Dleft><A =
=
href=3D"http://acm.hdu.edu.cn/userstatus.php?user=3Djimdavis"><IMG=20
height=3D18 alt=3DAuthor =
src=3D"http://acm.hdu.edu.cn/images/user.png"=20
width=3D18 border=3D0> monster_chen</A><BR><B=20
style=3D"FONT-SIZE: 16px; FONT-FAMILY: Arial"><A=20
href=3D"http://acm.hdu.edu.cn/listmsg.php"><IMG height=3D18 =
alt=3DMail=20
src=3D"http://acm.hdu.edu.cn/images/mail.png" width=3D18 =
border=3D0> Mail=20
0</A><A =
href=3D"http://acm.hdu.edu.cn/listmsg.php?type=3Dnew">(<FONT=20
color=3Dred>0</FONT>)</A></B><BR><A=20
href=3D"http://acm.hdu.edu.cn/sendmsg.php"><IMG height=3D18=20
alt=3D"Write New Mail"=20
src=3D"http://acm.hdu.edu.cn/images/writemail.png" =
width=3D18 border=3D0>=20
Write New Mail</A><BR><A=20
=
href=3D"http://acm.hdu.edu.cn/userloginex.php?action=3Dlogout"><IMG=20
height=3D18 alt=3D"Sign Out"=20
src=3D"http://acm.hdu.edu.cn/images/signout.png" width=3D18 =
border=3D0>=20
Sign Out</A></DIV></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD align=3Dmiddle><BR>
<H1 style=3D"COLOR: #1a5cc8">=D0=A1=C3=F7A+B</H1><FONT =
size=3D+0><B><SPAN=20
style=3D"FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: green; =
FONT-FAMILY: Arial">Time=20
Limit: 1000/1000 MS (Java/Others) Memory =
Limit:=20
32768/32768 K (Java/Others)<BR>Total Submission(s):=20
3112 Accepted Submission(s):=20
1389<BR></SPAN></B></FONT><BR><BR>
<DIV class=3Dpanel_title align=3Dleft>Problem Description</DIV>
<DIV class=3Dpanel_content>=D0=A1=C3=F7=BD=F1=C4=EA3=CB=EA=C1=CB, =
=CF=D6=D4=DA=CB=FB=D2=D1=BE=AD=C4=DC=B9=BB=C8=CF=CA=B6100=D2=D4=C4=DA=B5=C4=
=B7=C7=B8=BA=D5=FB=CA=FD,=20
=
=B2=A2=C7=D2=C4=DC=B9=BB=BD=F8=D0=D0100=D2=D4=C4=DA=B5=C4=B7=C7=B8=BA=D5=FB=
=CA=FD=B5=C4=BC=D3=B7=A8=BC=C6=CB=E3.<BR>=B6=D4=D3=DA=B4=F3=D3=DA=B5=C8=D3=
=DA100=B5=C4=D5=FB=CA=FD, =
=D0=A1=C3=F7=BD=F6=B1=A3=C1=F4=B8=C3=CA=FD=B5=C4=D7=EE=BA=F3=C1=BD=CE=BB=BD=
=F8=D0=D0=BC=C6=CB=E3, =
=C8=E7=B9=FB=BC=C6=CB=E3=BD=E1=B9=FB=B4=F3=D3=DA=B5=C8=D3=DA100,=20
=
=C4=C7=C3=B4=D0=A1=C3=F7=D2=B2=BD=F6=B1=A3=C1=F4=BC=C6=CB=E3=BD=E1=B9=FB=B5=
=C4=D7=EE=BA=F3=C1=BD=CE=BB.<BR><BR>=C0=FD=C8=E7, =
=B6=D4=D3=DA=D0=A1=C3=F7=C0=B4=CB=B5:<BR>1) =
1234=BA=CD34=CA=C7=CF=E0=B5=C8=B5=C4<BR>2)=20
35+80=3D15<BR><BR>=B8=F8=B6=A8=B7=C7=B8=BA=D5=FB=CA=FDA=BA=CDB, =
=C4=E3=B5=C4=C8=CE=CE=F1=CA=C7=B4=FA=B1=ED=D0=A1=C3=F7=BC=C6=CB=E3=B3=F6A=
+B=B5=C4=D6=B5.<BR></DIV>
<DIV class=3Dpanel_bottom> </DIV><BR>
<DIV class=3Dpanel_title align=3Dleft>Input</DIV>
<DIV =
class=3Dpanel_content>=CA=E4=C8=EB=CA=FD=BE=DD=B5=C4=B5=DA=D2=BB=D0=D0=CE=
=AA=D2=BB=B8=F6=D5=FD=D5=FB=CA=FDT, =
=B1=ED=CA=BE=B2=E2=CA=D4=CA=FD=BE=DD=B5=C4=D7=E9=CA=FD. =
=C8=BB=BA=F3=CA=C7T=D7=E9=B2=E2=CA=D4=CA=FD=BE=DD.=20
=
=C3=BF=D7=E9=B2=E2=CA=D4=CA=FD=BE=DD=B0=FC=BA=AC=C1=BD=B8=F6=B7=C7=B8=BA=D5=
=FB=CA=FDA=BA=CDB(A=BA=CDB=BE=F9=D4=DAint=D0=CD=BF=C9=B1=ED=CA=BE=B5=C4=B7=
=B6=CE=A7=C4=DA).<BR></DIV>
<DIV class=3Dpanel_bottom> </DIV><BR>
<DIV class=3Dpanel_title align=3Dleft>Output</DIV>
<DIV =
class=3Dpanel_content>=B6=D4=D3=DA=C3=BF=D7=E9=B2=E2=CA=D4=CA=FD=BE=DD, =
=CA=E4=B3=F6=D0=A1=C3=F7A+B=B5=C4=BD=E1=B9=FB.<BR></DIV>
<DIV class=3Dpanel_bottom> </DIV><BR>
<DIV class=3Dpanel_title align=3Dleft>Sample Input</DIV>
<DIV class=3Dpanel_content><PRE>2
35 80
15 1152</PRE></DIV>
<DIV class=3Dpanel_bottom> </DIV><BR>
<DIV class=3Dpanel_title align=3Dleft>Sample Output</DIV>
<DIV class=3Dpanel_content><PRE>15
67</PRE></DIV>
<DIV class=3Dpanel_bottom> </DIV><BR>
<DIV class=3Dpanel_title align=3Dleft>Source</DIV>
<DIV class=3Dpanel_content>HDU2007spring=D0=A3=C8=FC</DIV>
<DIV class=3Dpanel_bottom> </DIV><BR>
<DIV class=3Dpanel_title align=3Dleft>Recommend</DIV>
<DIV class=3Dpanel_content>lcy</DIV>
<DIV class=3Dpanel_bottom> </DIV><BR>
<CENTER=20
style=3D"FONT-WEIGHT: bold; FONT-SIZE: 15px; COLOR: #1a5cc8; =
FONT-FAMILY: Arial"><A=20
=
href=3D"http://acm.hdu.edu.cn/statistic.php?pid=3D2096">Statistic</A>&nbs=
p;| <A=20
=
href=3D"http://acm.hdu.edu.cn/submit.php?pid=3D2096">Submit</A> |&nb=
sp;<A=20
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -