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 = () => {
127127 }
128128
129129 const contestType = classifyContest ( contest ) ;
130- if ( contestType === "AHC" ) {
130+ if ( contestType === "AHC" || contestType === "Marathon" ) {
131131 map . set ( problem . id , { ...problem , point : undefined } ) ;
132132 } else {
133133 map . set ( problem . id , problem ) ;
@@ -303,7 +303,7 @@ export const useProblemModelMap = () => {
303303 return ;
304304 }
305305 const contestType = classifyContest ( contest ) ;
306- if ( contestType === "AHC" ) {
306+ if ( contestType === "AHC" || contestType === "Marathon" ) {
307307 return ;
308308 }
309309
Original file line number Diff line number Diff line change @@ -56,7 +56,10 @@ export const classifyContest = (
5656 if ( / ^ a g c \d { 3 } $ / . exec ( contest . id ) ) {
5757 return "AGC" ;
5858 }
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+ ) {
6063 return "AHC" ;
6164 }
6265
@@ -78,8 +81,11 @@ export const classifyContest = (
7881 / ( ^ 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 (
7982 contest . title
8083 ) ||
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+ ) ||
8287 [
88+ "toyota2023summer-final-open" ,
8389 "genocon2021" ,
8490 "stage0-2021" ,
8591 "caddi2019" ,
@@ -97,7 +103,7 @@ export const classifyContest = (
97103 / ( C O D E F E S T I V A L | ^ D I S C O | 日 本 最 強 プ ロ グ ラ マ ー 学 生 選 手 権 | 全 国 統 一 プ ロ グ ラ ミ ン グ 王 | I n d e e d ) / . exec (
98104 contest . title
99105 ) ||
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 (
101107 contest . title
102108 )
103109 ) {
You can’t perform that action at this time.
0 commit comments