Educational Codeforces Round 76 (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
1257 Educational Codeforces Round 76 (Rated for Div. 2) FINISHED False 7200 163783487 Nov. 13, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2092 ) F Make Them Similar PROGRAMMING bitmasks brute force hashing meet-in-the-middle 2400

B"Let's call two numbers similar if their binary representations contain the same number of digits equal to 1 . For example: You are given an array of n integers a_1 , a_2 , ..., a_n . You may choose a non-negative integer x , and then get another array of n integers b_1 , b_2 , ..., b_n , where b_i = a_i oplus x ( oplus denotes bitwise XOR). Is it possible to obtain an array b where all numbers are similar to each other? The first line contains one integer n ( 2 <= n <= 100 ). The second line contains n integers a_1 , a_2 , ..., a_n ( 0 <= a_i <= 2^{30} - 1 ). If it is impossible to choose x so that all elements in the resulting array are similar to each other, print one integer -1 . Otherwise, print any non-negative integer not exceeding 2^{30} - 1 that can be used as x so that all elements in the resulting array are similar. "...

Tutorials

Educational Codeforces Round 76 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
64873927 blaction F Nov. 14, 2019, 9:08 a.m. OK Clang++17 Diagnostics TESTS 100 1513 45875200 2400
64873815 Tom_smith F Nov. 14, 2019, 9:06 a.m. OK Clang++17 Diagnostics TESTS 100 1652 44544000 2400
68016802 fluffyowl F Dec. 31, 2019, 7:10 p.m. OK D TESTS 101 202 54169600 2400
65619491 KMnO4y_Fish F Nov. 24, 2019, 5:41 a.m. OK GNU C++11 TESTS 101 31 0 2400
65414292 WZYYN F Nov. 20, 2019, 6:07 a.m. OK GNU C++11 TESTS 101 46 1433600 2400
65942678 HIT_TOM F Nov. 29, 2019, 7:06 a.m. OK GNU C++11 TESTS 101 62 1433600 2400
64894276 Infinityedge F Nov. 14, 2019, 3:55 p.m. OK GNU C++11 TESTS 100 62 2662400 2400
64879406 28164767TuanAnhND F Nov. 14, 2019, 11:06 a.m. OK GNU C++11 TESTS 100 77 3993600 2400
65706838 ngot23 F Nov. 25, 2019, 12:55 p.m. OK GNU C++11 TESTS 101 93 3993600 2400
64899118 qxforever F Nov. 14, 2019, 6:01 p.m. OK GNU C++11 TESTS 101 93 14540800 2400
64850920 popaj F Nov. 13, 2019, 7:35 p.m. OK GNU C++11 TESTS 100 108 11059200 2400
65744947 rama_pang F Nov. 26, 2019, 11:51 a.m. OK GNU C++11 TESTS 101 108 14950400 2400
65242784 vjudge5 F Nov. 17, 2019, 9:17 a.m. OK GNU C++11 TESTS 101 109 14950400 2400
64839449 heurezjusz F Nov. 13, 2019, 4:27 p.m. OK GNU C++14 TESTS 100 62 1536000 2400
64889740 HIT_MKER F Nov. 14, 2019, 2:18 p.m. OK GNU C++14 TESTS 100 62 1638400 2400
65348873 sher_wu F Nov. 19, 2019, 1:33 p.m. OK GNU C++14 TESTS 101 62 1740800 2400
64871508 yan-zp F Nov. 14, 2019, 8:20 a.m. OK GNU C++14 TESTS 100 77 1638400 2400
64863136 MasterTr F Nov. 14, 2019, 4:32 a.m. OK GNU C++14 TESTS 100 77 15052800 2400
64839243 heurezjusz F Nov. 13, 2019, 4:26 p.m. OK GNU C++14 TESTS 100 78 1536000 2400
64870463 Trung.Ore F Nov. 14, 2019, 7:59 a.m. OK GNU C++14 TESTS 100 93 1638400 2400
64842495 wiwitrifai F Nov. 13, 2019, 4:44 p.m. OK GNU C++14 TESTS 100 93 9420800 2400
65954965 ShubhamAvasthi F Nov. 29, 2019, 12:26 p.m. OK GNU C++14 TESTS 101 93 15052800 2400
64849745 A_Le_K F Nov. 13, 2019, 7:03 p.m. OK GNU C++14 TESTS 100 93 15155200 2400
65263657 RedTea F Nov. 17, 2019, 3:56 p.m. OK GNU C++17 TESTS 101 31 409600 2400
64888162 Yzm007 F Nov. 14, 2019, 1:48 p.m. OK GNU C++17 TESTS 100 46 1638400 2400
65165561 MZTR1999 F Nov. 16, 2019, 1:08 p.m. OK GNU C++17 TESTS 101 61 1433600 2400
64880443 Yzm007 F Nov. 14, 2019, 11:27 a.m. OK GNU C++17 TESTS 100 62 1536000 2400
65564699 KKJYOvO F Nov. 23, 2019, 5:18 a.m. OK GNU C++17 TESTS 101 62 2969600 2400
65716954 iaNTU F Nov. 25, 2019, 5:03 p.m. OK GNU C++17 TESTS 101 62 5836800 2400
64869182 yuma_ F Nov. 14, 2019, 7:32 a.m. OK GNU C++17 TESTS 100 77 15052800 2400
64886780 ulna F Nov. 14, 2019, 1:22 p.m. OK GNU C++17 TESTS 100 78 2355200 2400
64873924 Tom_smith F Nov. 14, 2019, 9:08 a.m. OK GNU C++17 TESTS 100 78 5836800 2400
64868198 Tom_smith F Nov. 14, 2019, 7:11 a.m. OK GNU C++17 TESTS 100 78 5836800 2400
65297018 luogu_bot3 F Nov. 18, 2019, 11:54 a.m. OK Go TESTS 101 1700 23142400 2400
65294910 synapse F Nov. 18, 2019, 11:06 a.m. OK Go TESTS 101 1715 23244800 2400
65294855 synapse F Nov. 18, 2019, 11:05 a.m. OK Go TESTS 101 1746 23142400 2400
64847318 Dukkha F Nov. 13, 2019, 6:03 p.m. OK Java 11 TESTS 100 608 1126400 2400
65028875 Kharouba F Nov. 15, 2019, 8:59 a.m. OK Java 11 TESTS 101 732 19558400 2400
65026967 Kharouba F Nov. 15, 2019, 8:10 a.m. OK Java 11 TESTS 101 857 19558400 2400
69472819 ngfam F Jan. 24, 2020, 3:07 p.m. OK Java 11 TESTS 101 982 17305600 2400
65442727 IslamTalipovTop F Nov. 20, 2019, 2:52 p.m. OK Java 11 TESTS 101 1808 19558400 2400
65326549 gamesterrex F Nov. 19, 2019, 2:01 a.m. OK Java 8 TESTS 101 202 0 2400
64863271 mikit F Nov. 14, 2019, 4:37 a.m. OK Java 8 TESTS 100 202 0 2400
65030046 dalt F Nov. 15, 2019, 9:28 a.m. OK Java 8 TESTS 101 218 48537600 2400
68339525 NinjaDoggy F Jan. 7, 2020, 2:08 a.m. OK Java 8 TESTS 101 358 18534400 2400
64852126 BaZ_ F Nov. 13, 2019, 8:10 p.m. OK Java 8 TESTS 100 404 15872000 2400
65341840 chojh1222 F Nov. 19, 2019, 11:13 a.m. OK Java 8 TESTS 101 467 35123200 2400
64847907 phantom11 F Nov. 13, 2019, 6:16 p.m. OK Java 8 TESTS 100 498 15564800 2400
65342216 chojh1222 F Nov. 19, 2019, 11:21 a.m. OK Java 8 TESTS 101 686 35123200 2400
64860849 martins F Nov. 14, 2019, 3:02 a.m. OK Java 8 TESTS 100 779 21094400 2400
64900925 Nutella3000 F Nov. 14, 2019, 6:52 p.m. OK Java 8 TESTS 101 795 19046400 2400
64855525 Tlatoani F Nov. 13, 2019, 10:29 p.m. OK Kotlin TESTS 100 218 20275200 2400
65326990 Spheniscine F Nov. 19, 2019, 2:34 a.m. OK Kotlin TESTS 101 249 19353600 2400
65282001 shenqi16 F Nov. 18, 2019, 6:21 a.m. OK Kotlin TESTS 101 249 19353600 2400
65331378 Spheniscine F Nov. 19, 2019, 6:22 a.m. OK Kotlin TESTS 101 249 19456000 2400
65328211 Spheniscine F Nov. 19, 2019, 3:40 a.m. OK Kotlin TESTS 101 249 19456000 2400
64909402 Spheniscine F Nov. 15, 2019, 1:51 a.m. OK Kotlin TESTS 101 249 19456000 2400
66251762 Spheniscine F Dec. 4, 2019, 2:36 a.m. OK Kotlin TESTS 101 264 19456000 2400
64867738 Spheniscine F Nov. 14, 2019, 6:59 a.m. OK Kotlin TESTS 100 264 21708800 2400
64907999 Spheniscine F Nov. 15, 2019, 12:19 a.m. OK Kotlin TESTS 101 265 19456000 2400
65329371 Spheniscine F Nov. 19, 2019, 4:48 a.m. OK Kotlin TESTS 101 295 19456000 2400
65398239 tycyd F Nov. 19, 2019, 8:10 p.m. OK Mono C# TESTS 101 2106 464281600 2400
64873765 r57shell F Nov. 14, 2019, 9:05 a.m. OK MS C++ TESTS 100 280 1536000 2400
64873776 Tom_smith F Nov. 14, 2019, 9:05 a.m. OK MS C++ 2017 TESTS 100 109 5939200 2400
65344686 Ketovdk F Nov. 19, 2019, 12:10 p.m. OK MS C++ 2017 TESTS 101 187 1740800 2400
64873916 blaction F Nov. 14, 2019, 9:08 a.m. OK MS C++ 2017 TESTS 100 234 5939200 2400
65519093 wp32pw F Nov. 22, 2019, 7:26 a.m. OK MS C++ 2017 TESTS 101 264 29491200 2400
64845323 AleksanderBalobanov F Nov. 13, 2019, 5:24 p.m. OK MS C++ 2017 TESTS 100 311 16384000 2400
64899773 goodhope F Nov. 14, 2019, 6:20 p.m. OK MS C++ 2017 TESTS 101 670 15257600 2400
64844556 AleksanderBalobanov F Nov. 13, 2019, 5:11 p.m. OK MS C++ 2017 TESTS 100 1138 60313600 2400
65801663 Ffemgc F Nov. 27, 2019, 7:44 a.m. OK MS C++ 2017 TESTS 101 2573 565657600 2400
66295096 macleChen F Dec. 5, 2019, 3:32 a.m. OK PyPy 3 TESTS 101 2916 595046400 2400
68124736 tamato F Jan. 3, 2020, 2:43 p.m. OK PyPy 3 TESTS 101 3244 167526400 2400
65232992 oof_ouch_owie F Nov. 17, 2019, 6 a.m. OK PyPy 3 TESTS 101 3587 78233600 2400
65545735 milosz F Nov. 22, 2019, 5:05 p.m. OK PyPy 3 TESTS 101 3962 135372800 2400
65697179 davidwang F Nov. 25, 2019, 8:53 a.m. OK Rust TESTS 101 140 15257600 2400
64856674 sansen F Nov. 13, 2019, 11:41 p.m. OK Rust TESTS 100 389 8908800 2400
64843221 sansen F Nov. 13, 2019, 4:52 p.m. OK Rust TESTS 100 904 12390400 2400

remove filters

Back to search problems