@@ -184,17 +184,15 @@ export const TablePage: React.FC = () => {
184184 ContestTableTab . regular
185185 ) ;
186186
187- const yukicoderRegularContests = [ ] as Contest [ ] ;
188- const yukicoderLongContests = [ ] as Contest [ ] ;
187+ const yukicoderContests = [ ] as Contest [ ] ;
189188 const otherContests = [ ] as Contest [ ] ;
190189 const otherProblems = [ ] as Contest [ ] ;
191- const regexpYukicoderContest = / ^ y u k i c o d e r c o n t e s t \d + / ;
190+ const regexpYukicoderContest = / ^ \s * y u k i c o d e r \s + c o n t e s t \s + \d + / ;
192191 const regexpOpenContest = / \( O p e n \) $ / ;
193192 contests . forEach ( ( contest ) => {
194193 if ( regexpYukicoderContest . exec ( contest . Name ) ) {
195- if ( contest . ProblemIdList . length <= 7 )
196- yukicoderRegularContests . push ( contest ) ;
197- else yukicoderLongContests . push ( contest ) ;
194+ if ( contest . ProblemIdList . length <= 8 ) yukicoderContests . push ( contest ) ;
195+ else otherContests . push ( contest ) ;
198196 } else if ( regexpOpenContest . exec ( contest . Name ) ) {
199197 otherProblems . push ( contest ) ;
200198 } else otherContests . push ( contest ) ;
@@ -286,20 +284,8 @@ export const TablePage: React.FC = () => {
286284 < DifficultyStarsFillDefs />
287285 < ContestWrapper display = { activeTab === ContestTableTab . regular } >
288286 < YukicoderRegularTable
289- contests = { yukicoderRegularContests }
290- title = "yukicoder contest (regular)"
291- mergedProblemsMap = { mergedProblemsMap }
292- showDifficultyLevel = { showDifficultyLevel }
293- problemLinkColorMode = { colorMode }
294- showContestResult = { showContestResult }
295- showContestDate = { showContestDate }
296- universalStateLoaded = { universalStateLoaded }
297- />
298- </ ContestWrapper >
299- < ContestWrapper display = { activeTab === ContestTableTab . long } >
300- < ContestTable
301- contests = { yukicoderLongContests }
302- title = "yukicoder contest (long)"
287+ contests = { yukicoderContests }
288+ title = "yukicoder contest"
303289 mergedProblemsMap = { mergedProblemsMap }
304290 showDifficultyLevel = { showDifficultyLevel }
305291 problemLinkColorMode = { colorMode }
0 commit comments