<html><head><meta http-equiv="Pragma" content="no-cache"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta http-equiv="Content-Language" content="en-US"><title>1030 -- Rating</title><link rel=stylesheet href='poj.css' type='text/css'><link rel='shortcut icon' href='poj.ico'><link rel='icon' href='poj.gif' type='image/gif'><script src='poj.js' language='javascript'></script></head><body lang="en-US" leftmargin=5 link=blue alink=blue vlink=blue onkeydown=KeyDown(event)><a name=top></a><TABLE style='BORDER-COLLAPSE: collapse' borderColor=#ffffff width=100% border=1><TBODY><TR><TD align=CENTER colSpan=5><table class=h1 cellpadding=0><tr><td width=25% align=left><img src='images/logo1.jpg' height=100 border=0></td><td colspan=3 bgcolor='#EAEFFD'><table class=h2><tr><td><img border=0 src='images/logo0.gif' width=450 height=90></td><td width=95><img border=0 src='images/logo3.gif' width=95 height=95></td></tr></table></td></tr></table></TD></TR><TR vAlign=top align=CENTER bgColor=#6589d1><TH class=h>Online Judge</TH><TH class=h>Problem Set</TH><TH class=h>Authors</TH><TH class=h>Online Contests</TH><TH class=h>User</TH></TR><TR vAlign=top align=CENTER bgColor='#f1f1fd'><TD class='h' onMouseOver='scbg(this, 1)' onMouseOut='scbg(this, 0)'><A href='bbs'>Web Board</A><BR><A href='http://222.178.203.72:19005/whst/63/=cnvmknZczbrcmzmds///download/caolianqiang/'>Home Page</A><BR><A href='faq.htm' target=_blank>F.A.Qs</A><BR><a href='chart'>Statistical Charts</a></TD><TD class='h' onMouseOver='scbg(this, 1)' onMouseOut='scbg(this, 0)'><FORM action=gotoproblem method=get><A href='problemlist'>Problems</A><BR><A href='submit'>Submit Problem</A><BR><A href='status'>Online Status</A><BR><font color=blue>Prob.ID:</font><input type=text name=pid size=6><input type=Submit value=Go name=pb1></form></td><TD class='h' onMouseOver='scbg(this,1)' onMouseOut='scbg(this,0)'><form method=GET action=searchuser><a href=register>Register</a><br><a href=modifyuser>Update your info</a><br><a href=userlist>Authors ranklist</a><br><input type=text name=key size=10><input type=Submit value=Search name=B1></form></TD>
<TD class=h onMouseOver='scbg(this,1)' onMouseOut='scbg(this,0)'><font color=#1a5cc8>Current Contest</font><br><a href=pastcontests>Past Contests</a><br><a href=contests>Scheduled Contests</a><br><a href=awardcontest_announce.htm target=_blank><font color=red>Award Contest</font></a></td><TD align=left class=h onMouseOver='scbg(this,1)' onMouseOut='scbg(this,0)'><form method=POST action=login><table><tr><td>User ID:</td><td><input type=text name=user_id1 size=10 style='font-family:monospace'></td></tr><tr><td>Password:</td><td><input type=password name=password1 size=10 style='font-family:monospace'></td></tr></table><input type=Submit value=login name=B1> <a href=register target=_parent>Register</a><input type=hidden name=url value=/JudgeOnline/problem?id=1030></form><script lang='text/javascript'>document.getElementsByName('user_id1')[0].focus();</script></td></TR></TABLE><table border=0 width=100% background=images/table_back.jpg><tr><td>
<div style='position: absolute; right: 10px;'>Language:<select size=1 onChange="window.location.href='problem?id=1030&lang='+this.value+'&change=true'"><option value='default' selected>Default</option></select></div><div lang="en-US" align=center style="font-weight:bold"><font color=blue size=5>Rating</font></div>
<table align=center><tr><td><b>Time Limit:</b> 1000MS</td><td width="10px"></td><td><b>Memory Limit:</b> 10000K</td></tr><tr><td><b>Total Submissions:</b> 393</td><td width="10px"></td><td><b>Accepted:</b> 80</td></table><p><font color=blue size=5>Description</font><br><font face="Times New Roman" size=3>One of the participants of both regional contests which took place in St. Petersburg decided to determine overall rating for all teams that took part in at least one contest.
<br>This participant assigned each team a unique team identifier, which was an integer from 1 to 100 inclusively. For each contest team identifiers of the participating teams were written in a column according to their place in that contest. Identifiers of the teams that had equal results were written on the same line. The participant started with the team(s) that was(were) the best in that contest (writing them on the first line) and continued in the order of decreasing results.
<br>Definition: Let's say that the team has place K in the contest if exactly K-1 teams performed in that contest better.
<br>Consider the following examples of two contests' results:
<br><table border="1" cellspacing="0" cellpadding="0"> <tr> <td width="347" colspan="2" valign="top" <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US">Contest no. 1<o:p> </o:p> </span></p> </td> <td width="347" colspan="2" valign="top" > <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US">Contest no. 2<o:p> </o:p> </span></p> </td> </tr> <tr> <td width="174" valign="top" > <p class="MsoNormal" align="right" style="text-align:right"><span lang="EN-US" class="Treatasvalue">place<o:p> </o:p> </span></p> </td> <td width="174" valign="top" > <p class="MsoNormal"><span lang="EN-US" class="Treatasvalue">team's id<o:p> </o:p> </span></p> </td> <td width="174" valign="top"> <p class="MsoNormal" align="right" style="text-align:right"><span lang="EN-US" class="Treatasvalue">place<o:p> </o:p> </span></p> </td> <td width="174" valign="top"> <p class="MsoNormal"><span lang="EN-US" class="Treatasvalue">team's id<o:p> </o:p> </span></p> </td> </tr> <tr> <td width="174" valign="top" > <p class="MsoNormal" align="right" style="text-align:right"><span lang="EN-US">1<o:p> </o:p> </span></p> </td> <td width="174" valign="top"> <p class="MsoNormal"><span lang="EN-US">9<o:p> </o:p> </span></p> </td> <td width="174" valign="top" > <p class="MsoNormal" align="right" style="text-align:right"><span lang="EN-US">1<o:p> </o:p> </span></p> </td> <td width="174" valign="top" > <p class="MsoNormal"><span lang="EN-US">3<o:p> </o:p> </span></p> </td> </tr> <tr> <td width="174" valign="top" > <p class="MsoNormal" align="right" style="text-align:right"><span lang="EN-US">2<o:p> </o:p> </span></p> </td> <td width="174" valign="top" > <p class="MsoNormal"><span lang="EN-US">7 1 4<o:p> </o:p> </span></p> </td> <td width="174" valign="top" > <p class="MsoNormal" align="right" style="text-align:right"><span lang="EN-US">2<o:p> </o:p> </span></p> </td> <td width="174" valign="top" > <p class="MsoNormal"><span lang="EN-US">5<o:p> </o:p> </span></p> </td> </tr> <tr> <td width="174" valign="top" > <p class="MsoNormal" align="right" style="text-align:right"><span lang="EN-US">5<o:p> </o:p> </span></p> </td> <td width="174" valign="top" > <p class="MsoNormal"><span lang="EN-US">5<o:p> </o:p> </span></p> </td> <td width="174" valign="top" > <p class="MsoNormal" align="right" style="text-align:right"><span lang="EN-US">3<o:p> </o:p> </span></p> </td> <td width="174" valign="top" > <p class="MsoNormal"><span lang="EN-US">1 10<o:p> </o:p> </span></p> </td> </tr> <tr> <td width="174" valign="top" > <p class="MsoNormal" align="right" style="text-align:right"><span lang="EN-US">6<o:p> </o:p> </span></p> </td> <td width="174" valign="top" > <p class="MsoNormal"><span lang="EN-US">15 8<o:p> </o:p> </span></p> </td> <td width="174" valign="top" > <p class="MsoNormal" align="right" style="text-align:right"><span lang="EN-US">5<o:p> </o:p> </span></p> </td> <td width="174" valign="top" > <p class="MsoNormal"><span lang="EN-US">6<o:p> </o:p> </span></p> </td
- 1
- 2
- 3
- 4
前往页