Skip to content

Commit 104ada5

Browse files
committed
✨ Add task and test (#2208)
1 parent 6198fcd commit 104ada5

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/lib/utils/contest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ export const classifyContest = (contest_id: string) => {
9595
// HACK: As of June 2025, the following contests are applicable.
9696
// Note: The classification logic may need to be revised when new contests are added.
9797
const ABC_LIKE: ContestPrefix = {
98+
caddi2018b: 'CADDi 2018 for Beginners',
9899
aising2020: 'エイシング プログラミング コンテスト 2020',
99100
hhkb2020: 'HHKB プログラミングコンテスト 2020',
100101
panasonic2020: 'パナソニックプログラミングコンテスト 2020',

src/test/lib/utils/test_cases/contest_type.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,10 @@ export const agc = agcContestIds.map((contestId) =>
187187
);
188188

189189
export const abcLike = [
190+
createTestCaseForContestType('CADDi 2018 for Beginners')({
191+
contestId: 'caddi2018b',
192+
expected: ContestType.ABC_LIKE,
193+
}),
190194
createTestCaseForContestType('AISing 2020')({
191195
contestId: 'aising2020',
192196
expected: ContestType.ABC_LIKE,

0 commit comments

Comments
 (0)