Educational Codeforces Round 148 (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
1832 Educational Codeforces Round 148 (Rated for Div. 2) FINISHED False 7200 53277863 May 12, 2023, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2243 ) E Combinatorics Problem PROGRAMMING brute force combinatorics dp 2200

B'Recall that the binomial coefficient binom{x}{y} is calculated as follows ( x and y are non-negative integers): You are given an array a_1, a_2, ... , a_n and an integer k . You have to calculate a new array b_1, b_2, ... , b_n , where Formally, b_i = ( sum limits_{j=1}^{i} binom{i - j + 1}{k} cdot a_j) bmod 998244353 . Note that the array is given in a modified way, and you have to output it in a modified way as well. The only line of the input contains six integers n , a_1 , x , y , m and k ( 1 <= n <= 10^7 ; 0 <= a_1, x, y < m ; 2 <= m <= 998244353 ; 1 <= k <= 5 ). The array [a_1, a_2, ... , a_n] is generated as follows: Since outputting up to 10^7 integers might be too slow, you have to do the following: Let c_i = b_i cdot i (without taking modulo 998244353 after the multiplication). Print the integer c_1 oplus c_2 oplus ... oplus c_n , where oplus denotes the bitwise XOR operator. '...

Tutorials

116454

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
206184397 tahtarovserver E May 17, 2023, 8:16 a.m. OK C# 8 TESTS 21 2885 903372800 2200
206427585 BALA_GOWTHAM E May 19, 2023, 9:24 a.m. OK Clang++17 Diagnostics TESTS 21 3744 0 2200
206319000 Lasya24 E May 18, 2023, 9:17 a.m. OK GNU C++14 TESTS 21 171 40038400 2200
206221658 luogu_bot2 E May 17, 2023, 2:17 p.m. OK GNU C++14 TESTS 21 186 40038400 2200
206146089 Uma_Aitham E May 16, 2023, 6:34 p.m. OK GNU C++14 TESTS 21 234 0 2200
205902921 sridharsiddi E May 14, 2023, 4:52 p.m. OK GNU C++14 TESTS 21 234 0 2200
206302701 Lyccrius E May 18, 2023, 6:14 a.m. OK GNU C++14 TESTS 21 311 160358400 2200
206035891 timmyfeng E May 16, 2023, 12:16 a.m. OK GNU C++14 TESTS 21 389 40038400 2200
205975960 Smallbasic E May 15, 2023, 11:48 a.m. OK GNU C++14 TESTS 21 436 80179200 2200
206302876 LinRui E May 18, 2023, 6:17 a.m. OK GNU C++14 TESTS 21 452 88166400 2200
205809664 luogu_bot4 E May 14, 2023, 8:57 a.m. OK GNU C++14 TESTS 21 467 280576000 2200
205776256 OccDreamer E May 14, 2023, 2:10 a.m. OK GNU C++14 TESTS 21 483 280576000 2200
205904202 aymanriadsolh E May 14, 2023, 5:16 p.m. OK GNU C++17 TESTS 21 156 0 2200
206305560 klu2000031511 E May 18, 2023, 6:50 a.m. OK GNU C++17 TESTS 21 171 40038400 2200
206295846 2000030919 E May 18, 2023, 4:22 a.m. OK GNU C++17 TESTS 21 171 40038400 2200
206030730 Ded_Sandal gelisha E May 15, 2023, 9:22 p.m. OK GNU C++17 TESTS 21 187 40038400 2200
205941056 sasisushma E May 15, 2023, 4:44 a.m. OK GNU C++17 TESTS 21 187 40038400 2200
205903378 prafull_08 E May 14, 2023, 5:02 p.m. OK GNU C++17 TESTS 21 187 40038400 2200
205943315 2000030309_geethika E May 15, 2023, 5:20 a.m. OK GNU C++17 TESTS 21 234 0 2200
206302779 2100030662.cseh E May 18, 2023, 6:16 a.m. OK GNU C++17 TESTS 21 249 0 2200
205771257 saritesh E May 13, 2023, 10:57 p.m. OK GNU C++17 TESTS 21 390 120012800 2200
206386169 ikaurov E May 18, 2023, 8:44 p.m. OK GNU C++17 TESTS 21 405 280576000 2200
205998681 Cxny E May 15, 2023, 2:49 p.m. OK GNU C++17 (64) TESTS 21 140 0 2200
205930602 xiaoziyao E May 15, 2023, 12:41 a.m. OK GNU C++17 (64) TESTS 21 171 0 2200
206169986 V.L.Manaswini E May 17, 2023, 4:16 a.m. OK GNU C++17 (64) TESTS 21 171 40038400 2200
206326496 1205691775 E May 18, 2023, 10:34 a.m. OK GNU C++17 (64) TESTS 21 390 40038400 2200
206287657 wythend E May 18, 2023, 1 a.m. OK GNU C++17 (64) TESTS 21 405 40038400 2200
206497440 cjnwq E May 19, 2023, 3:19 p.m. OK GNU C++17 (64) TESTS 21 420 160358400 2200
206455012 cjnwq E May 19, 2023, 2:04 p.m. OK GNU C++17 (64) TESTS 21 420 160358400 2200
205992068 Mostafa_Moharram E May 15, 2023, 1:48 p.m. OK GNU C++17 (64) TESTS 21 421 40038400 2200
206298909 gqf123 E May 18, 2023, 5:17 a.m. OK GNU C++17 (64) TESTS 21 436 80179200 2200
205950310 thisIsMorningstar E May 15, 2023, 7:04 a.m. OK GNU C++17 (64) TESTS 21 436 160358400 2200
206317422 ftiasch E May 18, 2023, 9:01 a.m. OK GNU C++20 (64) TESTS 21 140 0 2200
206317392 ftiasch E May 18, 2023, 9:01 a.m. OK GNU C++20 (64) TESTS 21 140 0 2200
206093366 RadicaI E May 16, 2023, 1:30 p.m. OK GNU C++20 (64) TESTS 21 156 0 2200
205829451 Asuna12138666 E May 14, 2023, 12:07 p.m. OK GNU C++20 (64) TESTS 21 156 0 2200
205905886 bachbeo2007 E May 14, 2023, 5:35 p.m. OK GNU C++20 (64) TESTS 21 171 0 2200
205769004 milind0110 E May 13, 2023, 9:53 p.m. OK GNU C++20 (64) TESTS 21 171 204800 2200
206386886 AnhQuoc2903 E May 18, 2023, 8:57 p.m. OK GNU C++20 (64) TESTS 21 171 40038400 2200
206254041 lalith_6055 E May 17, 2023, 5:08 p.m. OK GNU C++20 (64) TESTS 21 171 40038400 2200
206154022 iliya7 E May 16, 2023, 8:27 p.m. OK GNU C++20 (64) TESTS 21 171 40038400 2200
206001622 MSMShyngys E May 15, 2023, 3:17 p.m. OK GNU C++20 (64) TESTS 21 171 40038400 2200
206195358 liangjiahui11 E May 17, 2023, 10:12 a.m. OK Go TESTS 21 483 83148800 2200
206053076 rajashish914 E May 16, 2023, 6:26 a.m. OK Java 17 TESTS 21 1622 253235200 2200
205999470 TCchen E May 15, 2023, 2:56 p.m. OK Java 17 TESTS 21 1653 2252800 2200
206068462 2000030996-akanksha E May 16, 2023, 9:32 a.m. OK PyPy 3-64 TESTS 21 405 2048000 2200
205952309 Little_Sheep_Yawn E May 15, 2023, 7:28 a.m. OK PyPy 3-64 TESTS 21 436 2048000 2200
205769565 Remineva E May 13, 2023, 10:06 p.m. OK PyPy 3-64 TESTS 21 468 82329600 2200
206378166 manavspg2 E May 18, 2023, 6:46 p.m. OK PyPy 3-64 TESTS 21 498 162304000 2200
206411770 dyppp E May 19, 2023, 6:39 a.m. OK PyPy 3-64 TESTS 21 686 3174400 2200
206336513 LYmiracle E May 18, 2023, 12:04 p.m. OK PyPy 3-64 TESTS 21 2964 499609600 2200
205942466 Karthik1106 E May 15, 2023, 5:07 a.m. OK PyPy 3-64 TESTS 21 2979 472166400 2200
206442359 2100030666.cseh E May 19, 2023, 11:58 a.m. OK PyPy 3-64 TESTS 21 3041 472064000 2200
206317524 2000031264 E May 18, 2023, 9:02 a.m. OK PyPy 3-64 TESTS 21 3260 472064000 2200
206315253 soudhamini_2000031088 E May 18, 2023, 8:40 a.m. OK PyPy 3-64 TESTS 21 3260 472064000 2200
205995261 Spheniscine E May 15, 2023, 2:18 p.m. OK Rust 2021 TESTS 21 139 102400 2200
205991324 Spheniscine E May 15, 2023, 1:40 p.m. OK Rust 2021 TESTS 21 140 102400 2200

remove filters

Back to search problems