mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
judge: 修改ini配置下默认内存限制为256MB
This commit is contained in:
1 parent
1eb3e0797f
commit
591acbb285
3 files changed
+6
-7
No files matched your search
@@ -10,7 +10,7 @@ function convert(ini: string) {
|
||||
cases: [{ input: `input/${input}`, output: `output/${output}` }],
|
||||
score: parseInt(score, 10),
|
||||
time: `${time}s`,
|
||||
memory: '128m',
|
||||
memory: '256m',
|
||||
};
|
||||
if (!Number.isNaN(parseInt(memory, 10))) cur.memory = `${Math.floor(parseInt(memory, 10) / 1024)}m`;
|
||||
res.subtasks.push(cur);
|
||||
|
||||
Reference in new issue
Block a user