Skip to content

Commit d8919be

Browse files
authored
Merge pull request #1702 from AtCoder-NoviSteps/#1701
✨ Add tasks for priority queue (#1701)
2 parents 874309e + 2c40295 commit d8919be

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

src/lib/utils/contest.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ export const classifyContest = (contest_id: string) => {
9595
// HACK: As of December 2024, 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+
aising2020: 'エイシング プログラミング コンテスト 2020',
9899
panasonic2020: 'パナソニックプログラミングコンテスト 2020',
99100
} as const;
100101
const abcLikePrefixes = new Set(getContestPrefixes(ABC_LIKE));
@@ -162,7 +163,10 @@ const atCoderUniversityPrefixes = getContestPrefixes(ATCODER_UNIVERSITIES);
162163
const ATCODER_OTHERS: ContestPrefix = {
163164
chokudai_S: 'Chokudai SpeedRun',
164165
'code-festival-2014-final': 'Code Festival 2014 決勝',
166+
'code-thanks-festival': 'CODE THANKS FESTIVAL',
165167
donuts: 'Donutsプロコンチャレンジ',
168+
indeednow: 'Indeedなう',
169+
'dwacon2017-prelims': '第3回 ドワンゴからの挑戦状 予選',
166170
'mujin-pc-2016': 'Mujin Programming Challenge 2016',
167171
'mujin-pc-2018': 'Mujin Programming Challenge 2018',
168172
'tenka1-2016-final': '天下一プログラマーコンテスト2016本戦',

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

Lines changed: 20 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('AISing 2020')({
191+
contestId: 'aising2020',
192+
expected: ContestType.ABC_LIKE,
193+
}),
190194
createTestCaseForContestType('Panasonic 2020')({
191195
contestId: 'panasonic2020',
192196
expected: ContestType.ABC_LIKE,
@@ -295,6 +299,14 @@ export const atCoderOthers = [
295299
contestId: 'code-festival-2014-final',
296300
expected: ContestType.OTHERS,
297301
}),
302+
createTestCaseForContestType('CODE THANKS FESTIVAL 2017')({
303+
contestId: 'code-thanks-festival-2017',
304+
expected: ContestType.OTHERS,
305+
}),
306+
createTestCaseForContestType('CODE THANKS FESTIVAL 2018')({
307+
contestId: 'code-thanks-festival-2018',
308+
expected: ContestType.OTHERS,
309+
}),
298310
createTestCaseForContestType('Donuts Procon Challenge 2014')({
299311
contestId: 'donuts-live2014',
300312
expected: ContestType.OTHERS,
@@ -303,6 +315,14 @@ export const atCoderOthers = [
303315
contestId: 'donuts-2015',
304316
expected: ContestType.OTHERS,
305317
}),
318+
createTestCaseForContestType('IndeedNow Qual B')({
319+
contestId: 'indeednow-qualb',
320+
expected: ContestType.OTHERS,
321+
}),
322+
createTestCaseForContestType('第3回 ドワンゴからの挑戦状 予選')({
323+
contestId: 'dwacon2017-prelims',
324+
expected: ContestType.OTHERS,
325+
}),
306326
createTestCaseForContestType('MUJIN Programming Challenge 2016')({
307327
contestId: 'mujin-pc-2016',
308328
expected: ContestType.OTHERS,

0 commit comments

Comments
 (0)