File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
atcoder-problems-frontend/src Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ export const useMergedProblemMap = () => {
127
127
}
128
128
129
129
const contestType = classifyContest ( contest ) ;
130
- if ( contestType === "AHC" ) {
130
+ if ( contestType === "AHC" || contestType === "Marathon" ) {
131
131
map . set ( problem . id , { ...problem , point : undefined } ) ;
132
132
} else {
133
133
map . set ( problem . id , problem ) ;
@@ -303,7 +303,7 @@ export const useProblemModelMap = () => {
303
303
return ;
304
304
}
305
305
const contestType = classifyContest ( contest ) ;
306
- if ( contestType === "AHC" ) {
306
+ if ( contestType === "AHC" || contestType === "Marathon" ) {
307
307
return ;
308
308
}
309
309
Original file line number Diff line number Diff line change @@ -56,7 +56,10 @@ export const classifyContest = (
56
56
if ( / ^ a g c \d { 3 } $ / . exec ( contest . id ) ) {
57
57
return "AGC" ;
58
58
}
59
- if ( / ^ a h c \d { 3 } $ / . exec ( contest . id ) ) {
59
+ if (
60
+ / ^ a h c \d { 3 } $ / . exec ( contest . id ) ||
61
+ [ "toyota2023summer-final" ] . includes ( contest . id )
62
+ ) {
60
63
return "AHC" ;
61
64
}
62
65
@@ -78,8 +81,11 @@ export const classifyContest = (
78
81
/ ( ^ C h o k u d a i C o n t e s t | ハ ー フ マ ラ ソ ン | ^ H A C K T O T H E F U T U R E | A s p r o v a | H e u r i s t i c s C o n t e s t ) / . exec (
79
82
contest . title
80
83
) ||
81
- / ( ^ f u t u r e - m e e t s - y o u - c o n t e s t | ^ h o k u d a i - h i t a c h i ) / . exec ( contest . id ) ||
84
+ / ( ^ f u t u r e - m e e t s - y o u - c o n t e s t | ^ h o k u d a i - h i t a c h i | ^ t o y o t a - h c ) / . exec (
85
+ contest . id
86
+ ) ||
82
87
[
88
+ "toyota2023summer-final-open" ,
83
89
"genocon2021" ,
84
90
"stage0-2021" ,
85
91
"caddi2019" ,
@@ -97,7 +103,7 @@ export const classifyContest = (
97
103
/ ( C O D E F E S T I V A L | ^ D I S C O | 日 本 最 強 プ ロ グ ラ マ ー 学 生 選 手 権 | 全 国 統 一 プ ロ グ ラ ミ ン グ 王 | I n d e e d ) / . exec (
98
104
contest . title
99
105
) ||
100
- / ( ^ D o n u t s | ^ d w a n g o | ^ D i g i t a l A r t s | ^ C o d e F o r m u l a | 天 下 一 プ ロ グ ラ マ ー コ ン テ ス ト ) / . exec (
106
+ / ( ^ D o n u t s | ^ d w a n g o | ^ D i g i t a l A r t s | ^ C o d e F o r m u l a | 天 下 一 プ ロ グ ラ マ ー コ ン テ ス ト | ^ T o y o t a ) / . exec (
101
107
contest . title
102
108
)
103
109
) {
You can’t perform that action at this time.
0 commit comments