From 6ad48214329238ba5475b6fd66a58d7406755677 Mon Sep 17 00:00:00 2001 From: Kato Hiroki Date: Sun, 21 Dec 2025 02:25:26 +0000 Subject: [PATCH] feat: Add tasks for ARC-like (#2986) --- src/lib/utils/contest.ts | 3 ++- src/test/lib/utils/test_cases/contest_type.ts | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/utils/contest.ts b/src/lib/utils/contest.ts index e2afe418f..52710bf6d 100644 --- a/src/lib/utils/contest.ts +++ b/src/lib/utils/contest.ts @@ -96,7 +96,7 @@ export const classifyContest = (contest_id: string) => { return null; }; -// HACK: As of September 2025, the following contests are applicable. +// HACK: As of December 2025, the following contests are applicable. // Note: The classification logic may need to be revised when new contests are added. const ABC_LIKE: ContestPrefix = { 'tenka1-2017-beginner': 'Tenka1 Programmer Beginner Contest 2017', @@ -126,6 +126,7 @@ const ARC_LIKE: ContestPrefix = { keyence2020: 'キーエンス プログラミング コンテスト 2020', keyence2021: 'キーエンス プログラミング コンテスト 2021', 'jsc2019-qual': '第一回日本最強プログラマー学生選手権-予選-', + 'nikkei2019-qual': '全国統一プログラミング王決定戦予選', } as const; const arcLikePrefixes = new Set(getContestPrefixes(ARC_LIKE)); diff --git a/src/test/lib/utils/test_cases/contest_type.ts b/src/test/lib/utils/test_cases/contest_type.ts index 4c468d830..fdf6cefe3 100644 --- a/src/test/lib/utils/test_cases/contest_type.ts +++ b/src/test/lib/utils/test_cases/contest_type.ts @@ -289,6 +289,10 @@ export const arcLike = [ contestId: 'jsc2019-qual', expected: ContestType.ARC_LIKE, }), + createTestCaseForContestType('NIKKEI2019 QUAL')({ + contestId: 'nikkei2019-qual', + expected: ContestType.ARC_LIKE, + }), ]; export const agcLike = [