Educational Codeforces Round 67 (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
1187 Educational Codeforces Round 67 (Rated for Div. 2) FINISHED False 7200 169917299 June 30, 2019, 2:45 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 14910 ) A Stickers and Toys PROGRAMMING math 900

B"Your favorite shop sells n Kinder Surprise chocolate eggs. You know that exactly s stickers and exactly t toys are placed in n eggs in total. Each Kinder Surprise can be one of three types: But you don't know which type a particular Kinder Surprise has. All eggs look identical and indistinguishable from each other. What is the minimum number of Kinder Surprise Eggs you have to buy to be sure that, whichever types they are, you'll obtain at least one sticker and at least one toy? Note that you do not open the eggs in the purchasing process, that is, you just buy some number of eggs. It's guaranteed that the answer always exists. The first line contains the single integer T ( 1 <= T <= 100 ) -- the number of queries. Next T lines contain three integers n , s and t each ( 1 <= n <= 10^9 , 1 <= s, t <= n , s + t ge n ) -- the number of eggs, stickers and toys. All queries are independent. Print T integers (one number per query) -- the minimum number of Kinder Surprise Eggs you have to buy to be sure that, whichever types they are, you'll obtain at least one sticker and one toy In the first query, we have to take at least 6 eggs because there are 5 eggs with only toy inside and, in the worst case, we'll buy all of them. In the second query, all eggs have both a sticker and a toy inside, that's why it's enough to buy only one egg. In the third query, we have to buy both eggs: one with a sticker and one with a toy. "...

Tutorials

Разбор Educational Codeforces Round 67

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
58080971 White_Shark_88 A July 31, 2019, 1:53 p.m. OK Clang++17 Diagnostics TESTS 8 31 0 900
56534502 szfck A July 4, 2019, 10:47 p.m. OK Clang++17 Diagnostics TESTS 8 46 0 900
56542750 ridwanur196 A July 5, 2019, 6:10 a.m. OK Clang++17 Diagnostics TESTS 8 46 0 900
56627537 xzxxzx401 A July 6, 2019, 2:41 p.m. OK Clang++17 Diagnostics TESTS 8 46 0 900
59421593 binarycode A Aug. 24, 2019, 9:32 p.m. OK Clang++17 Diagnostics TESTS 8 46 0 900
60507550 vjudge4 A Sept. 13, 2019, 10:59 p.m. OK Clang++17 Diagnostics TESTS 8 46 0 900
64077194 fruitapple A Nov. 2, 2019, 9:06 a.m. OK Clang++17 Diagnostics TESTS 8 46 0 900
60588090 Ghozlan A Sept. 14, 2019, 11:08 p.m. OK Clang++17 Diagnostics TESTS 8 46 0 900
63131017 FikiCar A Oct. 22, 2019, 2:12 p.m. OK Clang++17 Diagnostics TESTS 8 46 0 900
56471416 xz18201323 A July 3, 2019, 11:18 a.m. OK Clang++17 Diagnostics TESTS 8 46 0 900
63519563 duydec1 A Oct. 27, 2019, 3:03 a.m. OK FPC TESTS 8 15 0 900
60377836 ghosthunterk A Sept. 11, 2019, 7:31 a.m. OK FPC TESTS 8 30 102400 900
56422045 chenyewei_1234 A July 2, 2019, 7:48 a.m. OK FPC TESTS 8 30 102400 900
59214656 khanhvu212 A Aug. 21, 2019, 9:45 a.m. OK FPC TESTS 8 31 102400 900
57592094 minhquaningenious A July 23, 2019, 12:37 p.m. OK FPC TESTS 8 31 102400 900
56360167 hieutony159357 A June 30, 2019, 6:57 p.m. OK FPC TESTS 8 31 102400 900
56550762 HQT2003 A July 5, 2019, 9:38 a.m. OK FPC TESTS 8 31 3993600 900
57950721 _null_ptr_ A July 29, 2019, 4:20 p.m. OK GNU C11 TESTS 8 15 0 900
58079933 DSP-friendly A July 31, 2019, 1:36 p.m. OK GNU C11 TESTS 8 15 0 900
60246131 shenlihong A Sept. 8, 2019, 2:47 a.m. OK GNU C11 TESTS 8 15 0 900
60530081 hussainyasir23 A Sept. 14, 2019, 12:01 p.m. OK GNU C11 TESTS 8 15 0 900
61796407 shadreza A Oct. 3, 2019, 5:24 p.m. OK GNU C11 TESTS 8 15 0 900
62231024 Khayrulmithu A Oct. 9, 2019, 8:38 p.m. OK GNU C11 TESTS 8 15 0 900
62245395 Israt_Jahan_Nahin A Oct. 10, 2019, 5:27 a.m. OK GNU C11 TESTS 8 15 0 900
63039908 yigezhe A Oct. 20, 2019, 11:40 p.m. OK GNU C11 TESTS 8 15 0 900
64681055 Sourav_saha A Nov. 11, 2019, 10 a.m. OK GNU C11 TESTS 8 15 0 900
69383461 Noob1507 A Jan. 22, 2020, 8:46 p.m. OK GNU C11 TESTS 8 15 0 900
67495040 vjudge2 A Dec. 23, 2019, 9:54 p.m. OK GNU C++11 TESTS 8 15 0 900
67561714 vjudge3 A Dec. 24, 2019, 5:46 p.m. OK GNU C++11 TESTS 8 15 0 900
67590669 vjudge3 A Dec. 25, 2019, 9:32 a.m. OK GNU C++11 TESTS 8 15 0 900
67597805 vjudge4 A Dec. 25, 2019, 10:52 a.m. OK GNU C++11 TESTS 8 15 0 900
67723350 carbon2 A Dec. 27, 2019, 3:24 p.m. OK GNU C++11 TESTS 8 15 0 900
68564378 Uosmoy_A. A Jan. 10, 2020, 8:16 p.m. OK GNU C++11 TESTS 8 15 0 900
68986560 Wilderzzz A Jan. 17, 2020, 12:42 p.m. OK GNU C++11 TESTS 8 15 0 900
69275772 brandon.fuller A Jan. 22, 2020, 1:55 a.m. OK GNU C++11 TESTS 8 15 0 900
69431196 luogu_bot4 A Jan. 23, 2020, 5:23 p.m. OK GNU C++11 TESTS 8 15 0 900
69495087 cckk4467 A Jan. 25, 2020, 3:11 a.m. OK GNU C++11 TESTS 8 15 0 900
69846820 Brave_N A Jan. 30, 2020, 2:33 p.m. OK GNU C++14 TESTS 8 15 0 900
69889058 naman_jain_2202 A Jan. 31, 2020, 9:19 a.m. OK GNU C++14 TESTS 8 15 0 900
69885280 mjtai A Jan. 31, 2020, 7:58 a.m. OK GNU C++14 TESTS 8 15 0 900
69853870 mesumit A Jan. 30, 2020, 4:25 p.m. OK GNU C++14 TESTS 8 15 0 900
69833573 phamnhatnam A Jan. 30, 2020, 11:13 a.m. OK GNU C++14 TESTS 8 15 0 900
69797147 oblivious_z A Jan. 29, 2020, 8:35 p.m. OK GNU C++14 TESTS 8 15 0 900
69727913 gaurs86 A Jan. 29, 2020, 12:47 p.m. OK GNU C++14 TESTS 8 15 0 900
69668153 Mestu A Jan. 28, 2020, 12:06 p.m. OK GNU C++14 TESTS 8 15 0 900
69602870 practicer A Jan. 27, 2020, 8:31 a.m. OK GNU C++14 TESTS 8 15 0 900
69546530 Mohammad_Asif.Ashik A Jan. 26, 2020, 3:16 a.m. OK GNU C++14 TESTS 8 15 0 900
69657698 ravishekr7 A Jan. 28, 2020, 8:10 a.m. OK GNU C++17 TESTS 8 15 0 900
69686246 CODESofRishi A Jan. 28, 2020, 5:05 p.m. OK GNU C++17 TESTS 8 15 0 900
69687163 MNM_Outis A Jan. 28, 2020, 5:23 p.m. OK GNU C++17 TESTS 8 15 0 900
69808452 Beha_888 A Jan. 30, 2020, 3:12 a.m. OK GNU C++17 TESTS 8 15 0 900
69842334 sadsad A Jan. 30, 2020, 1:29 p.m. OK GNU C++17 TESTS 8 15 0 900
69849589 toto6114 A Jan. 30, 2020, 3:14 p.m. OK GNU C++17 TESTS 8 15 0 900
69857935 AbuDaudBD A Jan. 30, 2020, 5:33 p.m. OK GNU C++17 TESTS 8 15 0 900
69864602 milos_milutinovic A Jan. 30, 2020, 7:50 p.m. OK GNU C++17 TESTS 8 15 0 900
69865091 yshkpr A Jan. 30, 2020, 8:02 p.m. OK GNU C++17 TESTS 8 15 0 900
69890108 shivamsinghal1012 A Jan. 31, 2020, 9:41 a.m. OK GNU C++17 TESTS 8 15 0 900
57060765 efimmanevich A July 14, 2019, 5:49 p.m. OK Go TESTS 8 15 0 900
56438389 d0geachu A July 2, 2019, 3:11 p.m. OK Go TESTS 8 30 0 900
68426568 ktateish A Jan. 9, 2020, 3:53 a.m. OK Go TESTS 8 31 0 900
56641909 BeniZawg A July 7, 2019, 2:40 a.m. OK Go TESTS 8 31 0 900
56471730 jxt A July 3, 2019, 11:26 a.m. OK Go TESTS 8 31 0 900
58871954 vchilikov A Aug. 15, 2019, 3:51 p.m. OK Go TESTS 8 46 0 900
56470928 suryanshv23 A July 3, 2019, 11:04 a.m. OK Go TESTS 8 46 0 900
57797205 jmazon A July 26, 2019, 11:53 a.m. OK Haskell TESTS 8 31 102400 900
68779157 harshita.nit A Jan. 14, 2020, 2:25 p.m. OK Java 11 TESTS 8 186 0 900
69231111 Younoknowme A Jan. 21, 2020, 9:31 a.m. OK Java 11 TESTS 8 187 0 900
67660438 cod_ninja A Dec. 26, 2019, 3:36 p.m. OK Java 11 TESTS 8 187 0 900
67653166 sumiteshn A Dec. 26, 2019, 12:56 p.m. OK Java 8 TESTS 8 93 0 900
65230403 casalazara A Nov. 17, 2019, 4:41 a.m. OK Java 8 TESTS 8 93 0 900
59670426 MaxHeap A Aug. 29, 2019, 3:49 p.m. OK Java 8 TESTS 8 93 0 900
58622242 ikonnikoveo A Aug. 11, 2019, 4:14 p.m. OK Java 8 TESTS 8 93 0 900
57959841 derrick20 A July 29, 2019, 9:13 p.m. OK Java 8 TESTS 8 93 0 900
57951801 lpm A July 29, 2019, 4:47 p.m. OK Java 8 TESTS 8 93 0 900
56464029 142 A July 3, 2019, 8:06 a.m. OK Java 8 TESTS 8 93 0 900
56415934 altynbek.nurgaziyev A July 2, 2019, 4:35 a.m. OK Java 8 TESTS 8 93 0 900
56390052 seo A July 1, 2019, 12:11 p.m. OK Java 8 TESTS 8 93 0 900
56389540 JOYC A July 1, 2019, 11:58 a.m. OK Java 8 TESTS 8 93 0 900
56528446 amirrr A July 4, 2019, 6:21 p.m. OK Kotlin TESTS 8 109 0 900
56429764 I.A.K.O.V A July 2, 2019, 11:30 a.m. OK Kotlin TESTS 8 109 0 900
56386183 Killer45 A July 1, 2019, 10:39 a.m. OK Kotlin TESTS 8 109 0 900
56429536 I.A.K.O.V A July 2, 2019, 11:23 a.m. OK Kotlin TESTS 8 124 0 900
56796148 PugachAG A July 10, 2019, 12:36 p.m. OK Kotlin TESTS 8 124 0 900
67687638 abdurauf1997 A Dec. 27, 2019, 9:37 a.m. OK Kotlin TESTS 8 139 0 900
56756187 MattM A July 9, 2019, 2:01 p.m. OK Kotlin TESTS 8 139 204800 900
60426593 Ahmadjon A Sept. 12, 2019, 8:09 a.m. OK Kotlin TESTS 8 140 102400 900
56455932 mendel_vv A July 3, 2019, 3:50 a.m. OK Kotlin TESTS 8 140 102400 900
56364069 Quaternion A June 30, 2019, 9:11 p.m. OK Kotlin TESTS 8 140 102400 900
57774036 GusztavSzmolik A July 26, 2019, 2:31 a.m. OK Mono C# TESTS 8 31 0 900
56630993 ibastarreche A July 6, 2019, 4:17 p.m. OK Mono C# TESTS 8 31 0 900
56509720 DuyTan A July 4, 2019, 9:44 a.m. OK Mono C# TESTS 8 46 0 900
56489603 sjship A July 3, 2019, 8:37 p.m. OK Mono C# TESTS 8 46 0 900
56481626 sevimlikedicik A July 3, 2019, 4:22 p.m. OK Mono C# TESTS 8 46 0 900
56440125 abdo10002022 A July 2, 2019, 3:56 p.m. OK Mono C# TESTS 8 46 0 900
56428561 treasuryonly A July 2, 2019, 10:56 a.m. OK Mono C# TESTS 8 46 0 900
56417873 og.kostya A July 2, 2019, 5:48 a.m. OK Mono C# TESTS 8 46 0 900
66089347 shohag_16030 A Dec. 1, 2019, 6:38 a.m. OK Mono C# TESTS 8 46 0 900
63115474 m1_k3 A Oct. 22, 2019, 9:09 a.m. OK Mono C# TESTS 8 46 0 900
58102754 vjudge4 A Aug. 1, 2019, 2:13 a.m. OK MS C++ TESTS 8 15 0 900
58102686 vjudge5 A Aug. 1, 2019, 2:10 a.m. OK MS C++ TESTS 8 15 0 900
57622466 Mystic_Queen A July 24, 2019, 5:34 a.m. OK MS C++ TESTS 8 15 0 900
57095434 vjudge5 A July 15, 2019, 12:07 p.m. OK MS C++ TESTS 8 15 0 900
57082877 vjudge1 A July 15, 2019, 7:48 a.m. OK MS C++ TESTS 8 15 0 900
57069256 vjudge5 A July 15, 2019, 1:29 a.m. OK MS C++ TESTS 8 15 0 900
68409344 vjudge2 A Jan. 8, 2020, 4:23 p.m. OK MS C++ TESTS 8 15 0 900
63128083 vjudge2 A Oct. 22, 2019, 1:24 p.m. OK MS C++ TESTS 8 15 0 900
59796443 DM1 A Aug. 31, 2019, 8:48 a.m. OK MS C++ TESTS 8 15 0 900
59117268 vjudge2 A Aug. 20, 2019, 2:31 a.m. OK MS C++ TESTS 8 15 0 900
56559943 nandinitheroy A July 5, 2019, 2:21 p.m. OK MS C++ 2017 TESTS 8 15 0 900
61465260 BLueOWl11 A Sept. 29, 2019, 10:09 a.m. OK MS C++ 2017 TESTS 8 15 0 900
58850570 wjdghks94k A Aug. 15, 2019, 7:21 a.m. OK MS C++ 2017 TESTS 8 15 0 900
57478724 ghostlead A July 22, 2019, 1:03 a.m. OK MS C++ 2017 TESTS 8 15 0 900
57087943 majid.sepasi A July 15, 2019, 9:36 a.m. OK MS C++ 2017 TESTS 8 15 0 900
56851278 _Ani A July 11, 2019, 3:51 p.m. OK MS C++ 2017 TESTS 8 15 0 900
56557507 Xun_ A July 5, 2019, 1:06 p.m. OK MS C++ 2017 TESTS 8 15 0 900
56540476 Seyber A July 5, 2019, 4:46 a.m. OK MS C++ 2017 TESTS 8 15 0 900
56494368 Tink A July 4, 2019, 1:46 a.m. OK MS C++ 2017 TESTS 8 15 0 900
56477537 zahra.kh A July 3, 2019, 1:50 p.m. OK MS C++ 2017 TESTS 8 15 0 900
58108405 MaksimFedoseev A Aug. 1, 2019, 5:48 a.m. OK PascalABC.NET TESTS 8 296 0 900
61235014 porhunov26 A Sept. 24, 2019, 5:45 p.m. OK PascalABC.NET TESTS 8 312 0 900
56417935 Gimber A July 2, 2019, 5:51 a.m. OK PascalABC.NET TESTS 8 327 204800 900
69627520 Nidavellir A Jan. 27, 2020, 4:13 p.m. OK PascalABC.NET TESTS 8 342 0 900
56477924 lostamok A July 3, 2019, 2 p.m. OK PHP TESTS 8 31 0 900
56390397 mayakin A July 1, 2019, 12:19 p.m. OK PHP TESTS 8 31 0 900
56857458 Mina_Demian A July 11, 2019, 7:20 p.m. OK PyPy 2 TESTS 8 124 0 900
56543958 anshuman16423 A July 5, 2019, 6:46 a.m. OK PyPy 2 TESTS 8 124 0 900
56446912 oskarl A July 2, 2019, 7:18 p.m. OK PyPy 2 TESTS 8 124 0 900
57324145 -Morass- A July 19, 2019, 11:21 a.m. OK PyPy 2 TESTS 8 124 307200 900
60071744 ssk497 A Sept. 5, 2019, 11:21 a.m. OK PyPy 2 TESTS 8 311 8396800 900
64493850 algdgn A Nov. 7, 2019, 9:47 p.m. OK PyPy 3 TESTS 8 124 0 900
63124674 smoke_bellew A Oct. 22, 2019, 12:28 p.m. OK PyPy 3 TESTS 8 124 0 900
62201495 zapdospops A Oct. 9, 2019, 12:12 p.m. OK PyPy 3 TESTS 8 124 0 900
61194072 pi0110 A Sept. 24, 2019, 4:37 a.m. OK PyPy 3 TESTS 8 124 0 900
59932329 sankalp.srjain ARPITKIDILE A Sept. 3, 2019, 7:49 a.m. OK PyPy 3 TESTS 8 124 0 900
59817235 frankyao47 A Aug. 31, 2019, 3:50 p.m. OK PyPy 3 TESTS 8 124 0 900
58638899 zenithzyf A Aug. 12, 2019, 2:19 a.m. OK PyPy 3 TESTS 8 124 0 900
58045949 Whitebeard A July 30, 2019, 11:25 p.m. OK PyPy 3 TESTS 8 124 0 900
57774598 RasMalai A July 26, 2019, 2:50 a.m. OK PyPy 3 TESTS 8 124 0 900
57733150 subhashini1999 A July 25, 2019, 9:09 a.m. OK PyPy 3 TESTS 8 124 0 900
56427258 harshsodi A July 2, 2019, 10:15 a.m. OK Python 2 TESTS 8 170 0 900
56513090 GuLguy A July 4, 2019, 11:25 a.m. OK Python 2 TESTS 8 171 0 900
56496729 fortmax120 A July 4, 2019, 3:28 a.m. OK Python 2 TESTS 8 171 0 900
56427042 Akki983 A July 2, 2019, 10:08 a.m. OK Python 2 TESTS 8 171 0 900
58923106 Helli.code A Aug. 16, 2019, 6:05 p.m. OK Python 2 TESTS 8 186 0 900
56782455 phoenix28 A July 10, 2019, 6:52 a.m. OK Python 2 TESTS 8 186 0 900
56357466 Madhur1906 A June 30, 2019, 5:41 p.m. OK Python 2 TESTS 8 186 0 900
69287538 bsr011 A Jan. 22, 2020, 8:51 a.m. OK Python 2 TESTS 8 187 0 900
56838235 klond90 A July 11, 2019, 10:11 a.m. OK Python 2 TESTS 8 187 0 900
67778213 nikku599 A Dec. 28, 2019, 9:53 a.m. OK Python 3 TESTS 8 93 0 900
67671557 martanmartan A Dec. 26, 2019, 8:48 p.m. OK Python 3 TESTS 8 93 0 900
65590147 tanyapohn A Nov. 23, 2019, 1:50 p.m. OK Python 3 TESTS 8 93 0 900
60474669 crazyofmaths A Sept. 13, 2019, 7:26 a.m. OK Python 3 TESTS 8 93 0 900
58089944 vjudge5 A July 31, 2019, 5:09 p.m. OK Python 3 TESTS 8 93 0 900
57818994 vjudge5 A July 26, 2019, 9:34 p.m. OK Python 3 TESTS 8 93 0 900
57196741 17shashank1717 A July 17, 2019, 12:26 p.m. OK Python 3 TESTS 8 93 0 900
57131070 16ucc056 A July 16, 2019, 7:10 a.m. OK Python 3 TESTS 8 93 0 900
56853725 sleeplessness A July 11, 2019, 5:08 p.m. OK Python 3 TESTS 8 93 0 900
56791443 tolik_dzhu A July 10, 2019, 10:48 a.m. OK Python 3 TESTS 8 93 0 900
65529981 megachuhancer A Nov. 22, 2019, 12:02 p.m. OK Ruby TESTS 8 46 0 900
56567566 Kaidora A July 5, 2019, 3:22 p.m. OK Ruby TESTS 8 77 0 900
57639842 cminusminus A July 24, 2019, 12:14 p.m. OK Rust TESTS 8 15 0 900
56445852 no__ A July 2, 2019, 6:48 p.m. OK Rust TESTS 8 15 0 900
64373542 tuna_salad A Nov. 6, 2019, 3:07 p.m. OK Rust TESTS 8 31 0 900
56536969 frozenlib A July 5, 2019, 1:52 a.m. OK Rust TESTS 8 31 0 900
56362741 Peaupote A June 30, 2019, 8:13 p.m. OK Rust TESTS 8 31 0 900

remove filters

Back to search problems