mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
bump version
This commit is contained in:
1 parent
614eefcb31
commit
931b7b391e
4 files changed
+7
-7
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@hydrooj/hydrojudge",
|
||||
"bin": "bin/hydrojudge.js",
|
||||
"version": "2.22.1",
|
||||
"version": "2.22.2",
|
||||
"main": "package.json",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "3.14.21",
|
||||
"version": "3.14.22",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "src/loader",
|
||||
"module": "src/loader",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.38.26",
|
||||
"version": "4.38.27",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "hydro.js",
|
||||
|
||||
@@ -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],
|
||||
|
||||
Reference in new issue
Block a user