Codeforces Round 641 (Div. 1)

Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
1349 Codeforces Round 641 (Div. 1) FINISHED False 9000 142536299 May 12, 2020, 12:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 418 ) F1 Slime and Sequences (Easy Version) PROGRAMMING dp fft math 3100

B'Note that the only differences between easy and hard versions are the constraints on n and the time limit. You can make hacks only if all versions are solved. Slime is interested in sequences. He defined good positive integer sequences p of length n as follows: For the given integer n , the set of all good sequences of length n is s_n . For the fixed integer k and the sequence p , let f_p(k) be the number of times that k appears in p . For each k from 1 to n , Slime wants to know the following value: <= ft( sum_{p in s_n} f_p(k) right) textrm{mod} 998 ,244 ,353 The first line contains one integer n (1 <= n <= 5000) . Print n integers, the i -th of them should be equal to <= ft( sum_{p in s_n} f_p(i) right) textrm{mod} 998 ,244 ,353 . In the first example, s= {[1,1],[1,2] } . In the second example, s= {[1,1,1],[1,1,2],[1,2,1],[1,2,2],[2,1,2],[1,2,3] } . In the third example, s= {[1] } . '...

Tutorials

Codeforces Round #641 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
81359311 yhx-12243 F1 May 25, 2020, 7:44 a.m. OK GNU C++11 TESTS 40 93 62156800 3100
81359183 yhx-12243 F1 May 25, 2020, 7:43 a.m. OK GNU C++11 TESTS 40 93 62156800 3100
80215794 luogu_bot2 F1 May 15, 2020, 10:44 a.m. OK GNU C++11 TESTS 40 156 11059200 3100
80273784 command_block F1 May 16, 2020, 3:05 a.m. OK GNU C++11 TESTS 40 234 3891200 3100
81668442 Louhc F1 May 28, 2020, 4:16 a.m. OK GNU C++11 TESTS 40 342 102707200 3100
80592574 luogu_bot3 F1 May 18, 2020, 10:37 a.m. OK GNU C++11 TESTS 40 342 104345600 3100
79932700 zx2003 F1 May 13, 2020, 1:29 a.m. OK GNU C++11 TESTS 40 358 104345600 3100
79882448 stal_xy23z7b8 F1 May 12, 2020, 2:40 p.m. OK GNU C++11 TESTS 40 420 104550400 3100
79881330 142857 F1 May 12, 2020, 2:37 p.m. OK GNU C++11 TESTS 40 421 104345600 3100
79939962 Kewth F1 May 13, 2020, 4:12 a.m. OK GNU C++11 TESTS 40 421 208486400 3100
79875367 zeronumber F1 May 12, 2020, 2:22 p.m. OK GNU C++14 TESTS 40 249 104448000 3100
80885948 BamiTorabi F1 May 21, 2020, 8:10 p.m. OK GNU C++14 TESTS 40 280 100659200 3100
79886342 buko F1 May 12, 2020, 2:49 p.m. OK GNU C++14 TESTS 40 374 104345600 3100
80814725 LiciaDu F1 May 21, 2020, 2:04 a.m. OK GNU C++14 TESTS 40 482 204697600 3100
81172524 81179332 F1 May 24, 2020, 11:52 a.m. OK GNU C++14 TESTS 40 623 201523200 3100
80449736 ruogu F1 May 17, 2020, 8:31 a.m. OK GNU C++14 TESTS 40 655 104243200 3100
80411867 Noam13 F1 May 16, 2020, 7:52 p.m. OK GNU C++14 TESTS 40 655 205004800 3100
79980398 Rubblsh12345 F1 May 13, 2020, 12:45 p.m. OK GNU C++14 TESTS 40 655 205209600 3100
81170723 81179332 F1 May 24, 2020, 11:28 a.m. OK GNU C++14 TESTS 40 670 201523200 3100
80079344 itsanmolgera F1 May 14, 2020, 2:35 p.m. OK GNU C++14 TESTS 40 732 205209600 3100
80027987 xgcxgc F1 May 14, 2020, 3:24 a.m. OK GNU C++17 TESTS 40 77 58368000 3100
79969697 Cyanic F1 May 13, 2020, 10:43 a.m. OK GNU C++17 TESTS 40 280 104243200 3100
79908206 Shayan.P F1 May 12, 2020, 5:26 p.m. OK GNU C++17 TESTS 40 311 104652800 3100
79938689 jerome_wei F1 May 13, 2020, 3:47 a.m. OK GNU C++17 TESTS 40 312 104345600 3100
79874667 wifiiii F1 May 12, 2020, 2:21 p.m. OK GNU C++17 TESTS 40 358 204595200 3100
79859528 ko_osaga F1 May 12, 2020, 1:45 p.m. OK GNU C++17 TESTS 40 467 104140800 3100
79923958 amethyst0 F1 May 12, 2020, 9:08 p.m. OK GNU C++17 TESTS 40 467 104345600 3100
80046867 hjk1030 F1 May 14, 2020, 8:13 a.m. OK GNU C++17 TESTS 40 483 104345600 3100
79896378 mnbvmar F1 May 12, 2020, 3:51 p.m. OK GNU C++17 TESTS 40 499 148377600 3100
79878453 Batrr F1 May 12, 2020, 2:30 p.m. OK GNU C++17 TESTS 40 499 205312000 3100
79934834 Elegia F1 May 13, 2020, 2:24 a.m. OK GNU C++17 (64) TESTS 40 61 6656000 3100
80217454 _twilight F1 May 15, 2020, 11:02 a.m. OK GNU C++17 (64) TESTS 40 62 17510400 3100
81630039 mayaohua2003 F1 May 27, 2020, 2:47 p.m. OK GNU C++17 (64) TESTS 40 62 32153600 3100
80869998 cookiedoth F1 May 21, 2020, 4:06 p.m. OK GNU C++17 (64) TESTS 40 108 100659200 3100
79948505 cmwqf F1 May 13, 2020, 6:24 a.m. OK GNU C++17 (64) TESTS 40 109 104857600 3100
80273202 xymtxdy F1 May 16, 2020, 2:50 a.m. OK GNU C++17 (64) TESTS 40 109 205209600 3100
79980083 memset0c F1 May 13, 2020, 12:41 p.m. OK GNU C++17 (64) TESTS 40 187 104960000 3100
80154258 Benq F1 May 14, 2020, 4:34 p.m. OK GNU C++17 (64) TESTS 40 218 104755200 3100
79912750 PinkieRabbit F1 May 12, 2020, 6:16 p.m. OK GNU C++17 (64) TESTS 40 249 104857600 3100
79892657 nuip F1 May 12, 2020, 3:03 p.m. OK GNU C++17 (64) TESTS 40 280 123084800 3100
79892189 uwi F1 May 12, 2020, 3:02 p.m. OK Java 11 TESTS 40 670 268390400 3100
80023464 Xylenox F1 May 14, 2020, 12:56 a.m. OK Java 8 TESTS 40 1029 268390400 3100

remove filters

Back to search problems