Skip to content

Commit

Permalink
Update contestrank-oi.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue authored Jul 5, 2017
1 parent 39554be commit df6f7ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions trunk/web/contestrank-oi.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ function Add($pid,$sec,$res){

function s_cmp($A,$B){
// echo "Cmp....<br>";
if ($A->solved!=$B->solved) return $A->solved<$B->solved;
if ($A->total!=$B->total) return $A->total<$B->total;
else {
if($A->total!=$B->total)
return $A->total<$B->total;
if($A->solved!=$B->solved)
return $A->solved<$B->solved;
else
return $A->time>$B->time;
}
Expand Down

0 comments on commit df6f7ad

Please sign in to comment.