Codeforces Round 940 (Div. 2) and CodeCraft-23

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
1957 Codeforces Round 940 (Div. 2) and CodeCraft-23 FINISHED False 8100 23469863 April 21, 2024, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 4664 ) D A BIT of an Inequality PROGRAMMING bitmasks brute force dp math 1900

B'You are given an array a_1, a_2, ldots, a_n . Find the number of tuples ( x, y, z ) such that: We define f(l, r) = a_l oplus a_{l + 1} oplus ldots oplus a_{r} , where oplus denotes the bitwise XOR operation. The first line contains a single integer t ( 1 <= q t <= q 10^4 ) -- the number of test cases. The first line of each test case contains a single integer n ( 1 <= q n <= q 10^5 ). The second line of each test case contains n integers a_1, a_2, ldots, a_n ( 1 <= q a_i <= q 10^9 ). It is guaranteed that the sum of n over all test cases does not exceed 10^5 . For each test case, output a single integer on a new line -- the number of described tuples. In the first case, there are 4 such tuples in the array [6, 2, 4] : In the second test case, there are no such tuples. '...

Tutorials

Codeforces Round #940 and CodeCraft-23 (Div. 2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
258502084 Alassiess242 D April 28, 2024, 1:11 a.m. OK C++14 (GCC 6-32) TESTS 42 77 0 1900
261265419 Swing1 D May 17, 2024, 1:59 a.m. OK C++14 (GCC 6-32) TESTS 42 77 48947200 1900
261325266 bkifhr9 D May 17, 2024, 12:04 p.m. OK C++14 (GCC 6-32) TESTS 42 93 26521600 1900
260249033 luogu_bot1 D May 10, 2024, 12:18 p.m. OK C++14 (GCC 6-32) TESTS 42 93 26521600 1900
259652360 idegas357 D May 5, 2024, 3:31 p.m. OK C++14 (GCC 6-32) TESTS 42 108 0 1900
258270115 Sorry_Ginger D April 26, 2024, 5:24 p.m. OK C++14 (GCC 6-32) TESTS 42 108 25702400 1900
260246743 luogu_bot1 D May 10, 2024, 11:59 a.m. OK C++14 (GCC 6-32) TESTS 42 108 26521600 1900
261603287 liruixiong0101 D May 19, 2024, 5:42 a.m. OK C++14 (GCC 6-32) TESTS 42 108 49356800 1900
258368368 qwer123e D April 27, 2024, 9:38 a.m. OK C++14 (GCC 6-32) TESTS 42 108 80588800 1900
260007246 Hi_Kou D May 8, 2024, 1:39 p.m. OK C++14 (GCC 6-32) TESTS 42 109 3686400 1900
260942126 liugh D May 14, 2024, 2:37 p.m. OK C++17 (GCC 7-32) TESTS 42 77 14336000 1900
260573971 mohammadyamin D May 11, 2024, 6:31 p.m. OK C++17 (GCC 7-32) TESTS 42 77 14336000 1900
260540428 liugh D May 11, 2024, 1:10 p.m. OK C++17 (GCC 7-32) TESTS 42 77 14336000 1900
259083225 sgfc D May 2, 2024, 5:22 a.m. OK C++17 (GCC 7-32) TESTS 42 78 9625600 1900
259740007 naman2411 D May 6, 2024, 11:23 a.m. OK C++17 (GCC 7-32) TESTS 42 78 13209600 1900
258268579 losttowin D April 26, 2024, 5:12 p.m. OK C++17 (GCC 7-32) TESTS 42 78 14028800 1900
258364862 AbdoSa3d D April 27, 2024, 9:09 a.m. OK C++17 (GCC 7-32) TESTS 42 92 0 1900
261310558 Guslix D May 17, 2024, 10:02 a.m. OK C++17 (GCC 7-32) TESTS 42 92 102400 1900
258239556 peti1234 D April 26, 2024, 1:27 p.m. OK C++17 (GCC 7-32) TESTS 42 92 3276800 1900
263009824 Qiu_yi D May 28, 2024, 12:27 p.m. OK C++17 (GCC 7-32) TESTS 42 92 24883200 1900
259514077 Algor_ D May 4, 2024, 1:28 p.m. OK C++20 (GCC 13-64) TESTS 42 62 0 1900
260630441 Rafi D May 12, 2024, 8:02 a.m. OK C++20 (GCC 13-64) TESTS 42 77 0 1900
260446828 -sam D May 10, 2024, 7:13 p.m. OK C++20 (GCC 13-64) TESTS 42 77 0 1900
258631449 shhy_LFB D April 29, 2024, 2:47 a.m. OK C++20 (GCC 13-64) TESTS 42 77 0 1900
258594159 antgwy D April 28, 2024, 4:39 p.m. OK C++20 (GCC 13-64) TESTS 42 77 0 1900
258358281 mathwing D April 27, 2024, 8:17 a.m. OK C++20 (GCC 13-64) TESTS 42 77 0 1900
258290921 Ali_Sensei D April 26, 2024, 8:57 p.m. OK C++20 (GCC 13-64) TESTS 42 77 0 1900
258217319 AleksandrSinitskiy D April 26, 2024, 11:06 a.m. OK C++20 (GCC 13-64) TESTS 42 77 0 1900
258214818 Ormlis D April 26, 2024, 10:40 a.m. OK C++20 (GCC 13-64) TESTS 42 77 0 1900
261024652 byron10000 D May 15, 2024, 8:39 a.m. OK C++20 (GCC 13-64) TESTS 42 77 409600 1900
261531742 nguyenquocthao00 D May 18, 2024, 12:48 p.m. OK Go TESTS 42 171 101068800 1900
258669269 nguyenquocthao00 D April 29, 2024, 10:39 a.m. OK Go TESTS 42 202 101068800 1900
258215955 koolkartik D April 26, 2024, 10:52 a.m. OK Java 21 TESTS 42 312 716800 1900
258216101 harshparashar D April 26, 2024, 10:54 a.m. OK Java 21 TESTS 42 327 716800 1900
258172614 duyipeng D April 26, 2024, 1:06 a.m. OK Java 21 TESTS 42 358 39424000 1900
263673271 xorfftdp D June 1, 2024, 7:04 p.m. OK Java 21 TESTS 42 687 48230400 1900
258357413 Yash9890 D April 27, 2024, 8:10 a.m. OK Java 21 TESTS 42 1343 262144000 1900
260852443 shilov D May 13, 2024, 8:03 p.m. OK Java 21 TESTS 42 1530 262144000 1900
258219090 codeanand17 D April 26, 2024, 11:24 a.m. OK Java 21 TESTS 42 1609 262246400 1900
258590535 gaju_01 D April 28, 2024, 4:04 p.m. OK Java 21 TESTS 42 1796 262656000 1900
258294427 daksh_02 D April 26, 2024, 9:59 p.m. OK Java 21 TESTS 42 1999 262041600 1900
259345201 Friendly_ShirleyCCD D May 3, 2024, 10:59 a.m. OK Java 8 TESTS 42 796 145100800 1900
258626378 golions D April 29, 2024, 12:39 a.m. OK Java 8 TESTS 42 1858 259993600 1900
258626411 golions D April 29, 2024, 12:40 a.m. OK Java 8 TESTS 42 1905 259993600 1900
258171463 komany231 D April 26, 2024, 12:34 a.m. OK PyPy 3 TESTS 42 405 11264000 1900
262625631 Nikita_Malykh D May 25, 2024, 9:03 p.m. OK PyPy 3-64 TESTS 42 171 12800000 1900
259640520 mikeac D May 5, 2024, 1:44 p.m. OK PyPy 3-64 TESTS 42 171 13721600 1900
258604762 scyyyyyyyyyy D April 28, 2024, 6:22 p.m. OK PyPy 3-64 TESTS 42 171 14950400 1900
259712440 xzxxn13b D May 6, 2024, 6:47 a.m. OK PyPy 3-64 TESTS 42 171 16691200 1900
258293109 tu144x D April 26, 2024, 9:35 p.m. OK PyPy 3-64 TESTS 42 187 14028800 1900
258413116 Prasham D April 27, 2024, 1:49 p.m. OK PyPy 3-64 TESTS 42 233 14643200 1900
258822970 BBQ_God D April 30, 2024, 7:02 a.m. OK PyPy 3-64 TESTS 42 249 33177600 1900
258606578 Warlock_007 D April 28, 2024, 6:42 p.m. OK PyPy 3-64 TESTS 42 250 41062400 1900
260698129 Tesla. D May 12, 2024, 5:38 p.m. OK PyPy 3-64 TESTS 42 296 14643200 1900
258828872 xxh1999 D April 30, 2024, 8:18 a.m. OK PyPy 3-64 TESTS 42 296 49356800 1900
258750915 Roopa_003 D April 29, 2024, 3:59 p.m. OK Python 3 TESTS 42 1062 14028800 1900
260159064 2200033007_KLU D May 9, 2024, 5:29 p.m. OK Python 3 TESTS 42 1109 14028800 1900
258245747 sky_coder_ D April 26, 2024, 2:15 p.m. OK Python 3 TESTS 42 1233 159744000 1900
258292650 Sridhar100 D April 26, 2024, 9:27 p.m. OK Python 3 TESTS 42 1249 14028800 1900
260002131 timiss D May 8, 2024, 12:59 p.m. OK Python 3 TESTS 42 1343 14028800 1900
259617870 kiddoos D May 5, 2024, 10:22 a.m. OK Rust 2021 TESTS 42 327 100864000 1900
260195091 BetterThanNobita D May 10, 2024, 2:46 a.m. OK Rust 2021 TESTS 42 1155 268288000 1900

remove filters

Back to search problems