Codeforces Round 750 (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
1582 Codeforces Round 750 (Div. 2) FINISHED False 9000 102110063 Oct. 24, 2021, 10:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1877 ) F2 Korney Korneevich and XOR (hard version) PROGRAMMING binary search brute force dp two pointers

B"This is a harder version of the problem with bigger constraints. Korney Korneevich dag up an array a of length n . Korney Korneevich has recently read about the operation bitwise XOR, so he wished to experiment with it. For this purpose, he decided to find all integers x ge 0 such that there exists an increasing subsequence of the array a , in which the bitwise XOR of numbers is equal to x . It didn't take a long time for Korney Korneevich to find all such x , and he wants to check his result. That's why he asked you to solve this problem! A sequence s is a subsequence of a sequence b if s can be obtained from b by deletion of several (possibly, zero or all) elements. A sequence s_1, s_2, ldots , s_m is called increasing if s_1 < s_2 < ldots < s_m . The first line contains a single integer n ( 1 <= n <= 10^6 ). The second line contains n integers a_1, a_2, ldots, a_n ( 0 <= a_i <= 5000 ) -- the elements of the array a . In the first line print a single integer k -- the number of found x values. In the second line print k integers in increasing order x_1, x_2, ldots x_k ( 0 <= x_1 < ldots < x_k ) -- found x values. In the first test case: "...

Tutorials

Codeforces Round #750 (Div.2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
132951127 rainboy F2 Oct. 24, 2021, 5:29 p.m. OK GNU C11 TESTS 101 327 14438400
132970487 Depth_First_Search F2 Oct. 25, 2021, 1:43 a.m. OK GNU C++14 TESTS 103 93 20684800
132970710 jiangxuancheng F2 Oct. 25, 2021, 1:52 a.m. OK GNU C++14 TESTS 103 264 11366400
132959384 limbo16 F2 Oct. 24, 2021, 7:38 p.m. OK GNU C++14 TESTS 101 280 12185600
132949457 Larry0101 F2 Oct. 24, 2021, 5:03 p.m. OK GNU C++14 TESTS 101 295 16384000
132935057 zhaoyunb F2 Oct. 24, 2021, 2:11 p.m. OK GNU C++14 TESTS 101 296 16179200
132971114 BuleVisitor F2 Oct. 25, 2021, 2:05 a.m. OK GNU C++14 TESTS 104 327 12492800
132970734 LYC_music F2 Oct. 25, 2021, 1:53 a.m. OK GNU C++14 TESTS 103 327 25292800
132971189 RGB_ICPC1 F2 Oct. 25, 2021, 2:07 a.m. OK GNU C++14 TESTS 104 343 20172800
132929097 huan_yp F2 Oct. 24, 2021, 1:23 p.m. OK GNU C++14 TESTS 101 358 29593600
132930564 huan_yp F2 Oct. 24, 2021, 1:34 p.m. OK GNU C++14 TESTS 101 358 29593600
132927590 Zztrans F2 Oct. 24, 2021, 1:11 p.m. OK GNU C++17 TESTS 101 233 16179200
132966713 DeadPillow F2 Oct. 24, 2021, 10:48 p.m. OK GNU C++17 TESTS 101 264 12390400
132968599 sharaelong F2 Oct. 25, 2021, 12:32 a.m. OK GNU C++17 TESTS 103 265 12185600
132959748 altynai F2 Oct. 24, 2021, 7:44 p.m. OK GNU C++17 TESTS 101 280 11980800
132928312 Zztrans F2 Oct. 24, 2021, 1:16 p.m. OK GNU C++17 TESTS 101 280 16179200
132950027 BambooWind F2 Oct. 24, 2021, 5:12 p.m. OK GNU C++17 TESTS 101 296 5222400
132968007 wifiiii F2 Oct. 24, 2021, 11:54 p.m. OK GNU C++17 TESTS 102 296 12185600
132972654 RGB_ICPC4 F2 Oct. 25, 2021, 2:50 a.m. OK GNU C++17 TESTS 107 312 16281600
132964036 Jayce_Tang F2 Oct. 24, 2021, 9:15 p.m. OK GNU C++17 TESTS 101 327 1126400
132933609 UndecimDimensionibus F2 Oct. 24, 2021, 1:58 p.m. OK GNU C++17 TESTS 101 327 12288000
132970617 Froggay F2 Oct. 25, 2021, 1:48 a.m. OK GNU C++17 (64) TESTS 103 155 5427200
132970624 froggyzhang F2 Oct. 25, 2021, 1:48 a.m. OK GNU C++17 (64) TESTS 103 171 5427200
132966910 Archer_ F2 Oct. 24, 2021, 10:57 p.m. OK GNU C++17 (64) TESTS 101 186 11980800
132950516 Blondie F2 Oct. 24, 2021, 5:19 p.m. OK GNU C++17 (64) TESTS 101 234 5427200
132934734 WeakestTopology F2 Oct. 24, 2021, 2:08 p.m. OK GNU C++17 (64) TESTS 101 265 83046400
132933011 huangxiaohua F2 Oct. 24, 2021, 1:52 p.m. OK GNU C++17 (64) TESTS 101 296 297574400
132929934 wty2016 F2 Oct. 24, 2021, 1:30 p.m. OK GNU C++17 (64) TESTS 101 311 16179200
132936347 Yuu F2 Oct. 24, 2021, 2:25 p.m. OK GNU C++17 (64) TESTS 101 327 88166400
132927693 yzyyy1x F2 Oct. 24, 2021, 1:12 p.m. OK GNU C++17 (64) TESTS 101 342 12697600
132950603 tupside F2 Oct. 24, 2021, 5:21 p.m. OK GNU C++17 (64) TESTS 101 343 16179200
132932017 paekae F2 Oct. 24, 2021, 1:44 p.m. OK GNU C++20 (64) TESTS 101 186 5836800
132927521 IceKnight1093 F2 Oct. 24, 2021, 1:10 p.m. OK GNU C++20 (64) TESTS 101 234 16486400
132936745 dengyaotriangle F2 Oct. 24, 2021, 2:29 p.m. OK GNU C++20 (64) TESTS 101 249 17100800
132948239 Nero F2 Oct. 24, 2021, 4:46 p.m. OK GNU C++20 (64) TESTS 101 264 12390400
132947961 Nero F2 Oct. 24, 2021, 4:42 p.m. OK GNU C++20 (64) TESTS 101 264 16588800
132930222 BlueDiamond F2 Oct. 24, 2021, 1:32 p.m. OK GNU C++20 (64) TESTS 101 264 16896000
132942964 inksamurai F2 Oct. 24, 2021, 3:37 p.m. OK GNU C++20 (64) TESTS 101 280 88371200
132942069 inksamurai F2 Oct. 24, 2021, 3:26 p.m. OK GNU C++20 (64) TESTS 101 295 88371200
132942237 inksamurai F2 Oct. 24, 2021, 3:28 p.m. OK GNU C++20 (64) TESTS 101 295 88371200
132975832 fizetik F2 Oct. 25, 2021, 4:04 a.m. OK GNU C++20 (64) TESTS 109 296 13107200
132942780 reverenc F2 Oct. 24, 2021, 3:34 p.m. OK Java 11 TESTS 101 1325 141004800
132979805 akshaykhandelwal F2 Oct. 25, 2021, 5:20 a.m. OK PyPy 3 TESTS 109 1201 180838400
132967872 Spheniscine F2 Oct. 24, 2021, 11:48 p.m. OK Rust TESTS 102 295 87756800
132942085 Spheniscine F2 Oct. 24, 2021, 3:26 p.m. OK Rust TESTS 101 576 194457600

remove filters

Back to search problems