Educational Codeforces Round 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
817 Educational Codeforces Round 23 FINISHED False 8100 239986523 June 15, 2017, 3:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2679 ) F MEX Queries PROGRAMMING binary search data structures trees 2400

B'You are given a set of integer numbers, initially it is empty. You should perform n queries. There are three different types of queries: After each query you should output MEX of the set -- the smallest positive (MEX xe2 x80 x89 xe2 x89 xa5 xe2 x80 x891) integer number which is not presented in the set. The first line contains one integer number n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105). Next n lines contain three integer numbers t, xe2 x80 x89l, xe2 x80 x89r (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89t xe2 x80 x89 xe2 x89 xa4 xe2 x80 x893, xe2 x80 x891 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89l xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89r xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891018) -- type of the query, left and right bounds. Print MEX of the set after each query. Here are contents of the set after each query in the first example: '...

Tutorials

52638

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
59924417 vjudge1 F Sept. 3, 2019, 2:38 a.m. OK Clang++17 Diagnostics TESTS 25 1590 73728000 2400
27835718 AkaneSasu F June 17, 2017, 1:22 a.m. OK GNU C++ TESTS 25 171 15872000 2400
27835696 King_of_Paladins F June 17, 2017, 1:20 a.m. OK GNU C++ TESTS 25 171 15872000 2400
40654028 remoon F July 23, 2018, 2:14 a.m. OK GNU C++ TESTS 25 187 43929600 2400
28896651 gjghfd F July 26, 2017, 7:11 a.m. OK GNU C++ TESTS 25 187 153292800 2400
27804073 cyand1317 F June 15, 2017, 4:28 p.m. OK GNU C++ TESTS 25 202 16384000 2400
28424357 DFPMTS F July 11, 2017, 10:17 a.m. OK GNU C++ TESTS 25 202 30208000 2400
40234917 luogu_bot1 F July 12, 2018, 2:13 p.m. OK GNU C++ TESTS 25 202 30515200 2400
36405777 luogu_bot4 F March 19, 2018, 8:37 a.m. OK GNU C++ TESTS 25 202 34304000 2400
27820016 Zrj F June 16, 2017, 8:08 a.m. OK GNU C++ TESTS 25 217 8806400 2400
27836768 mxh1999 F June 17, 2017, 3:09 a.m. OK GNU C++ TESTS 25 217 16076800 2400
47849636 rainboy F Jan. 2, 2019, 4:53 p.m. OK GNU C11 TESTS 25 529 7884800 2400
27833455 MrDindows F June 16, 2017, 9:13 p.m. OK GNU C++11 TESTS 25 124 4096000 2400
27833416 MrDindows F June 16, 2017, 9:09 p.m. OK GNU C++11 TESTS 25 124 5632000 2400
40980709 ReaLNero1 F July 30, 2018, 5:39 p.m. OK GNU C++11 TESTS 25 124 5632000 2400
27833492 MrDindows F June 16, 2017, 9:16 p.m. OK GNU C++11 TESTS 25 139 4096000 2400
44916680 Re_xy F Oct. 26, 2018, 3:50 p.m. OK GNU C++11 TESTS 25 140 4812800 2400
45196457 luogu_bot1 F Nov. 2, 2018, 7:20 a.m. OK GNU C++11 TESTS 25 140 4812800 2400
69162431 TheManWithoutHighSchool F Jan. 20, 2020, 1:13 a.m. OK GNU C++11 TESTS 25 140 4915200 2400
57133514 Setsugesuka F July 16, 2019, 8:02 a.m. OK GNU C++11 TESTS 25 140 5017600 2400
45027725 Juan_feng F Oct. 28, 2018, 11:56 p.m. OK GNU C++11 TESTS 25 140 6451200 2400
45027734 luogu_bot1 F Oct. 28, 2018, 11:57 p.m. OK GNU C++11 TESTS 25 140 6451200 2400
28257292 MrDindows F July 3, 2017, 1:51 p.m. OK GNU C++14 TESTS 25 124 7577600 2400
28257289 MrDindows F July 3, 2017, 1:51 p.m. OK GNU C++14 TESTS 25 124 7577600 2400
28257283 MrDindows F July 3, 2017, 1:50 p.m. OK GNU C++14 TESTS 25 124 7577600 2400
28257297 MrDindows F July 3, 2017, 1:51 p.m. OK GNU C++14 TESTS 25 124 7577600 2400
27845948 q234rty F June 17, 2017, 12:40 p.m. OK GNU C++14 TESTS 25 156 46080000 2400
34935379 nitishk24 F Feb. 5, 2018, 6:24 a.m. OK GNU C++14 TESTS 25 187 4096000 2400
27806466 natsugiri F June 15, 2017, 5:07 p.m. OK GNU C++14 TESTS 25 187 4198400 2400
42860793 ShahedMM F Sept. 14, 2018, 12:45 p.m. OK GNU C++14 TESTS 25 202 2457600 2400
48091032 antguz F Jan. 8, 2019, 1:50 p.m. OK GNU C++14 TESTS 25 233 9420800 2400
29295189 fqw F Aug. 9, 2017, 12:24 a.m. OK GNU C++14 TESTS 25 233 21196800 2400
52587057 Trisolaris F April 11, 2019, 1:22 a.m. OK GNU C++17 TESTS 25 124 16998400 2400
44531036 orzcyand1317 F Oct. 19, 2018, 6:31 a.m. OK GNU C++17 TESTS 25 139 17305600 2400
44531141 orzcyand1317 F Oct. 19, 2018, 6:34 a.m. OK GNU C++17 TESTS 25 140 17305600 2400
56033311 llbra9z F June 25, 2019, 10:48 a.m. OK GNU C++17 TESTS 25 202 100147200 2400
58496729 2016gdgzoi316LyX F Aug. 9, 2019, 12:29 p.m. OK GNU C++17 TESTS 25 217 12083200 2400
56033278 llbra9z F June 25, 2019, 10:47 a.m. OK GNU C++17 TESTS 25 218 4915200 2400
56033240 llbra9z F June 25, 2019, 10:46 a.m. OK GNU C++17 TESTS 25 218 5017600 2400
57687242 kongroo F July 24, 2019, 4:12 p.m. OK GNU C++17 TESTS 25 233 7680000 2400
58478734 2016gdgzoi467 F Aug. 9, 2019, 4:18 a.m. OK GNU C++17 TESTS 25 233 10035200 2400
68442307 SuiT_Up F Jan. 9, 2020, 11:24 a.m. OK GNU C++17 TESTS 25 233 12083200 2400
28006518 kost F June 24, 2017, 1:55 p.m. OK Haskell TESTS 25 888 121753600 2400
27843151 Ahmad_Elsagheer F June 17, 2017, 9:52 a.m. OK Java 8 TESTS 25 405 0 2400
47849638 Dukkha F Jan. 2, 2019, 4:53 p.m. OK Java 8 TESTS 25 421 8704000 2400
27805536 uwi F June 15, 2017, 4:51 p.m. OK Java 8 TESTS 25 498 2764800 2400
29306416 U_Square F Aug. 9, 2017, 1:02 p.m. OK Java 8 TESTS 25 748 65843200 2400
28288314 OmarRadwan F July 4, 2017, 7:30 p.m. OK Java 8 TESTS 25 951 77824000 2400
47502189 ZeyadKhattab F Dec. 25, 2018, 6:43 p.m. OK Java 8 TESTS 25 982 47308800 2400
35740241 Hoda_Hisham F Feb. 26, 2018, 5:29 p.m. OK Java 8 TESTS 25 998 54784000 2400
47502083 ZeyadKhattab F Dec. 25, 2018, 6:39 p.m. OK Java 8 TESTS 25 1013 47411200 2400
28017177 PrakharJain F June 25, 2017, 6:51 a.m. OK Java 8 TESTS 25 1169 48844800 2400
33918247 mathmaniac F Jan. 5, 2018, 8:50 a.m. OK Java 8 TESTS 25 1185 131788800 2400
27828536 vadzimka F June 16, 2017, 3:31 p.m. OK Kotlin TESTS 25 1824 409600 2400
28023047 kawazaki F June 25, 2017, 1:42 p.m. OK MS C# TESTS 25 795 56934400 2400
27953667 AymanWizard F June 21, 2017, 10:30 p.m. OK MS C# TESTS 25 811 41881600 2400
27805659 olpetOdessaONU F June 15, 2017, 4:53 p.m. OK MS C++ TESTS 25 187 4915200 2400
61342458 vjudge5 F Sept. 26, 2019, 11:52 p.m. OK MS C++ TESTS 25 358 46387200 2400
61344890 vjudge4 F Sept. 27, 2019, 3:48 a.m. OK MS C++ TESTS 25 374 46387200 2400
32344454 marszed F Nov. 16, 2017, 2 a.m. OK MS C++ TESTS 25 842 38604800 2400

remove filters

Back to search problems