Skip to content

Commit

Permalink
Update contestrank2.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue authored Dec 31, 2016
1 parent f6ad811 commit 0b1e37b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/web/contestrank2.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function s_cmp($A,$B){
$sql="SELECT
users.user_id,users.nick,solution.result,solution.num,unix_timestamp(solution.in_date)-$start_time in_date
FROM
(select * from solution where solution.contest_id='$cid' and num>=0 ) solution
(select * from solution where solution.contest_id='$cid' and num>=0 and problem_id>0) solution
left join users
on users.user_id=solution.user_id
ORDER BY in_date";
Expand Down

0 comments on commit 0b1e37b

Please sign in to comment.