diff --git a/web/app/views/user-info.php b/web/app/views/user-info.php index a4c634c..61af02b 100644 --- a/web/app/views/user-info.php +++ b/web/app/views/user-info.php @@ -281,7 +281,7 @@ "date_format(submit_time, '%Y-%m-%d')", "problem_id", ]), @@ -293,14 +293,12 @@ ] ]); $last_year_ac_cnt_by_day = []; - $last_year_ac_cnt = 0; foreach ($ac_records as $record) { - $last_year_ac_cnt++; $last_year_ac_cnt_by_day[$record["submit_time"]]++; } ?>
-
+