@@ -184,17 +184,15 @@ export const TablePage: React.FC = () => {
184
184
ContestTableTab . regular
185
185
) ;
186
186
187
- const yukicoderRegularContests = [ ] as Contest [ ] ;
188
- const yukicoderLongContests = [ ] as Contest [ ] ;
187
+ const yukicoderContests = [ ] as Contest [ ] ;
189
188
const otherContests = [ ] as Contest [ ] ;
190
189
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 + / ;
192
191
const regexpOpenContest = / \( O p e n \) $ / ;
193
192
contests . forEach ( ( contest ) => {
194
193
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 ) ;
198
196
} else if ( regexpOpenContest . exec ( contest . Name ) ) {
199
197
otherProblems . push ( contest ) ;
200
198
} else otherContests . push ( contest ) ;
@@ -286,20 +284,8 @@ export const TablePage: React.FC = () => {
286
284
< DifficultyStarsFillDefs />
287
285
< ContestWrapper display = { activeTab === ContestTableTab . regular } >
288
286
< 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"
303
289
mergedProblemsMap = { mergedProblemsMap }
304
290
showDifficultyLevel = { showDifficultyLevel }
305
291
problemLinkColorMode = { colorMode }
0 commit comments