Educational Codeforces Round 141 (Rated for Div. 2)

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
1783 Educational Codeforces Round 141 (Rated for Div. 2) FINISHED False 7200 63991463 Jan. 8, 2023, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 4591 ) D Different Arrays PROGRAMMING brute force dp

B'You are given an array a consisting of n integers. You have to perform the sequence of n-2 operations on this array: So, during the i -th operation, you add the value of a_{i+1} to one of its neighbors, and subtract it from the other neighbor. For example, if you have the array [1, 2, 3, 4, 5] , one of the possible sequences of operations is: So, the resulting array is [3, 1, -4, 5, 10] . An array is reachable if it can be obtained by performing the aforementioned sequence of operations on a . You have to calculate the number of reachable arrays, and print it modulo 998244353 . The first line contains one integer n ( 3 <= n <= 300 ). The second line contains n integers a_1, a_2, ... , a_n ( 0 <= a_i <= 300 ). Print one integer -- the number of reachable arrays. Since the answer can be very large, print its remainder modulo 998244353 . '...

Tutorials

Educational Codeforces Round 141 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
188524403 ruban D Jan. 8, 2023, 8:50 p.m. OK Delphi TESTS 38 1528 37068800
188524548 ruban D Jan. 8, 2023, 8:53 p.m. OK FPC TESTS 38 545 37068800
188524430 ruban D Jan. 8, 2023, 8:51 p.m. OK FPC TESTS 38 1263 37068800
188520610 Moka50 D Jan. 8, 2023, 7:41 p.m. OK GNU C11 TESTS 38 327 2867200
188541616 recollector D Jan. 9, 2023, 4:43 a.m. OK GNU C++14 TESTS 38 77 1740800
188504742 Angelus_Novus D Jan. 8, 2023, 4:59 p.m. OK GNU C++14 TESTS 38 78 1536000
188506320 0wuming0 D Jan. 8, 2023, 5:10 p.m. OK GNU C++14 TESTS 38 93 1638400
188541921 recollector D Jan. 9, 2023, 4:49 a.m. OK GNU C++14 TESTS 39 93 1740800
188510875 fried-chicken D Jan. 8, 2023, 5:48 p.m. OK GNU C++14 TESTS 38 109 1638400
188501477 MaddyBeltran D Jan. 8, 2023, 4:40 p.m. OK GNU C++14 TESTS 38 156 2867200
188502571 SuperJ6 D Jan. 8, 2023, 4:46 p.m. OK GNU C++14 TESTS 38 156 2867200
188538855 513487012 D Jan. 9, 2023, 3:55 a.m. OK GNU C++14 TESTS 38 156 284262400
188531698 ftuknights D Jan. 9, 2023, 12:58 a.m. OK GNU C++14 TESTS 38 171 1024000
188534969 rlc202204 D Jan. 9, 2023, 2:32 a.m. OK GNU C++14 TESTS 38 187 1433600
188498830 zlc1114 D Jan. 8, 2023, 4:33 p.m. OK GNU C++17 TESTS 38 31 12083200
188531838 Jlyfish D Jan. 9, 2023, 1:04 a.m. OK GNU C++17 TESTS 38 46 1024000
188517859 Joshuazheng D Jan. 8, 2023, 7:01 p.m. OK GNU C++17 TESTS 38 46 1536000
188532273 zja601 D Jan. 9, 2023, 1:20 a.m. OK GNU C++17 TESTS 38 62 1024000
188507063 BlankYang D Jan. 8, 2023, 5:16 p.m. OK GNU C++17 TESTS 38 62 1024000
188537016 binglengmo D Jan. 9, 2023, 3:17 a.m. OK GNU C++17 TESTS 38 62 1024000
188502645 dreami63 D Jan. 8, 2023, 4:46 p.m. OK GNU C++17 TESTS 38 62 1433600
188523200 dalgu D Jan. 8, 2023, 8:26 p.m. OK GNU C++17 TESTS 38 62 1433600
188522889 democoffee D Jan. 8, 2023, 8:20 p.m. OK GNU C++17 TESTS 38 78 1433600
188535309 kevco D Jan. 9, 2023, 2:39 a.m. OK GNU C++17 TESTS 38 109 1433600
188534346 luanmenglei D Jan. 9, 2023, 2:17 a.m. OK GNU C++17 (64) TESTS 38 62 2048000
188535212 Cxny D Jan. 9, 2023, 2:37 a.m. OK GNU C++17 (64) TESTS 38 78 1536000
188545710 Cxny D Jan. 9, 2023, 5:48 a.m. OK GNU C++17 (64) TESTS 41 93 1536000
188515287 lukameladze1 D Jan. 8, 2023, 6:30 p.m. OK GNU C++17 (64) TESTS 38 108 96153600
188494875 Wielomian D Jan. 8, 2023, 4:25 p.m. OK GNU C++17 (64) TESTS 38 109 2048000
188512646 Be11T_ D Jan. 8, 2023, 6:04 p.m. OK GNU C++17 (64) TESTS 38 124 1433600
188533456 JoesSR D Jan. 9, 2023, 1:54 a.m. OK GNU C++17 (64) TESTS 38 124 1433600
188532295 tcmmichaelb139 D Jan. 9, 2023, 1:21 a.m. OK GNU C++17 (64) TESTS 38 124 2048000
188497150 ciuim D Jan. 8, 2023, 4:30 p.m. OK GNU C++17 (64) TESTS 38 124 482611200
188504855 hehepig D Jan. 8, 2023, 4:59 p.m. OK GNU C++17 (64) TESTS 38 140 3174400
188501404 kwm_t D Jan. 8, 2023, 4:40 p.m. OK GNU C++20 (64) TESTS 38 46 716800
188529609 Ckcyi D Jan. 8, 2023, 11:32 p.m. OK GNU C++20 (64) TESTS 38 62 1024000
188539989 Kaitoukid D Jan. 9, 2023, 4:15 a.m. OK GNU C++20 (64) TESTS 38 77 1024000
188541539 bigJ D Jan. 9, 2023, 4:42 a.m. OK GNU C++20 (64) TESTS 38 78 1024000
188503056 Kirkon D Jan. 8, 2023, 4:48 p.m. OK GNU C++20 (64) TESTS 38 78 1024000
188529816 becaido D Jan. 8, 2023, 11:40 p.m. OK GNU C++20 (64) TESTS 38 78 1536000
188500766 Folka D Jan. 8, 2023, 4:37 p.m. OK GNU C++20 (64) TESTS 38 92 224256000
188536190 Krystallos D Jan. 9, 2023, 2:59 a.m. OK GNU C++20 (64) TESTS 38 92 227430400
188536241 showhuta D Jan. 9, 2023, 3 a.m. OK GNU C++20 (64) TESTS 38 93 1024000
188543501 Gats D Jan. 9, 2023, 5:14 a.m. OK GNU C++20 (64) TESTS 40 93 1433600
188542901 dzhi D Jan. 9, 2023, 5:05 a.m. OK Java 11 TESTS 39 545 248627200
188507709 sad_truant D Jan. 8, 2023, 5:21 p.m. OK Java 11 TESTS 38 561 252825600
188508158 profchi D Jan. 8, 2023, 5:25 p.m. OK Java 11 TESTS 38 1278 253337600
188513540 regain0001 D Jan. 8, 2023, 6:13 p.m. OK Java 17 TESTS 38 623 1331200
188505434 Restricted D Jan. 8, 2023, 5:03 p.m. OK Java 17 TESTS 38 717 614400
188540478 Eslam_Ahmed D Jan. 9, 2023, 4:23 a.m. OK Java 17 TESTS 38 1170 531456000
188540397 Eslam_Ahmed D Jan. 9, 2023, 4:22 a.m. OK Java 17 TESTS 38 1185 531558400
188507204 megaspazz D Jan. 8, 2023, 5:17 p.m. OK Java 8 TESTS 38 498 0
188508269 megaspazz D Jan. 8, 2023, 5:26 p.m. OK Java 8 TESTS 38 514 0
188508317 megaspazz D Jan. 8, 2023, 5:26 p.m. OK Java 8 TESTS 38 1216 0
188508670 megaspazz D Jan. 8, 2023, 5:29 p.m. OK Java 8 TESTS 38 1232 0
188516916 invincible777 D Jan. 8, 2023, 6:49 p.m. OK Java 8 TESTS 38 1247 492953600
188507257 ktropin D Jan. 8, 2023, 5:17 p.m. OK Mono C# TESTS 38 405 10649600
188495575 Alexey D Jan. 8, 2023, 4:27 p.m. OK MS C++ 2017 TESTS 38 171 1433600
188501628 timusmanovs D Jan. 8, 2023, 4:41 p.m. OK MS C++ 2017 TESTS 38 404 1433600
188501063 gavvah D Jan. 8, 2023, 4:38 p.m. OK MS C++ 2017 TESTS 38 608 2867200
188522843 fatant D Jan. 8, 2023, 8:19 p.m. OK MS C++ 2017 TESTS 38 1216 2867200
188508738 yihuicui D Jan. 8, 2023, 5:30 p.m. OK PyPy 2 TESTS 38 436 9728000
188496851 hxu10 D Jan. 8, 2023, 4:29 p.m. OK PyPy 3 TESTS 38 577 15462400
188541806 hxu10 D Jan. 9, 2023, 4:47 a.m. OK PyPy 3 TESTS 39 686 15462400
188543216 Vassu05 D Jan. 9, 2023, 5:10 a.m. OK PyPy 3 TESTS 39 1450 25497600
188529909 beethoven97 D Jan. 8, 2023, 11:43 p.m. OK PyPy 3-64 TESTS 38 311 5017600
188526294 onemoreq D Jan. 8, 2023, 9:36 p.m. OK PyPy 3-64 TESTS 38 327 13926400
188530054 beethoven97 D Jan. 8, 2023, 11:49 p.m. OK PyPy 3-64 TESTS 38 389 5017600
188529757 beethoven97 D Jan. 8, 2023, 11:38 p.m. OK PyPy 3-64 TESTS 38 421 6348800
188510466 CinaDor D Jan. 8, 2023, 5:45 p.m. OK PyPy 3-64 TESTS 38 452 16281600
188498406 xxh1999 D Jan. 8, 2023, 4:32 p.m. OK PyPy 3-64 TESTS 38 482 15564800
188505479 flygon D Jan. 8, 2023, 5:04 p.m. OK PyPy 3-64 TESTS 38 514 17817600
188521514 _tb D Jan. 8, 2023, 7:55 p.m. OK PyPy 3-64 TESTS 38 592 9932800
188499869 Sort D Jan. 8, 2023, 4:34 p.m. OK PyPy 3-64 TESTS 38 607 437657600
188531378 yupooh D Jan. 9, 2023, 12:46 a.m. OK PyPy 3-64 TESTS 38 638 17817600
188520561 liut D Jan. 8, 2023, 7:41 p.m. OK Rust 2021 TESTS 38 826 7987200

remove filters

Back to search problems