Skip to content

Commit

Permalink
utils: fix testcase detection for input1.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
undefined-moe committed Sep 21, 2023
1 parent 6940eae commit c574788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utils/lib/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down

0 comments on commit c574788

Please sign in to comment.