utils: fix testcase detection for input1.txt

pull/664/head
undefined 1 year ago
parent 6940eae888
commit c57478804d
No known key found for this signature in database

@ -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`,

Loading…
Cancel
Save