Codeforces Round 779 (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
1658 Codeforces Round 779 (Div. 2) FINISHED False 7200 88788263 March 27, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 9261 ) D1 388535 (Easy Version) PROGRAMMING bitmasks data structures math

B'This is the easy version of the problem. The difference in the constraints between both versions is colored below in red. You can make hacks only if all versions of the problem are solved. Marin and Gojou are playing hide-and-seek with an array. Gojou initially performs the following steps: Marin is then given the values of l,r and the final array a . She needs to find the secret integer x to win. Can you help her? Note that there may be multiple possible x that Gojou could have chosen. Marin can find any possible x that could have resulted in the final value of a . The first line contains a single integer t ( 1 <= q t <= q 10^5 ) -- the number of test cases. In the first line of each test case contains two integers l and r ( color{red}{ boldsymbol{0} boldsymbol{=} boldsymbol{l}} <= r < 2^{17} ). The second line contains r - l + 1 integers of a_1,a_2, ldots,a_{r-l+1} ( 0 <= a_i < 2^{17} ). It is guaranteed that a can be generated using the steps performed by Gojou. It is guaranteed that the sum of r - l + 1 over all test cases does not exceed 2^{17} . For each test case print an integer x . If there are multiple answers, print any. In the first test case, the original array is [3, 2, 1, 0] . In the second test case, the original array is [0, 3, 2, 1] . In the third test case, the original array is [2, 1, 0] . '...

Tutorials

Codeforces Round #779 (Div. 2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
151179816 ppsracchriskim D1 March 27, 2022, 7:05 p.m. OK GNU C11 TESTS 13 280 0
151159929 YOK D1 March 27, 2022, 4:21 p.m. OK GNU C11 TESTS 13 280 3993600
151204133 win10 D1 March 28, 2022, 5:05 a.m. OK GNU C++14 TESTS 13 31 33382400
151192644 342zhuyongqi D1 March 28, 2022, 12:21 a.m. OK GNU C++14 TESTS 13 46 0
151171750 illume2021 D1 March 27, 2022, 5:28 p.m. OK GNU C++14 TESTS 13 46 0
151170393 Amazlng D1 March 27, 2022, 5:15 p.m. OK GNU C++14 TESTS 13 46 0
151193570 tuyufeinb D1 March 28, 2022, 12:51 a.m. OK GNU C++14 TESTS 13 46 0
151193594 A_normal_OIer D1 March 28, 2022, 12:51 a.m. OK GNU C++14 TESTS 13 46 512000
151184302 carre D1 March 27, 2022, 8:20 p.m. OK GNU C++14 TESTS 13 46 512000
151204493 Graythron D1 March 28, 2022, 5:11 a.m. OK GNU C++14 TESTS 13 46 512000
151200315 aditya_2020 D1 March 28, 2022, 3:51 a.m. OK GNU C++14 TESTS 13 46 512000
151196261 YKgsmUDq D1 March 28, 2022, 2:13 a.m. OK GNU C++14 TESTS 13 46 819200
151193733 rjl8007 D1 March 28, 2022, 12:56 a.m. OK GNU C++17 TESTS 13 46 0
151180708 AshrafYousry D1 March 27, 2022, 7:17 p.m. OK GNU C++17 TESTS 13 46 0
151168585 Little_Piece D1 March 27, 2022, 5:03 p.m. OK GNU C++17 TESTS 13 46 0
151166821 OctaneC8H18 D1 March 27, 2022, 4:34 p.m. OK GNU C++17 TESTS 13 46 0
151194096 pseong D1 March 28, 2022, 1:07 a.m. OK GNU C++17 TESTS 13 46 0
151197229 Ayanoto D1 March 28, 2022, 2:39 a.m. OK GNU C++17 TESTS 13 46 0
151202992 butani_111 D1 March 28, 2022, 4:44 a.m. OK GNU C++17 TESTS 13 46 512000
151197577 s-hash-exe D1 March 28, 2022, 2:47 a.m. OK GNU C++17 TESTS 13 46 512000
151205312 TheyCallMeKing D1 March 28, 2022, 5:24 a.m. OK GNU C++17 TESTS 13 46 512000
151203501 butani_111 D1 March 28, 2022, 4:53 a.m. OK GNU C++17 TESTS 13 46 512000
151202339 sajin10 D1 March 28, 2022, 4:32 a.m. OK GNU C++17 (64) TESTS 13 31 0
151193265 gqf123 D1 March 28, 2022, 12:42 a.m. OK GNU C++17 (64) TESTS 13 31 512000
151197499 Steins__Gate D1 March 28, 2022, 2:45 a.m. OK GNU C++17 (64) TESTS 13 31 512000
151166777 anbhv D1 March 27, 2022, 4:34 p.m. OK GNU C++17 (64) TESTS 13 31 512000
151160511 JaroslavUrban D1 March 27, 2022, 4:23 p.m. OK GNU C++17 (64) TESTS 13 31 512000
151160587 suzuken_w D1 March 27, 2022, 4:23 p.m. OK GNU C++17 (64) TESTS 13 31 1024000
151170093 yuuuuuuu09 D1 March 27, 2022, 5:13 p.m. OK GNU C++17 (64) TESTS 13 31 1024000
151187268 purushottam_1048 D1 March 27, 2022, 9:24 p.m. OK GNU C++17 (64) TESTS 13 31 1024000
151174025 Rick_GT D1 March 27, 2022, 5:52 p.m. OK GNU C++17 (64) TESTS 13 31 2150400
151159997 propane D1 March 27, 2022, 4:22 p.m. OK GNU C++17 (64) TESTS 13 31 3993600
151177349 20161222 D1 March 27, 2022, 6:30 p.m. OK GNU C++20 (64) TESTS 13 31 0
151175869 NwolzLliwEsirNiaga D1 March 27, 2022, 6:13 p.m. OK GNU C++20 (64) TESTS 13 31 0
151169859 rest_api D1 March 27, 2022, 5:11 p.m. OK GNU C++20 (64) TESTS 13 31 0
151169125 __aansh__ D1 March 27, 2022, 5:06 p.m. OK GNU C++20 (64) TESTS 13 31 0
151168781 __aansh__ D1 March 27, 2022, 5:04 p.m. OK GNU C++20 (64) TESTS 13 31 0
151169893 NO-COMPETITION D1 March 27, 2022, 5:11 p.m. OK GNU C++20 (64) TESTS 13 31 0
151200675 Story1419 D1 March 28, 2022, 3:59 a.m. OK GNU C++20 (64) TESTS 13 31 0
151200331 hghgh D1 March 28, 2022, 3:52 a.m. OK GNU C++20 (64) TESTS 13 31 0
151199908 GSHgsh D1 March 28, 2022, 3:43 a.m. OK GNU C++20 (64) TESTS 13 31 0
151177877 Mutant_23 D1 March 27, 2022, 6:38 p.m. OK GNU C++20 (64) TESTS 13 31 0
151197129 acrafle D1 March 28, 2022, 2:36 a.m. OK Go TESTS 13 280 5222400
151202759 Nicolas125841 D1 March 28, 2022, 4:40 a.m. OK Java 11 TESTS 13 202 0
151171974 SaberXpro D1 March 27, 2022, 5:30 p.m. OK Java 11 TESTS 13 202 0
151187217 LongWalk D1 March 27, 2022, 9:23 p.m. OK Java 11 TESTS 13 218 0
151188351 henrychenOutlook D1 March 27, 2022, 9:53 p.m. OK Java 11 TESTS 13 218 0
151205431 yogii_123 D1 March 28, 2022, 5:26 a.m. OK Java 11 TESTS 13 233 0
151190246 Relief D1 March 27, 2022, 10:55 p.m. OK Java 11 TESTS 13 233 0
151161546 akshatj07 D1 March 27, 2022, 4:25 p.m. OK Java 11 TESTS 13 233 0
151169967 Vaishnavi_Sahu D1 March 27, 2022, 5:12 p.m. OK Java 11 TESTS 13 233 2560000
151186759 mareshkau D1 March 27, 2022, 9:12 p.m. OK Java 11 TESTS 13 249 0
151169393 eshan18.09 D1 March 27, 2022, 5:08 p.m. OK Java 11 TESTS 13 249 0
151180639 VishuTomar D1 March 27, 2022, 7:16 p.m. OK Java 8 TESTS 13 124 0
151180486 VishuTomar D1 March 27, 2022, 7:14 p.m. OK Java 8 TESTS 13 124 0
151165825 ak_ankit D1 March 27, 2022, 4:33 p.m. OK Java 8 TESTS 13 155 0
151181820 sky9313 D1 March 27, 2022, 7:35 p.m. OK Java 8 TESTS 13 171 0
151169528 NoobAk D1 March 27, 2022, 5:09 p.m. OK Java 8 TESTS 13 171 0
151164345 Omar_Mohammad D1 March 27, 2022, 4:31 p.m. OK Java 8 TESTS 13 186 11571200
151166131 MagentaCobra D1 March 27, 2022, 4:34 p.m. OK Java 8 TESTS 13 218 0
151164943 Atuer D1 March 27, 2022, 4:32 p.m. OK Java 8 TESTS 13 342 0
151171029 shorya_goyal D1 March 27, 2022, 5:21 p.m. OK Java 8 TESTS 13 343 0
151158680 roctes7 D1 March 27, 2022, 4:19 p.m. OK Java 8 TESTS 13 467 0
151180228 qsqnk D1 March 27, 2022, 7:11 p.m. OK Kotlin 1.4 TESTS 13 218 5427200
151197897 Andreeeew D1 March 28, 2022, 2:55 a.m. OK MS C++ 2017 TESTS 13 389 614400
151179526 Tangerine D1 March 27, 2022, 7:01 p.m. OK MS C++ 2017 TESTS 13 389 1024000
151170422 fatant D1 March 27, 2022, 5:16 p.m. OK MS C++ 2017 TESTS 13 405 1024000
151162110 afix D1 March 27, 2022, 4:26 p.m. OK MS C++ 2017 TESTS 13 405 1024000
151171814 1_2_3_4_5_9 D1 March 27, 2022, 5:28 p.m. OK PyPy 2 TESTS 13 343 9113600
151169186 acorn11 D1 March 27, 2022, 5:06 p.m. OK PyPy 2 TESTS 13 794 7372800
151170884 ruimina D1 March 27, 2022, 5:20 p.m. OK PyPy 3 TESTS 13 186 9830400
151182422 legend.ary_as D1 March 27, 2022, 7:45 p.m. OK PyPy 3 TESTS 13 249 10547200
151171347 Mansurbek D1 March 27, 2022, 5:24 p.m. OK PyPy 3 TESTS 13 295 10649600
151175022 rafle D1 March 27, 2022, 6:03 p.m. OK PyPy 3 TESTS 13 295 10752000
151178903 titia D1 March 27, 2022, 6:52 p.m. OK PyPy 3 TESTS 13 312 10752000
151169782 sushmanth.dampur8780 D1 March 27, 2022, 5:11 p.m. OK PyPy 3 TESTS 13 326 10752000
151174945 rafle D1 March 27, 2022, 6:02 p.m. OK PyPy 3 TESTS 13 343 12492800
151202814 vadlamani19100 D1 March 28, 2022, 4:41 a.m. OK PyPy 3 TESTS 13 374 10649600
151159011 Vermeil D1 March 27, 2022, 4:19 p.m. OK PyPy 3 TESTS 13 390 10956800
151172198 abhijeet.panihar.cse20 D1 March 27, 2022, 5:32 p.m. OK PyPy 3 TESTS 13 452 16179200
151175401 aayush_chhabra D1 March 27, 2022, 6:07 p.m. OK PyPy 3-64 TESTS 13 171 21196800
151189979 bpdolson D1 March 27, 2022, 10:46 p.m. OK PyPy 3-64 TESTS 13 186 18944000
151174183 hvbird D1 March 27, 2022, 5:54 p.m. OK PyPy 3-64 TESTS 13 186 21299200
151179486 Aksnov D1 March 27, 2022, 7 p.m. OK PyPy 3-64 TESTS 13 202 14950400
151171079 doudin D1 March 27, 2022, 5:21 p.m. OK PyPy 3-64 TESTS 13 202 17408000
151205167 skp_r D1 March 28, 2022, 5:22 a.m. OK PyPy 3-64 TESTS 13 218 19251200
151176519 nitish420 D1 March 27, 2022, 6:20 p.m. OK PyPy 3-64 TESTS 13 218 20275200
151168279 shobonvip D1 March 27, 2022, 5:01 p.m. OK PyPy 3-64 TESTS 13 248 21196800
151174006 hvbird D1 March 27, 2022, 5:52 p.m. OK PyPy 3-64 TESTS 13 249 21299200
151204786 sPARTY D1 March 28, 2022, 5:15 a.m. OK PyPy 3-64 TESTS 13 249 22118400
151198380 bqn D1 March 28, 2022, 3:07 a.m. OK Rust 2021 TESTS 13 546 4198400
151169286 clause D1 March 27, 2022, 5:07 p.m. OK Rust 2021 TESTS 13 560 2150400

remove filters

Back to search problems