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
3 changes: 2 additions & 1 deletion src/lib/utils/contest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,11 @@ export const classifyContest = (contest_id: string) => {
return null;
};

// HACK: As of December 2024, the following contests are applicable.
// HACK: As of April 2025, the following contests are applicable.
// Note: The classification logic may need to be revised when new contests are added.
const ABC_LIKE: ContestPrefix = {
aising2020: 'エイシング プログラミング コンテスト 2020',
hhkb2020: 'HHKB プログラミングコンテスト 2020',
panasonic2020: 'パナソニックプログラミングコンテスト 2020',
} as const;
const abcLikePrefixes = new Set(getContestPrefixes(ABC_LIKE));
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 @@ -191,6 +191,10 @@ export const abcLike = [
contestId: 'aising2020',
expected: ContestType.ABC_LIKE,
}),
createTestCaseForContestType('HHKB 2020')({
contestId: 'hhkb2020',
expected: ContestType.ABC_LIKE,
}),
createTestCaseForContestType('Panasonic 2020')({
contestId: 'panasonic2020',
expected: ContestType.ABC_LIKE,
Expand Down
Loading