We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 281ba79 commit 8b30524Copy full SHA for 8b30524
atcoder-problems-frontend/src/utils/ContestClassifier.ts
@@ -49,6 +49,10 @@ export const classifyContest = (contest: Contest): ContestCategory => {
49
return "AGC";
50
}
51
52
+ if (/^ahc\d{3}$/.exec(contest.id)) {
53
+ return "AHC";
54
+ }
55
+
56
if (isRatedContest(contest)) {
57
return classifyOtherRatedContest(contest);
58
@@ -63,9 +67,6 @@ export const classifyContest = (contest: Contest): ContestCategory => {
63
67
return "JAG";
64
68
65
69
66
- if (/^ahc\d{3}$/.exec(contest.id)) {
- return "AHC";
- }
70
if (
71
/(^Chokudai Contest|ハーフマラソン|^HACK TO THE FUTURE|Asprova|Heuristics Contest)/.exec(
72
contest.title
0 commit comments