Skip to content

Commit 9fc6273

Browse files
committed
ABCの問題表のヘッダーのExをH/Exに
1 parent f9a1dbe commit 9fc6273

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

atcoder-problems-frontend/src/pages/TablePage/AtCoderRegularTable.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,12 @@ interface Props {
4040
const getProblemHeaderAlphabet = (problem: MergedProblem, contest: Contest) => {
4141
const list = problem.title.split(".");
4242
if (list.length === 0) return "";
43-
if (list[0] === "H" && classifyContest(contest).startsWith("ABC"))
44-
return "Ex";
43+
console.log(list);
44+
if (
45+
(list[0] === "H" || list[0] === "Ex") &&
46+
classifyContest(contest).startsWith("ABC")
47+
)
48+
return "H/Ex";
4549
return list[0];
4650
};
4751

0 commit comments

Comments
 (0)