Educational Codeforces Round 68 (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
1194 Educational Codeforces Round 68 (Rated for Div. 2) FINISHED False 7200 174323687 July 14, 2019, 2:45 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1011 ) F Crossword Expert PROGRAMMING combinatorics dp number theory probabilities two pointers 2500

B'Today Adilbek is taking his probability theory test. Unfortunately, when Adilbek arrived at the university, there had already been a long queue of students wanting to take the same test. Adilbek has estimated that he will be able to start the test only T seconds after coming. Fortunately, Adilbek can spend time without revising any boring theorems or formulas. He has an app on this smartphone which contains n Japanese crosswords to solve. Adilbek has decided to solve them all one by one in the order they are listed in the app, without skipping any crossword. For each crossword, a number t_i is given that represents the time it takes an average crossword expert to solve this crossword (the time is given in seconds). Adilbek is a true crossword expert, but, unfortunately, he is sometimes unlucky in choosing the way to solve the crossword. So, it takes him either t_i seconds or t_i + 1 seconds to solve the i -th crossword, equiprobably (with probability frac{1}{2} he solves the crossword in exactly t_i seconds, and with probability frac{1}{2} he has to spend an additional second to finish the crossword). All these events are independent. After T seconds pass (or after solving the last crossword, if he manages to do it in less than T seconds), Adilbek closes the app (if he finishes some crossword at the same moment, that crossword is considered solved; otherwise Adilbek does not finish solving the current crossword at all). He thinks it would be an interesting probability theory problem to calculate E -- the expected number of crosswords he will be able to solve completely. Can you calculate it? Recall that the expected value of a discrete random variable is the probability-weighted average of all possible values -- in this problem it means that the expected value of the number of solved crosswords can be calculated as E = sum limits_{i = 0}^{n} i p_i , where p_i is the p'...

Tutorials

Разбор Educational Codeforces Round 68

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
57202284 grand_zeno F July 17, 2019, 2:08 p.m. OK Clang++17 Diagnostics TESTS 53 1153 4812800 2500
57277693 sansen F July 18, 2019, 11:32 a.m. OK GNU C11 TESTS 53 234 1638400 2500
57181947 Sooke F July 17, 2019, 7:32 a.m. OK GNU C++11 TESTS 53 46 1638400 2500
57118372 FrozenBlood F July 15, 2019, 10:09 p.m. OK GNU C++11 TESTS 53 46 3174400 2500
57086527 FFjet F July 15, 2019, 9:05 a.m. OK GNU C++11 TESTS 53 46 4608000 2500
57100563 LV24twx F July 15, 2019, 1:37 p.m. OK GNU C++11 TESTS 53 46 4608000 2500
58841204 ouqingliang F Aug. 15, 2019, 2:10 a.m. OK GNU C++11 TESTS 53 46 4812800 2500
59446624 LV24twx F Aug. 25, 2019, 1:37 p.m. OK GNU C++11 TESTS 53 46 4812800 2500
57173944 vjudge2 F July 17, 2019, 4:42 a.m. OK GNU C++11 TESTS 53 46 5632000 2500
57173721 vjudge3 F July 17, 2019, 4:36 a.m. OK GNU C++11 TESTS 53 46 5632000 2500
57101892 nantf F July 15, 2019, 2:03 p.m. OK GNU C++11 TESTS 53 46 5632000 2500
57173984 vjudge1 F July 17, 2019, 4:43 a.m. OK GNU C++11 TESTS 53 46 5632000 2500
57081612 Seast F July 15, 2019, 7:24 a.m. OK GNU C++14 TESTS 53 77 1638400 2500
60313065 Mindyou F Sept. 9, 2019, 4:41 p.m. OK GNU C++14 TESTS 53 77 1638400 2500
57176170 vjudge1 F July 17, 2019, 5:37 a.m. OK GNU C++14 TESTS 53 77 2457600 2500
57056880 MegaOwIer F July 14, 2019, 4:44 p.m. OK GNU C++14 TESTS 53 78 1638400 2500
57115882 smtcoder F July 15, 2019, 8:06 p.m. OK GNU C++14 TESTS 53 78 2457600 2500
58300058 ghanta88 F Aug. 4, 2019, 6:15 p.m. OK GNU C++14 TESTS 53 78 2457600 2500
57120145 k5888200 F July 16, 2019, 12:08 a.m. OK GNU C++14 TESTS 53 78 3993600 2500
57048196 krijgertje F July 14, 2019, 4:08 p.m. OK GNU C++14 TESTS 53 78 3993600 2500
57086596 _shanky F July 15, 2019, 9:06 a.m. OK GNU C++14 TESTS 53 78 4812800 2500
57080396 yan-zp F July 15, 2019, 7:02 a.m. OK GNU C++14 TESTS 53 78 4812800 2500
57127884 neal F July 16, 2019, 5:42 a.m. OK GNU C++17 TESTS 53 46 3276800 2500
57186264 Trote_w F July 17, 2019, 8:47 a.m. OK GNU C++17 TESTS 53 77 3993600 2500
57061557 dragonslayerintraining F July 14, 2019, 6:17 p.m. OK GNU C++17 TESTS 53 78 3174400 2500
57123337 vjudge2 F July 16, 2019, 2:42 a.m. OK GNU C++17 TESTS 53 78 3993600 2500
57186241 Trote_w F July 17, 2019, 8:47 a.m. OK GNU C++17 TESTS 53 78 3993600 2500
57070335 Jefe F July 15, 2019, 2:12 a.m. OK GNU C++17 TESTS 53 78 4812800 2500
57065794 DomiKo F July 14, 2019, 9:13 p.m. OK GNU C++17 TESTS 53 78 5632000 2500
58553735 stupid_username F Aug. 10, 2019, 10:57 p.m. OK GNU C++17 TESTS 53 78 6451200 2500
61692236 jasonleft F Oct. 2, 2019, 6 a.m. OK GNU C++17 TESTS 53 78 7270400 2500
60076129 Pi_Yuan_Yuan F Sept. 5, 2019, 12:38 p.m. OK GNU C++17 TESTS 53 78 7270400 2500
57110220 tkachenko F July 15, 2019, 5:04 p.m. OK Go TESTS 53 78 3174400 2500
57109107 kirigiri F July 15, 2019, 4:33 p.m. OK Haskell TESTS 53 514 61952000 2500
57100397 kirigiri F July 15, 2019, 1:34 p.m. OK Haskell TESTS 53 561 56729600 2500
57071293 kirigiri F July 15, 2019, 2:43 a.m. OK Haskell TESTS 53 561 57753600 2500
57189959 Musin F July 17, 2019, 10:10 a.m. OK Java 8 TESTS 53 140 0 2500
57189933 Musin F July 17, 2019, 10:09 a.m. OK Java 8 TESTS 53 140 0 2500
57075302 dalt F July 15, 2019, 4:51 a.m. OK Java 8 TESTS 53 155 0 2500
57129614 uwi F July 16, 2019, 6:34 a.m. OK Java 8 TESTS 53 171 0 2500
57571168 Ahmad F July 23, 2019, 5:18 a.m. OK Java 8 TESTS 53 171 13721600 2500
57054710 insert_cool_handle F July 14, 2019, 4:37 p.m. OK Java 8 TESTS 53 280 0 2500
66982295 Oopsimbad F Dec. 15, 2019, 4:51 p.m. OK Java 8 TESTS 53 312 18432000 2500
57426273 armking F July 20, 2019, 8:36 p.m. OK Java 8 TESTS 53 468 14950400 2500
57161932 Musin F July 16, 2019, 7:36 p.m. OK Java 8 TESTS 53 670 0 2500
59244980 agoryainov F Aug. 21, 2019, 10:37 p.m. OK Java 8 TESTS 53 998 0 2500
57286138 Spheniscine F July 18, 2019, 2:43 p.m. OK Kotlin TESTS 53 405 19558400 2500
57288169 Spheniscine F July 18, 2019, 3:28 p.m. OK Kotlin TESTS 53 420 19456000 2500
57285600 Spheniscine F July 18, 2019, 2:30 p.m. OK Kotlin TESTS 53 452 22528000 2500
57350216 Spheniscine F July 20, 2019, 2:58 a.m. OK Kotlin TESTS 53 483 19456000 2500
57314092 Spheniscine F July 19, 2019, 7:36 a.m. OK Kotlin TESTS 53 483 19456000 2500
57373035 Spheniscine F July 20, 2019, 11:32 a.m. OK Kotlin TESTS 53 530 19456000 2500
57312301 Spheniscine F July 19, 2019, 6:57 a.m. OK Kotlin TESTS 53 592 19456000 2500
57312118 Spheniscine F July 19, 2019, 6:53 a.m. OK Kotlin TESTS 53 592 19456000 2500
57986614 Spheniscine F July 30, 2019, 11:38 a.m. OK Kotlin TESTS 53 592 20070400 2500
57110600 Tlatoani F July 15, 2019, 5:15 p.m. OK Kotlin TESTS 53 639 0 2500
59530647 vjudge1 F Aug. 26, 2019, 2:54 p.m. OK MS C++ TESTS 53 93 5632000 2500
61272705 vjudge4 F Sept. 25, 2019, 2:29 p.m. OK MS C++ TESTS 53 436 10444800 2500
63057711 vjudge5 F Oct. 21, 2019, 7:09 a.m. OK MS C++ TESTS 53 452 10444800 2500
57790403 ai.lugle1997 F July 26, 2019, 9:14 a.m. OK MS C++ 2017 TESTS 53 655 5836800 2500
58089894 Helli.code F July 31, 2019, 5:08 p.m. OK PyPy 2 TESTS 53 1419 99430400 2500
57141096 meooow F July 16, 2019, 11:05 a.m. OK PyPy 3 TESTS 53 795 103731200 2500
57059566 Pokeylope F July 14, 2019, 5:18 p.m. OK PyPy 3 TESTS 53 1060 30412800 2500
57141567 meooow F July 16, 2019, 11:17 a.m. OK PyPy 3 TESTS 53 1482 110387200 2500
57141483 meooow F July 16, 2019, 11:15 a.m. OK PyPy 3 TESTS 53 1528 110387200 2500
57078738 EbTech F July 15, 2019, 6:26 a.m. OK Rust TESTS 53 62 11776000 2500
57056279 EbTech F July 14, 2019, 4:42 p.m. OK Rust TESTS 53 187 9216000 2500

remove filters

Back to search problems