Skip to content

Commit 0b22c13

Browse files
authored
Update contestrank.php
1 parent 9c5b474 commit 0b22c13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trunk/web/contestrank.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function Add($pid,$sec,$res) {
2626
global $OJ_CE_PENALTY;
2727
//echo "Add $pid $sec $res<br>";
2828
if ($sec<0) return; // restarted contest ignore previous submission
29-
if (isset($this->p_ac_sec[$pid]) || $this->p_ac_sec[$pid] < 0)
29+
if (isset($this->p_ac_sec[$pid]))
3030
return;
3131
if ($res!=4) {
3232
//$this->p_ac_sec[$pid]=0;

0 commit comments

Comments
 (0)