mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
utils: fix testcase detection for input1.txt
This commit is contained in:
1 file changed
+1
-1
@@ -240,7 +240,7 @@ interface MatchRule {
|
|||||||
|
|
||||||
const SubtaskMatcher: MatchRule[] = [
|
const SubtaskMatcher: MatchRule[] = [
|
||||||
{
|
{
|
||||||
regex: /^(([A-Za-z0-9]*?)(?:(\d*)[-_])?(\d+))\.in$/,
|
regex: /^(([A-Za-z0-9]*?)(?:(\d*)[-_])?(\d+))\.(in|txt)$/,
|
||||||
output: [
|
output: [
|
||||||
(a) => `${a[1]}.out`,
|
(a) => `${a[1]}.out`,
|
||||||
(a) => `${a[1]}.ans`,
|
(a) => `${a[1]}.ans`,
|
||||||
|
|||||||
Reference in new issue
Block a user