Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/lib/utils/contest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export const classifyContest = (contest_id: string) => {
// HACK: As of June 2025, the following contests are applicable.
// Note: The classification logic may need to be revised when new contests are added.
const ABC_LIKE: ContestPrefix = {
caddi2018b: 'CADDi 2018 for Beginners',
aising2020: 'エイシング プログラミング コンテスト 2020',
hhkb2020: 'HHKB プログラミングコンテスト 2020',
panasonic2020: 'パナソニックプログラミングコンテスト 2020',
Expand Down
4 changes: 4 additions & 0 deletions src/test/lib/utils/test_cases/contest_type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ export const agc = agcContestIds.map((contestId) =>
);

export const abcLike = [
createTestCaseForContestType('CADDi 2018 for Beginners')({
contestId: 'caddi2018b',
expected: ContestType.ABC_LIKE,
}),
createTestCaseForContestType('AISing 2020')({
contestId: 'aising2020',
expected: ContestType.ABC_LIKE,
Expand Down
Loading