Educational Codeforces Round 121 (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
1626 Educational Codeforces Round 121 (Rated for Div. 2) FINISHED False 7200 94836263 Jan. 16, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 744 ) F A Random Code Problem PROGRAMMING combinatorics dp math number theory

B'You are given an integer array a_0, a_1, ... , a_{n - 1} , and an integer k . You perform the following code with it: Your task is to calculate the expected value of the variable ans after performing this code. Note that the input is generated according to special rules (see the input format section). The only line contains six integers n , a_0 , x , y , k and M ( 1 <= n <= 10^7 ; 1 <= a_0, x, y < M <= 998244353 ; 1 <= k <= 17 ). The array a in the input is constructed as follows: Let the expected value of the variable ans after performing the code be E . It can be shown that E cdot n^k is an integer. You have to output this integer modulo 998244353 . The array in the first example test is [10, 35, 22] . In the second example, it is [15363, 1418543] . '...

Tutorials

99136

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
143024200 flowerletter F Jan. 16, 2022, 5:04 p.m. OK GNU C++14 TESTS 9 717 5734400
143018600 FatihSolak F Jan. 16, 2022, 3:42 p.m. OK GNU C++14 TESTS 9 857 45875200
143055395 troqui064 F Jan. 17, 2022, 4:13 a.m. OK GNU C++14 TESTS 9 1310 254156800
143024264 s_o_t_b F Jan. 16, 2022, 5:05 p.m. OK GNU C++14 TESTS 9 1403 288153600
143027829 I_love_Anya_Gorodilova F Jan. 16, 2022, 5:21 p.m. OK GNU C++17 TESTS 9 421 2867200
143053607 wifiiii F Jan. 17, 2022, 3:49 a.m. OK GNU C++17 TESTS 9 436 5734400
143042217 liyh F Jan. 16, 2022, 10:43 p.m. OK GNU C++17 TESTS 9 499 11571200
143042197 liyh F Jan. 16, 2022, 10:43 p.m. OK GNU C++17 TESTS 9 670 11571200
143041936 liyh F Jan. 16, 2022, 10:30 p.m. OK GNU C++17 TESTS 9 686 23142400
143041980 liyh F Jan. 16, 2022, 10:32 p.m. OK GNU C++17 TESTS 9 763 23142400
143042111 liyh F Jan. 16, 2022, 10:39 p.m. OK GNU C++17 TESTS 9 780 23142400
143042126 liyh F Jan. 16, 2022, 10:39 p.m. OK GNU C++17 TESTS 9 811 23142400
143041902 liyh F Jan. 16, 2022, 10:27 p.m. OK GNU C++17 TESTS 9 826 23142400
143051485 potato167 F Jan. 17, 2022, 3:20 a.m. OK GNU C++17 TESTS 9 998 11571200
143047785 xay5421 F Jan. 17, 2022, 2:14 a.m. OK GNU C++17 (64) TESTS 9 234 2867200
143032204 LayCurse F Jan. 16, 2022, 5:55 p.m. OK GNU C++17 (64) TESTS 9 296 47923200
143030606 LayCurse F Jan. 16, 2022, 5:42 p.m. OK GNU C++17 (64) TESTS 9 311 47923200
143021329 neal F Jan. 16, 2022, 4:58 p.m. OK GNU C++17 (64) TESTS 9 311 87040000
143041570 anmichi F Jan. 16, 2022, 10:13 p.m. OK GNU C++17 (64) TESTS 9 311 109772800
143045078 huangxiaohua F Jan. 17, 2022, 12:56 a.m. OK GNU C++17 (64) TESTS 9 312 6451200
143032619 LayCurse F Jan. 16, 2022, 5:59 p.m. OK GNU C++17 (64) TESTS 9 327 7884800
143042312 liyh F Jan. 16, 2022, 10:48 p.m. OK GNU C++17 (64) TESTS 9 327 23142400
143042280 liyh F Jan. 16, 2022, 10:46 p.m. OK GNU C++17 (64) TESTS 9 358 11571200
143032081 FatihSolak F Jan. 16, 2022, 5:54 p.m. OK GNU C++17 (64) TESTS 9 405 45875200
143048356 Cirno_9baka F Jan. 17, 2022, 2:26 a.m. OK GNU C++20 (64) TESTS 9 187 48025600
143048177 Cirno_9baka F Jan. 17, 2022, 2:22 a.m. OK GNU C++20 (64) TESTS 9 202 48025600
143045932 Nea1 F Jan. 17, 2022, 1:27 a.m. OK GNU C++20 (64) TESTS 9 249 2867200
143045494 Nea1 F Jan. 17, 2022, 1:12 a.m. OK GNU C++20 (64) TESTS 9 249 2867200
143045218 HollwoQ_Pelw F Jan. 17, 2022, 1:02 a.m. OK GNU C++20 (64) TESTS 9 265 43008000
143045769 Nea1 F Jan. 17, 2022, 1:22 a.m. OK GNU C++20 (64) TESTS 9 280 2867200
143047986 Cirno_9baka F Jan. 17, 2022, 2:19 a.m. OK GNU C++20 (64) TESTS 9 280 48025600
143045237 huangxiaohua F Jan. 17, 2022, 1:02 a.m. OK GNU C++20 (64) TESTS 9 343 5734400
143029208 Rubikun F Jan. 16, 2022, 5:31 p.m. OK GNU C++20 (64) TESTS 9 343 104243200
143021824 AnandOza F Jan. 16, 2022, 4:59 p.m. OK GNU C++20 (64) TESTS 9 358 5836800
143021478 sansen F Jan. 16, 2022, 4:59 p.m. OK Rust 2021 TESTS 9 342 2867200
143053947 Spheniscine F Jan. 17, 2022, 3:54 a.m. OK Rust 2021 TESTS 9 358 11980800
143051411 Spheniscine F Jan. 17, 2022, 3:19 a.m. OK Rust 2021 TESTS 9 374 11980800
143053684 Spheniscine F Jan. 17, 2022, 3:50 a.m. OK Rust 2021 TESTS 9 436 11980800

remove filters

Back to search problems