diff --git a/web/app/controllers/problem.php b/web/app/controllers/problem.php index 059cc80..b226b5c 100644 --- a/web/app/controllers/problem.php +++ b/web/app/controllers/problem.php @@ -243,8 +243,8 @@ if (UOJContest::cur()) { getVal('time_limit', null) : null; - $memory_limit = $conf instanceof UOJProblemConf ? $conf->getVal('memory_limit', null) : null; + $time_limit = $conf instanceof UOJProblemConf ? $conf->getVal('time_limit', 1) : null; + $memory_limit = $conf instanceof UOJProblemConf ? $conf->getVal('memory_limit', 256) : null; ?>
时间限制: @@ -285,16 +285,13 @@ if (UOJContest::cur()) {
- - - + +