This commit is contained in:
Baoshuo Ren 2023-02-07 06:56:31 +08:00
parent 15a4b23b80
commit 252b2c0cdc
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -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,
),