From ec54596ab4787cc65767029ce42333ea870641af Mon Sep 17 00:00:00 2001 From: EarringYYR <39593555+earringyyr@users.noreply.github.com> Date: Tue, 11 Jun 2019 10:59:04 +0800 Subject: [PATCH] feat(problem.php): Suppot show limits (#32) The system will get the time_limit and memory_limit from problem.conf automatically. In addition, the problem that doesn't have any data will show: time_limit: N/A memory_limit: N/A --- uoj/1/app/controllers/problem.php | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/uoj/1/app/controllers/problem.php b/uoj/1/app/controllers/problem.php index 8544a9b..48ba7c3 100644 --- a/uoj/1/app/controllers/problem.php +++ b/uoj/1/app/controllers/problem.php @@ -228,7 +228,23 @@ $('#contest-countdown').countdown(= $contest['end_time']->getTimestamp() - UOJ