judge: support kattis checker (#947)

This commit is contained in:
Baoshuo authored and GitHub committed 2025-02-18 20:38:48 +00:00
1 parent 6f744e9f97
commit 085b6c9b4c
3 files changed
+37 -2

No files matched your search

@@ -70,7 +70,7 @@ const problemConfigSchema: JSONSchema7 = {
subType: { type: 'string' },
langs: { type: 'array', items: { type: 'string' } },
target: { type: 'string' },
checker_type: { enum: ['default', 'lemon', 'syzoj', 'hustoj', 'testlib', 'strict', 'qduoj'] },
checker_type: { enum: ['default', 'lemon', 'syzoj', 'hustoj', 'testlib', 'strict', 'qduoj', 'kattis'] },
checker: {
oneOf: [
{ type: 'string', enum: testlibCheckers },
@@ -111,7 +111,7 @@ export default function ProblemType() {
panel={(
<div className="row">
<FormItem columns={4} label="Interface">
<ManagedSelect options={['syzoj', 'hustoj', 'qduoj', 'lemon']} formKey="checker_type" />
<ManagedSelect options={['syzoj', 'hustoj', 'qduoj', 'lemon', 'kattis']} formKey="checker_type" />
</FormItem>
<SingleFileSelect formKey="checker" label="Checker" withLang />
</div>