bump version

This commit is contained in:
undefined committed 2022-07-31 19:52:36 +08:00
1 parent 614eefcb31
commit 931b7b391e
4 files changed
+7 -7

No files matched your search

+4 -4
View File
@@ -173,7 +173,7 @@ interface MatchRule {
const SubtaskMatcher: MatchRule[] = [
{
regex: /^([^\d]*(?:\d+[a-zA-Z]+)*)(\d+).(in|txt)$/,
regex: /^([^\d]*(?:\d+[a-zA-Z]+)*)(\d+)\.(in|txt)$/,
output: [
(a) => `${a[1] + a[2]}.out`,
(a) => `${a[1] + a[2]}.ans`,
@@ -195,10 +195,10 @@ const SubtaskMatcher: MatchRule[] = [
preferredScorerType: 'sum',
},
{
regex: /^([^\d]*)([0-9]+)([-_])([0-9]+).in$/,
regex: /^([^\d]*)([0-9]+)([-_])([0-9]+)\.in$/,
output: [
(a) => `${a[1] + a[2]}${a[3]}${a[4]}.out`,
(a) => `${a[1] + a[2]}${a[3]}${a[4]}.ans`,
(a) => `${a[1]}${a[2]}${a[3]}${a[4]}.out`,
(a) => `${a[1]}${a[2]}${a[3]}${a[4]}.ans`,
],
id: (a) => +a[4],
subtask: (a) => +a[2],