📄 7.mht
字号:
href=3D"http://10.60.101.7/">Home</A></TD></TR>
<TR>
<TD class=3Dtojtablecontentl=20
onmouseover=3D"this.style.backgroundColor=3D'#D8D8FF'"=20
onmouseout=3D"this.style.backgroundColor=3D'#E8E8FF'" =
width=3D"100%"><A=20
class=3DBLUE14=20
style=3D"DISPLAY: block; WIDTH: 100%; COLOR: #0000ff; =
TEXT-DECORATION: none"=20
href=3D"http://10.60.101.7/faqs">FAQs</A></TD></TR>
<TR>
<TD class=3Dtojtablecontentl=20
onmouseover=3D"this.style.backgroundColor=3D'#D8D8FF'"=20
onmouseout=3D"this.style.backgroundColor=3D'#E8E8FF'" =
width=3D"100%"><A=20
class=3DBLUE14=20
style=3D"DISPLAY: block; WIDTH: 100%; COLOR: #0000ff; =
TEXT-DECORATION: none"=20
href=3D"http://10.60.101.7/bbs">Web Board</A></TD></TR>
<TR>
<TD class=3Dtojtablecontentl width=3D"100%"><SPAN=20
class=3DBLUE14> </SPAN></TD></TR>
<TR>
<TD class=3Dtojtablecontentl=20
onmouseover=3D"this.style.backgroundColor=3D'#D8D8FF'"=20
onmouseout=3D"this.style.backgroundColor=3D'#E8E8FF'" =
width=3D"100%"><A=20
class=3DBLUE14=20
style=3D"DISPLAY: block; WIDTH: 100%; COLOR: #0000ff; =
TEXT-DECORATION: none"=20
href=3D"http://10.60.101.7/exerciseproblems">Exercise=20
Problems</A></TD></TR>
<TR>
<TD class=3Dtojtablecontentl=20
onmouseover=3D"this.style.backgroundColor=3D'#D8D8FF'"=20
onmouseout=3D"this.style.backgroundColor=3D'#E8E8FF'" =
width=3D"100%"><A=20
class=3DBLUE14=20
style=3D"DISPLAY: block; WIDTH: 100%; COLOR: #0000ff; =
TEXT-DECORATION: none"=20
href=3D"http://10.60.101.7/trainingproblems">Training=20
Problems</A></TD></TR>
<TR>
<TD class=3Dtojtablecontentl=20
onmouseover=3D"this.style.backgroundColor=3D'#D8D8FF'"=20
onmouseout=3D"this.style.backgroundColor=3D'#E8E8FF'" =
width=3D"100%"><A=20
class=3DBLUE14=20
style=3D"DISPLAY: block; WIDTH: 100%; COLOR: #0000ff; =
TEXT-DECORATION: none"=20
href=3D"http://10.60.101.7/contestproblems">Contest =
Problems</A></TD></TR>
<TR>
<TD class=3Dtojtablecontentl=20
onmouseover=3D"this.style.backgroundColor=3D'#D8D8FF'"=20
onmouseout=3D"this.style.backgroundColor=3D'#E8E8FF'" =
width=3D"100%"><A=20
class=3DBLUE14=20
style=3D"DISPLAY: block; WIDTH: 100%; COLOR: #0000ff; =
TEXT-DECORATION: none"=20
href=3D"http://10.60.101.7/submit">Submit Code</A></TD></TR>
<TR>
<TD class=3Dtojtablecontentl=20
onmouseover=3D"this.style.backgroundColor=3D'#D8D8FF'"=20
onmouseout=3D"this.style.backgroundColor=3D'#E8E8FF'" =
width=3D"100%"><A=20
class=3DBLUE14=20
style=3D"DISPLAY: block; WIDTH: 100%; COLOR: #0000ff; =
TEXT-DECORATION: none"=20
href=3D"http://10.60.101.7/status">Judge =
Status</A></TD></TR>
<TR>
<TD class=3Dtojtablecontentl width=3D"100%"><SPAN=20
class=3DBLUE14> </SPAN></TD></TR>
<TR>
<TD class=3Dtojtablecontentl=20
onmouseover=3D"this.style.backgroundColor=3D'#D8D8FF'"=20
onmouseout=3D"this.style.backgroundColor=3D'#E8E8FF'" =
width=3D"100%"><A=20
class=3DBLUE14=20
style=3D"DISPLAY: block; WIDTH: 100%; COLOR: #0000ff; =
TEXT-DECORATION: none"=20
href=3D"http://10.60.101.7/register">Register =
User</A></TD></TR>
<TR>
<TD class=3Dtojtablecontentl=20
onmouseover=3D"this.style.backgroundColor=3D'#D8D8FF'"=20
onmouseout=3D"this.style.backgroundColor=3D'#E8E8FF'" =
width=3D"100%"><A=20
class=3DBLUE14=20
style=3D"DISPLAY: block; WIDTH: 100%; COLOR: #0000ff; =
TEXT-DECORATION: none"=20
href=3D"http://10.60.101.7/ranklist">Authors =
Ranklist</A></TD></TR>
<TR>
<TD class=3Dtojtablecontentl=20
onmouseover=3D"this.style.backgroundColor=3D'#D8D8FF'"=20
onmouseout=3D"this.style.backgroundColor=3D'#E8E8FF'" =
width=3D"100%"><A=20
class=3DBLUE14=20
style=3D"DISPLAY: block; WIDTH: 100%; COLOR: #0000ff; =
TEXT-DECORATION: none"=20
href=3D"http://10.60.101.7/searchuser">Search =
User</A></TD></TR>
<TR>
<TD class=3Dtojtablecontentl width=3D"100%"><SPAN=20
class=3DBLUE14> </SPAN></TD></TR>
<TR>
<TD class=3Dtojtablecontentl=20
onmouseover=3D"this.style.backgroundColor=3D'#D8D8FF'"=20
onmouseout=3D"this.style.backgroundColor=3D'#E8E8FF'" =
width=3D"100%"><A=20
class=3DBLUE14=20
style=3D"DISPLAY: block; WIDTH: 100%; COLOR: #0000ff; =
TEXT-DECORATION: none"=20
href=3D"http://10.60.101.7/runningcontests">Running =
Contests</A></TD></TR>
<TR>
<TD class=3Dtojtablecontentl=20
onmouseover=3D"this.style.backgroundColor=3D'#D8D8FF'"=20
onmouseout=3D"this.style.backgroundColor=3D'#E8E8FF'" =
width=3D"100%"><A=20
class=3DBLUE14=20
style=3D"DISPLAY: block; WIDTH: 100%; COLOR: #0000ff; =
TEXT-DECORATION: none"=20
href=3D"http://10.60.101.7/scheduledcontests">Scheduled=20
Contests</A></TD></TR>
<TR>
<TD class=3Dtojtablecontentl=20
onmouseover=3D"this.style.backgroundColor=3D'#D8D8FF'"=20
onmouseout=3D"this.style.backgroundColor=3D'#E8E8FF'" =
width=3D"100%"><A=20
class=3DBLUE14=20
style=3D"DISPLAY: block; WIDTH: 100%; COLOR: #0000ff; =
TEXT-DECORATION: none"=20
href=3D"http://10.60.101.7/pastcontests">Past=20
Contests</A></TD></TR></TR></TBODY></TABLE><BR><BR></TD>
<TD class=3Dtojtablecontentl vAlign=3Dtop width=3D"100%"><SPAN =
class=3DBLUE14><A=20
href=3D"http://10.60.101.7/contest?cid=3D1001"><< Contest =
1001 -=20
=
=E5=90=8C=E6=B5=8E=E5=A4=A7=E5=AD=A62008=E7=A8=8B=E5=BA=8F=E8=AE=BE=E8=AE=
=A1=E7=AB=9E=E8=B5=9B=E8=B5=9B=E5=89=8D=E7=BB=83=E4=B9=A0#1 =
>></A></SPAN><BR><BR>
<P style=3D"FONT-SIZE: 24px; COLOR: #0000ff" =
align=3Dcenter>Problem G - Mr.=20
Nartrosh</P>
<P>
<DIV style=3D"FONT-WEIGHT: bold; FONT-SIZE: 16px; COLOR: #000000"=20
align=3Dcenter>Time Limit: 1000MS<BR>Memory Limit: =
65536KB<BR></DIV>
<P></P><SPAN class=3DBLACK14><SPAN=20
style=3D"FONT-SIZE: 24px; COLOR: =
#0000ff">Description</SPAN><BR>=E6=9A=91=E5=81=87ACM=E9=9B=86=E8=AE=AD=E7=
=9A=84=E6=9F=90=E4=B8=80=E5=A4=A9=EF=BC=8CMr.=20
Nartrosh and Dr. Firepot=20
=
=E6=AD=A3=E5=9C=A8=E5=88=87=E9=A2=98=EF=BC=8C=E5=85=B6=E4=B8=AD=E6=9C=89=E4=
=B8=80=E4=B8=AA=E9=A2=98=E7=9B=AE=E9=9D=9E=E5=B8=B8=E7=9A=84=E6=9C=89=E6=84=
=8F=E4=B9=89=EF=BC=8C=E5=BD=93=E6=97=B6=E4=BB=96=E4=BF=A9=E5=B0=B1=E8=BF=99=
=E4=B8=AA=E9=A2=98=E7=9B=AE=E8=AE=A8=E8=AE=BA=E4=BA=86=E5=BE=88=E4=B9=85=EF=
=BC=8C=E6=89=80=E4=BB=A5=E5=AF=B9=E4=BA=8E=E8=BF=99=E9=81=93=E9=A2=98=E7=9B=
=AE=E4=B8=80=E7=9B=B4=E8=AE=B0=E5=BF=86=E7=8A=B9=E6=96=B0=EF=BC=8C=E4=BA=8E=
=E6=98=AF=E4=BB=96=E4=BF=A9=E5=87=86=E5=A4=87=E6=8A=8A=E8=BF=99=E4=B8=AA=E9=
=A2=98=E7=9B=AE=E6=8E=A8=E8=8D=90=E7=BB=99=E4=BD=A0=E4=BB=AC=EF=BC=8C=E9=89=
=B4=E4=BA=8E=E4=BF=9D=E6=8C=81=E5=8E=9F=E6=B1=81=E5=8E=9F=E5=91=B3=EF=BC=8C=
=E4=BB=96=E4=BF=A9=E5=87=86=E5=A4=87=E4=B8=8D=E4=BD=9C=E4=BF=AE=E6=94=B9=E7=
=9A=84=E6=8A=8A=E8=BF=99=E4=B8=AA=E9=A2=98=E7=9B=AE=E5=91=8A=E8=AF=89=E5=A4=
=A7=E5=AE=B6=EF=BC=8C=E8=AE=A9=E4=BD=A0=E4=BB=AC=E6=9D=A5=E5=88=86=E4=BA=AB=
=E4=BB=96=E4=BB=AC=E5=BD=93=E6=97=B6=E7=9A=84=E6=88=90=E5=B0=B1=E6=84=9F=EF=
=81=8A=EF=BC=8C=E9=A2=98=E7=9B=AE=E6=8F=8F=E8=BF=B0=E6=98=AF=E8=BF=99=E6=A0=
=B7=E7=9A=84=EF=BC=9A<BR><BR>Zombies=20
love to eat brains. Yum.<BR>We give two number =E2=80=9Cx, =
y=E2=80=9D, x is the number of=20
brains, y is the number of the brains the zombie requires to stay =
alive.=20
Tell him =E2=80=9CMMM BRAINS=E2=80=9D if the number of brains the =
zombie eats is greater=20
than or equal to the number of brains the zombie requires to stay =
alive.=20
Otherwise, tell him "NO BRAINS".<BR><BR><BR><BR><SPAN=20
style=3D"FONT-SIZE: 24px; COLOR: =
#0000ff">Input</SPAN><BR>=E7=AC=AC=E4=B8=80=E8=A1=8C=E4=B8=80=E4=B8=AA=E6=
=AD=A3=E6=95=B4=E6=95=B0n(0 < n=20
< =
100)=EF=BC=8C=E8=A1=A8=E7=A4=BA=E6=8E=A5=E4=B8=8B=E6=9D=A5=E6=9C=89n=E7=BB=
=84=E6=95=B0=E6=8D=AE=EF=BC=9A<BR>=E6=8E=A5=E4=B8=8B=E6=9D=A5=E6=AF=8F=E4=
=B8=80=E8=A1=8C=E4=B8=A4=E4=B8=AA=E6=AD=A3=E6=95=B4=E6=95=B0x, =
y=EF=BC=880 < x,y <=20
=
10<SUP>100</SUP>=EF=BC=89=EF=BC=8C=E8=BE=93=E5=85=A5=E6=95=B0=E6=8D=AE=E4=
=BF=9D=E8=AF=81x=E5=92=8Cy=E7=9A=84=E6=9C=80=E9=AB=98=E4=BD=8D=E9=9D=9E0=E3=
=80=82<BR><BR><BR><BR><SPAN=20
style=3D"FONT-SIZE: 24px; COLOR: =
#0000ff">Output</SPAN><BR>=E4=B8=80=E5=85=B1n=E8=A1=8C=EF=BC=8C=E6=AF=8F=E4=
=B8=80=E8=A1=8C=E8=BE=93=E5=87=BA=E2=80=9DMMM=20
BRAINS=E2=80=9D or =E2=80=9CNO =
BRAINS=E2=80=9D=E3=80=82<BR><BR><BR><BR><SPAN=20
style=3D"FONT-SIZE: 24px; COLOR: #0000ff">Sample Input</SPAN><FONT =
face=3D"Courier New, Courier, monospace"><BR>3<BR>4 5<BR>3 3<BR>4=20
3<BR></FONT><BR><BR><BR><BR><SPAN=20
style=3D"FONT-SIZE: 24px; COLOR: #0000ff">Sample =
Output</SPAN><FONT=20
face=3D"Courier New, Courier, monospace"><BR>NO BRAINS<BR>MMM =
BRAINS<BR>MMM=20
BRAINS<BR></FONT><BR><BR><BR><BR><SPAN=20
style=3D"FONT-SIZE: 24px; COLOR: #0000ff">Problem =
Setter</SPAN><BR><A=20
=
href=3D"http://10.60.101.7/userinfo?uid=3Dfirepot">firepot</A><BR><BR><BR=
><BR><SPAN=20
style=3D"FONT-SIZE: 24px; COLOR: #0000ff">Source</SPAN><BR><A=20
=
href=3D"http://10.60.101.7/contestproblems?source=3DTongji+2006">Tongji=20
University Programming Contest 2006</A><BR></SPAN>
<P align=3Dcenter><SPAN class=3DBLUE14>[<A=20
=
href=3D"http://10.60.101.7/submit?cid=3D1001&pid=3DG">Submit</A>]&nbs=
p; [<A=20
=
href=3D"http://10.60.101.7/problemstatus?cid=3D1001&pid=3DG">Status</=
A>] [<A=20
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -