ui: problemconfig: patch autoconfigure

This commit is contained in:
undefined committed 2023-03-16 18:41:33 +08:00
1 parent 6c6147d050
commit 9497c19447
5 files changed
+15 -4

No files matched your search

+2 -2
View File
@@ -248,7 +248,7 @@ const SubtaskMatcher: MatchRule[] = [
(a) => (a[1].includes('input') ? `${a[1] + a[2]}.txt`.replace(/input/g, 'output') : null),
],
id: (a) => +a[2],
subtask: () => 0,
subtask: () => 1,
preferredScorerType: 'sum',
},
{
@@ -258,7 +258,7 @@ const SubtaskMatcher: MatchRule[] = [
(a) => `${a[1]}.ou${a[2]}`.replace(/input/g, 'output'),
],
id: (a) => +a[2],
subtask: () => 0,
subtask: () => 1,
preferredScorerType: 'sum',
},
{