utils: fix testcase detection for input1.txt

This commit is contained in:
undefined committed 2023-09-22 00:36:49 +08:00
1 parent 6940eae888
commit c57478804d
1 file changed
+1 -1
+1 -1
View File
@@ -240,7 +240,7 @@ interface MatchRule {
const SubtaskMatcher: MatchRule[] = [
{
regex: /^(([A-Za-z0-9]*?)(?:(\d*)[-_])?(\d+))\.in$/,
regex: /^(([A-Za-z0-9]*?)(?:(\d*)[-_])?(\d+))\.(in|txt)$/,
output: [
(a) => `${a[1]}.out`,
(a) => `${a[1]}.ans`,