From 3bd4603463ba48c0ebe87f1b0d93f4000bc1c4ca Mon Sep 17 00:00:00 2001 From: klarkxy <278370456@qq.com> Date: Fri, 11 Oct 2024 17:56:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=B0=83=E8=AF=95=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/problemset.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/web/problemset.php b/web/problemset.php index a88c96d..79e5fef 100644 --- a/web/problemset.php +++ b/web/problemset.php @@ -68,11 +68,9 @@ $sub_arr = array(); $acc_arr = array(); if (isset($_SESSION[$OJ_NAME . '_' . 'user_id'])) { $user_id = $_SESSION[$OJ_NAME . '_' . 'user_id']; - echo "console.log(" . $user_id . ")"; // 管理员可以选择看谁的对错信息 if (isset($_SESSION[$OJ_NAME . '_' . 'administrator']) && isset($_GET['query_user_id'])) { $user_id = $_GET['query_user_id']; - echo "console.log(" . $user_id . ")"; } $sql = "SELECT problem_id, MIN(result) AS result FROM solution WHERE user_id=? and result>=4 GROUP BY problem_id "; $result = pdo_query($sql, $user_id);