Educational Codeforces Round 71 (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
1207 Educational Codeforces Round 71 (Rated for Div. 2) FINISHED False 7200 170954687 Aug. 22, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 6092 ) E XOR Guessing PROGRAMMING bitmasks interactive math 1800

B'This is an interactive problem. Remember to flush your output while communicating with the testing program. You may use fflush(stdout) in C++, system.out.flush() in Java, stdout.flush() in Python or flush(output) in Pascal to flush the output. If you use some other programming language, consult its documentation. You may also refer to the guide on interactive problems: https://codeforces.com/blog/entry/45307. The jury picked an integer x not less than 0 and not greater than 2^{14} - 1 . You have to guess this integer. To do so, you may ask no more than 2 queries. Each query should consist of 100 integer numbers a_1 , a_2 , ..., a_{100} (each integer should be not less than 0 and not greater than 2^{14} - 1 ). In response to your query, the jury will pick one integer i ( 1 <= i <= 100 ) and tell you the value of a_i oplus x (the bitwise XOR of a_i and x ). There is an additional constraint on the queries: all 200 integers you use in the queries should be distinct. It is guaranteed that the value of x is fixed beforehand in each test, but the choice of i in every query may depend on the integers you send. To give the answer, your program should print one line ! x with a line break in the end. After that, it should flush the output and terminate gracefully. Before giving the answer, you may submit no more than 2 queries. To ask a query, print one line in the following format: ? a_1 a_2 ... a_{100} , where every a_j should be an integer from the range [0, 2^{14} - 1] . The line should be ended with a line break character. After submitting a query, flush the output and read the answer to your query -- the value of a_i oplus x for some i in [1, 100] . No integer can be used in queries more than once. If you submit an incorrect query (or ask more than 2 queries), the answer to it will be on'...

Tutorials

Educational Codeforces Round 71 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
59319495 nilesh8757 E Aug. 22, 2019, 5:49 p.m. OK Clang++17 Diagnostics TESTS 53 62 4198400 1800
59319661 nilesh8757 E Aug. 22, 2019, 5:52 p.m. OK Clang++17 Diagnostics TESTS 53 62 4198400 1800
59316203 JustAndreyka E Aug. 22, 2019, 4:57 p.m. OK Clang++17 Diagnostics TESTS 53 77 6348800 1800
59368821 ruban E Aug. 23, 2019, 6:13 p.m. OK Delphi TESTS 53 31 70553600 1800
59358480 LaSWeeG E Aug. 23, 2019, 2:22 p.m. OK FPC TESTS 53 31 0 1800
59332111 chenyewei_1234 E Aug. 23, 2019, 1:58 a.m. OK FPC TESTS 53 31 0 1800
59358806 LaSWeeG E Aug. 23, 2019, 2:29 p.m. OK FPC TESTS 53 31 0 1800
59317794 Craspedacusta E Aug. 22, 2019, 5:18 p.m. OK FPC TESTS 53 31 102400 1800
59358625 LaSWeeG E Aug. 23, 2019, 2:25 p.m. OK FPC TESTS 53 46 0 1800
67519728 akash19jain E Dec. 24, 2019, 12:01 p.m. OK GNU C11 TESTS 53 31 0 1800
59547649 thinety E Aug. 26, 2019, 11:43 p.m. OK GNU C11 TESTS 53 31 0 1800
59318721 MYNAMEISSHARIFUL E Aug. 22, 2019, 5:34 p.m. OK GNU C11 TESTS 53 31 0 1800
63106715 MRoy E Oct. 22, 2019, 5:14 a.m. OK GNU C11 TESTS 53 31 0 1800
59438424 a.kaushiksai E Aug. 25, 2019, 9:58 a.m. OK GNU C11 TESTS 53 46 0 1800
59430550 SoGood E Aug. 25, 2019, 6 a.m. OK GNU C++11 TESTS 53 15 102400 1800
65327631 MelonMeow_ylh E Nov. 19, 2019, 3:08 a.m. OK GNU C++11 TESTS 53 15 102400 1800
59357455 Ziyi_Wang1 E Aug. 23, 2019, 2:01 p.m. OK GNU C++11 TESTS 53 15 921600 1800
60078877 rain_w E Sept. 5, 2019, 1:23 p.m. OK GNU C++11 TESTS 53 30 0 1800
59908564 sharpener E Sept. 2, 2019, 4:20 p.m. OK GNU C++11 TESTS 53 30 0 1800
63268024 Byakko E Oct. 24, 2019, 1:54 a.m. OK GNU C++11 TESTS 53 30 0 1800
60162746 luogu_bot5 E Sept. 6, 2019, 9:36 a.m. OK GNU C++11 TESTS 53 30 0 1800
60161445 sunqi666 E Sept. 6, 2019, 9:08 a.m. OK GNU C++11 TESTS 53 30 0 1800
60160750 skyzheng E Sept. 6, 2019, 8:53 a.m. OK GNU C++11 TESTS 53 30 0 1800
67145058 cutekibry E Dec. 18, 2019, 8:29 a.m. OK GNU C++11 TESTS 53 30 0 1800
60668480 MrAledar E Sept. 16, 2019, 9:26 a.m. OK GNU C++14 TESTS 53 15 0 1800
59354480 Azrael142857 E Aug. 23, 2019, 1:02 p.m. OK GNU C++14 TESTS 53 15 0 1800
61565523 doped.silicon E Sept. 30, 2019, 4:57 p.m. OK GNU C++14 TESTS 53 30 0 1800
68635654 vjudge3 E Jan. 12, 2020, 5:41 a.m. OK GNU C++14 TESTS 53 30 0 1800
68573796 vjudge1 E Jan. 11, 2020, 3:56 a.m. OK GNU C++14 TESTS 53 30 0 1800
67952268 arnold518 E Dec. 30, 2019, 8:11 a.m. OK GNU C++14 TESTS 53 30 0 1800
62589790 alurquiza E Oct. 14, 2019, 8:27 p.m. OK GNU C++14 TESTS 53 30 0 1800
62035310 qinggniq E Oct. 7, 2019, 3:27 a.m. OK GNU C++14 TESTS 53 30 0 1800
60511363 zycmx E Sept. 14, 2019, 3:14 a.m. OK GNU C++14 TESTS 53 30 0 1800
60488903 Candy.01 E Sept. 13, 2019, 1:44 p.m. OK GNU C++14 TESTS 53 30 0 1800
59489614 tolisso E Aug. 25, 2019, 6:45 p.m. OK GNU C++17 TESTS 53 15 0 1800
59566653 Imenkey E Aug. 27, 2019, 10:59 a.m. OK GNU C++17 TESTS 53 15 0 1800
60678149 pkaspre E Sept. 16, 2019, 1:07 p.m. OK GNU C++17 TESTS 53 15 0 1800
68143253 Vrikodara E Jan. 4, 2020, 1:37 a.m. OK GNU C++17 TESTS 53 15 0 1800
65249526 Boaba E Nov. 17, 2019, 11:36 a.m. OK GNU C++17 TESTS 53 30 0 1800
69069673 Arman.k E Jan. 18, 2020, 8:44 p.m. OK GNU C++17 TESTS 53 30 0 1800
68143206 Vrikodara E Jan. 4, 2020, 1:33 a.m. OK GNU C++17 TESTS 53 30 0 1800
67634559 zuhn E Dec. 26, 2019, 6:10 a.m. OK GNU C++17 TESTS 53 30 0 1800
66015673 vjudge1 E Nov. 30, 2019, 5:17 a.m. OK GNU C++17 TESTS 53 30 0 1800
65281693 emrey E Nov. 18, 2019, 6:08 a.m. OK GNU C++17 TESTS 53 30 0 1800
59832210 cs_office E Sept. 1, 2019, 12:28 a.m. OK Go TESTS 53 46 0 1800
66657803 bleh0.5 E Dec. 12, 2019, 1:39 a.m. OK Java 11 TESTS 53 187 0 1800
65581262 King8611 E Nov. 23, 2019, 11:06 a.m. OK Java 11 TESTS 53 233 0 1800
65583144 King8611 E Nov. 23, 2019, 11:36 a.m. OK Java 11 TESTS 53 234 0 1800
67181503 jxin31415 E Dec. 18, 2019, 11:52 p.m. OK Java 8 TESTS 53 109 0 1800
59936611 habibulka E Sept. 3, 2019, 9:44 a.m. OK Java 8 TESTS 53 109 0 1800
59381778 avijit_agarwal E Aug. 24, 2019, 3:42 a.m. OK Java 8 TESTS 53 109 0 1800
59374307 PaoloP E Aug. 23, 2019, 8:43 p.m. OK Java 8 TESTS 53 109 0 1800
59322054 varun_31 E Aug. 22, 2019, 6:44 p.m. OK Java 8 TESTS 53 109 0 1800
63675387 Rajkin_Hossain E Oct. 28, 2019, 6:12 p.m. OK Java 8 TESTS 53 124 0 1800
68730157 -f00- E Jan. 13, 2020, 7:41 p.m. OK Java 8 TESTS 53 124 0 1800
67171184 thisbeit E Dec. 18, 2019, 5:21 p.m. OK Java 8 TESTS 53 124 0 1800
63675494 Rajkin_Hossain E Oct. 28, 2019, 6:14 p.m. OK Java 8 TESTS 53 124 0 1800
61773543 Kaiser-san E Oct. 3, 2019, 11 a.m. OK Java 8 TESTS 53 124 0 1800
60081273 rego97 E Sept. 5, 2019, 2:07 p.m. OK Kotlin TESTS 53 140 0 1800
59857004 Spheniscine E Sept. 1, 2019, 1:55 p.m. OK Kotlin TESTS 53 140 0 1800
59341256 Spheniscine E Aug. 23, 2019, 7:38 a.m. OK Kotlin TESTS 53 155 0 1800
59341131 Spheniscine E Aug. 23, 2019, 7:35 a.m. OK Kotlin TESTS 53 155 0 1800
59677765 yakamoto E Aug. 29, 2019, 6:55 p.m. OK Kotlin TESTS 53 156 614400 1800
59371679 sid0adams E Aug. 23, 2019, 7:24 p.m. OK Mono C# TESTS 53 61 0 1800
59384016 og.kostya E Aug. 24, 2019, 5:24 a.m. OK Mono C# TESTS 53 62 0 1800
59421393 Roka E Aug. 24, 2019, 9:24 p.m. OK Mono C# TESTS 53 62 0 1800
59321881 omikad E Aug. 22, 2019, 6:39 p.m. OK Mono C# TESTS 53 62 0 1800
63106961 vjudge2 E Oct. 22, 2019, 5:22 a.m. OK MS C++ TESTS 53 31 0 1800
62409679 vjudge1 E Oct. 12, 2019, 10:03 a.m. OK MS C++ TESTS 53 31 0 1800
59400424 Arcadii E Aug. 24, 2019, 11:54 a.m. OK MS C++ 2017 TESTS 53 31 0 1800
63101767 vjudge2 E Oct. 22, 2019, 1:14 a.m. OK MS C++ 2017 TESTS 53 31 0 1800
61353770 YellowFlashka E Sept. 27, 2019, 9:35 a.m. OK MS C++ 2017 TESTS 53 31 0 1800
60720436 Naumtsev E Sept. 17, 2019, 12:13 p.m. OK MS C++ 2017 TESTS 53 31 0 1800
60711441 pichulia E Sept. 17, 2019, 8:33 a.m. OK MS C++ 2017 TESTS 53 31 0 1800
60495362 pmitkov E Sept. 13, 2019, 4:07 p.m. OK MS C++ 2017 TESTS 53 31 0 1800
59551176 Yanhui E Aug. 27, 2019, 3:06 a.m. OK MS C++ 2017 TESTS 53 31 0 1800
59372068 omerb.zeybek E Aug. 23, 2019, 7:33 p.m. OK MS C++ 2017 TESTS 53 31 0 1800
59365654 euqrry E Aug. 23, 2019, 5:03 p.m. OK MS C++ 2017 TESTS 53 31 0 1800
59357726 AlexandrBusse E Aug. 23, 2019, 2:06 p.m. OK MS C++ 2017 TESTS 53 31 0 1800
59969220 MuhammedAbdalla E Sept. 3, 2019, 11:12 p.m. OK PHP TESTS 53 31 409600 1800
59607396 qq1010903229 E Aug. 28, 2019, 9:27 a.m. OK PHP TESTS 53 31 409600 1800
59384015 martins E Aug. 24, 2019, 5:24 a.m. OK PyPy 2 TESTS 53 124 0 1800
59366985 anshuman16423 E Aug. 23, 2019, 5:34 p.m. OK PyPy 2 TESTS 53 124 0 1800
59318998 sarthakmanna E Aug. 22, 2019, 5:39 p.m. OK PyPy 2 TESTS 53 140 0 1800
59364741 shehebe E Aug. 23, 2019, 4:42 p.m. OK PyPy 2 TESTS 53 155 1228800 1800
59347373 Hwww E Aug. 23, 2019, 10:18 a.m. OK PyPy 3 TESTS 53 140 0 1800
63993380 mbolgov E Nov. 1, 2019, 1:50 p.m. OK PyPy 3 TESTS 53 140 0 1800
60730886 AvinashKartik E Sept. 17, 2019, 3:39 p.m. OK PyPy 3 TESTS 53 140 0 1800
59852842 Felerius E Sept. 1, 2019, 12:18 p.m. OK PyPy 3 TESTS 53 140 0 1800
59652409 Nister E Aug. 29, 2019, 8:50 a.m. OK PyPy 3 TESTS 53 140 0 1800
59603445 Theo_S E Aug. 28, 2019, 7:34 a.m. OK PyPy 3 TESTS 53 140 0 1800
59399866 zrmpaul E Aug. 24, 2019, 11:43 a.m. OK PyPy 3 TESTS 53 140 0 1800
59346936 petya47 E Aug. 23, 2019, 10:06 a.m. OK PyPy 3 TESTS 53 140 0 1800
59342432 Compiled E Aug. 23, 2019, 8:08 a.m. OK PyPy 3 TESTS 53 140 0 1800
59341860 tzxydby E Aug. 23, 2019, 7:53 a.m. OK PyPy 3 TESTS 53 140 0 1800
61608808 heiseinstein E Oct. 1, 2019, 1:30 p.m. OK Python 3 TESTS 53 109 0 1800
59384176 martins E Aug. 24, 2019, 5:29 a.m. OK Python 3 TESTS 53 109 0 1800
65573553 shiv1470 E Nov. 23, 2019, 8:38 a.m. OK Python 3 TESTS 53 124 0 1800
61463495 iamprayush E Sept. 29, 2019, 9:29 a.m. OK Python 3 TESTS 53 124 0 1800
61200134 vjudge3 E Sept. 24, 2019, 7:24 a.m. OK Python 3 TESTS 53 124 0 1800
60281522 hernandex E Sept. 8, 2019, 9:15 p.m. OK Python 3 TESTS 53 124 0 1800
59916868 maslov.alex1580 E Sept. 2, 2019, 7:40 p.m. OK Python 3 TESTS 53 124 0 1800
59606708 qq1010903229 E Aug. 28, 2019, 9:10 a.m. OK Python 3 TESTS 53 124 0 1800
59594023 jacob.brazeal nathantheinventor E Aug. 27, 2019, 11:24 p.m. OK Python 3 TESTS 53 124 0 1800
59560121 hsgser E Aug. 27, 2019, 8:06 a.m. OK Python 3 TESTS 53 124 0 1800
59334107 rinzu E Aug. 23, 2019, 3:24 a.m. OK Ruby TESTS 53 77 102400 1800
61190577 bor.is E Sept. 24, 2019, 2:26 a.m. OK Rust TESTS 53 31 0 1800
59406604 onetwogoo E Aug. 24, 2019, 2:09 p.m. OK Rust TESTS 53 31 0 1800
59398973 Lancern E Aug. 24, 2019, 11:24 a.m. OK Rust TESTS 53 31 0 1800
59370430 ValenKof E Aug. 23, 2019, 6:53 p.m. OK Rust TESTS 53 31 0 1800
59320968 arzk E Aug. 22, 2019, 6:20 p.m. OK Rust TESTS 53 46 0 1800
59320087 sansen E Aug. 22, 2019, 6:02 p.m. OK Rust TESTS 53 46 0 1800
59319667 arzk E Aug. 22, 2019, 5:52 p.m. OK Rust TESTS 53 46 0 1800

remove filters

Back to search problems