diff --git a/web/app/libs/uoj-data-lib.php b/web/app/libs/uoj-data-lib.php index 38bca6e..ec0cee3 100644 --- a/web/app/libs/uoj-data-lib.php +++ b/web/app/libs/uoj-data-lib.php @@ -488,7 +488,7 @@ class SyncProblemDataHandler { "extra_config" => DB::json_set( 'extra_config', '$.time_limit', - $this->final_problem_conf['time_limit'] ? (int)$this->final_problem_conf['time_limit'] : null, + $this->final_problem_conf['time_limit'] ? (float)$this->final_problem_conf['time_limit'] : null, '$.memory_limit', $this->final_problem_conf['memory_limit'] ? (int)$this->final_problem_conf['memory_limit'] : null, ),