We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07133d1 commit 18976b3Copy full SHA for 18976b3
trunk/web/status.php
@@ -24,7 +24,7 @@
24
$str2="";
25
$lock=false;
26
$lock_time=date("Y-m-d H:i:s",time());
27
-$sql="SELECT * FROM `solution` WHERE 1 ";
+$sql="SELECT * FROM `solution` WHERE problem_id>0 ";
28
if (isset($_GET['cid'])){
29
$cid=intval($_GET['cid']);
30
$sql=$sql." AND `contest_id`='$cid' and num>=0 ";
0 commit comments