Educational Codeforces Round 74 (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
1238 Educational Codeforces Round 74 (Rated for Div. 2) FINISHED False 8400 166893887 Oct. 8, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 7525 ) C Standard Free2play PROGRAMMING dp greedy math 1600

B"You are playing a game where your character should overcome different obstacles. The current problem is to come down from a cliff. The cliff has height h , and there is a moving platform on each height x from 1 to h . Each platform is either hidden inside the cliff or moved out. At first, there are n moved out platforms on heights p_1, p_2, ... , p_n . The platform on height h is moved out (and the character is initially standing there). If you character is standing on some moved out platform on height x , then he can pull a special lever, which switches the state of two platforms: on height x and x - 1 . In other words, the platform you are currently standing on will hide in the cliff and the platform one unit below will change it state: it will hide if it was moved out or move out if it was hidden. In the second case, you will safely land on it. Note that this is the only way to move from one platform to another. Your character is quite fragile, so it can safely fall from the height no more than 2 . In other words falling from the platform x to platform x - 2 is okay, but falling from x to x - 3 (or lower) is certain death. Sometimes it's not possible to come down from the cliff, but you can always buy (for donate currency) several magic crystals. Each magic crystal can be used to change the state of any single platform (except platform on height h , which is unaffected by the crystals). After being used, the crystal disappears. What is the minimum number of magic crystal you need to buy to safely land on the 0 ground level? The first line contains one integer q ( 1 <= q <= 100 ) -- the number of queries. Each query contains two lines and is independent of all other queries. The first line of each query contains two integers h and n ( 1 <= h <= 10^9 , 1 <= n <= min(h, 2 cdot 10^5) ) -- the height of the cliff and the n"...

Tutorials

Educational Codeforces Round 74 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
62153996 YOK C Oct. 8, 2019, 4:45 p.m. OK GNU C11 TESTS 17 46 819200 1600
62154462 myungum C Oct. 8, 2019, 4:47 p.m. OK GNU C11 TESTS 17 61 2457600 1600
62154797 pengin_2000 C Oct. 8, 2019, 4:48 p.m. OK GNU C11 TESTS 17 62 819200 1600
62154603 ashu12_chi C Oct. 8, 2019, 4:48 p.m. OK GNU C11 TESTS 17 62 819200 1600
62131576 Chipe1 C Oct. 8, 2019, 3:07 p.m. OK GNU C11 TESTS 17 62 819200 1600
62137677 LYYY C Oct. 8, 2019, 3:33 p.m. OK GNU C++11 TESTS 17 31 0 1600
62143549 Rye_Catcher C Oct. 8, 2019, 3:56 p.m. OK GNU C++11 TESTS 17 31 614400 1600
62144804 polareagle C Oct. 8, 2019, 4:01 p.m. OK GNU C++11 TESTS 17 31 614400 1600
62143135 codeplay0314 C Oct. 8, 2019, 3:54 p.m. OK GNU C++11 TESTS 17 31 819200 1600
62142922 BBpigeon C Oct. 8, 2019, 3:53 p.m. OK GNU C++11 TESTS 17 31 819200 1600
62145713 LIdox1536513344 C Oct. 8, 2019, 4:05 p.m. OK GNU C++11 TESTS 17 31 819200 1600
62146283 xjd0623 C Oct. 8, 2019, 4:08 p.m. OK GNU C++11 TESTS 17 31 819200 1600
62146773 dysyn1314 C Oct. 8, 2019, 4:10 p.m. OK GNU C++11 TESTS 17 31 819200 1600
62149505 iostream_1308 C Oct. 8, 2019, 4:23 p.m. OK GNU C++11 TESTS 17 31 819200 1600
62143877 WATER_faLL C Oct. 8, 2019, 3:57 p.m. OK GNU C++11 TESTS 17 31 819200 1600
62131269 Linkus C Oct. 8, 2019, 3:05 p.m. OK GNU C++14 TESTS 17 31 819200 1600
62154976 liouzhou_101 C Oct. 8, 2019, 4:49 p.m. OK GNU C++14 TESTS 17 31 3686400 1600
62131114 risujiroh C Oct. 8, 2019, 3:04 p.m. OK GNU C++14 TESTS 17 46 1024000 1600
62146536 HipHop C Oct. 8, 2019, 4:09 p.m. OK GNU C++14 TESTS 17 61 0 1600
62146039 StillANoob C Oct. 8, 2019, 4:07 p.m. OK GNU C++14 TESTS 17 61 819200 1600
62151648 blinkshot C Oct. 8, 2019, 4:33 p.m. OK GNU C++14 TESTS 17 61 819200 1600
62154141 Petrenkko C Oct. 8, 2019, 4:46 p.m. OK GNU C++14 TESTS 17 61 1024000 1600
62148534 lajiyuan C Oct. 8, 2019, 4:19 p.m. OK GNU C++14 TESTS 17 61 1638400 1600
62147299 fjuengermann C Oct. 8, 2019, 4:13 p.m. OK GNU C++14 TESTS 17 62 0 1600
62149923 Mohammad_Alwarawreh C Oct. 8, 2019, 4:25 p.m. OK GNU C++14 TESTS 17 62 0 1600
62141770 Unsterblicher_Geist C Oct. 8, 2019, 3:49 p.m. OK GNU C++17 TESTS 17 30 1331200 1600
62134632 edenooo C Oct. 8, 2019, 3:22 p.m. OK GNU C++17 TESTS 17 46 819200 1600
62146448 1946037404 C Oct. 8, 2019, 4:08 p.m. OK GNU C++17 TESTS 17 46 1536000 1600
62143587 MorePositiva C Oct. 8, 2019, 3:56 p.m. OK GNU C++17 TESTS 17 61 0 1600
62131904 MathAlex C Oct. 8, 2019, 3:08 p.m. OK GNU C++17 TESTS 17 61 819200 1600
62151797 Aphelios C Oct. 8, 2019, 4:34 p.m. OK GNU C++17 TESTS 17 61 819200 1600
62154964 uryuuu C Oct. 8, 2019, 4:49 p.m. OK GNU C++17 TESTS 17 62 819200 1600
62154509 olegfomenko C Oct. 8, 2019, 4:47 p.m. OK GNU C++17 TESTS 17 62 819200 1600
62153862 gs17005 C Oct. 8, 2019, 4:44 p.m. OK GNU C++17 TESTS 17 62 819200 1600
62154899 XzzF C Oct. 8, 2019, 4:49 p.m. OK GNU C++17 TESTS 17 62 819200 1600
62154649 caidodo0_0 C Oct. 8, 2019, 4:48 p.m. OK Go TESTS 17 187 4505600 1600
62139852 chojh1222 C Oct. 8, 2019, 3:41 p.m. OK Java 8 TESTS 17 109 0 1600
62137047 Drona1233 C Oct. 8, 2019, 3:30 p.m. OK Java 8 TESTS 17 109 0 1600
62134713 saurabhs1206 C Oct. 8, 2019, 3:22 p.m. OK Java 8 TESTS 17 109 0 1600
62155969 Bhavya_Arora C Oct. 8, 2019, 4:53 p.m. OK Java 8 TESTS 17 124 0 1600
62140648 amolpratap007 C Oct. 8, 2019, 3:44 p.m. OK Java 8 TESTS 17 124 0 1600
62135523 StayAwayFromBitches C Oct. 8, 2019, 3:25 p.m. OK Java 8 TESTS 17 124 0 1600
62135029 NinjaDoggy C Oct. 8, 2019, 3:23 p.m. OK Java 8 TESTS 17 124 0 1600
62134853 hulk_man C Oct. 8, 2019, 3:23 p.m. OK Java 8 TESTS 17 124 0 1600
62143807 Musin C Oct. 8, 2019, 3:57 p.m. OK Java 8 TESTS 17 139 0 1600
62137031 sarthakmanna C Oct. 8, 2019, 3:30 p.m. OK Java 8 TESTS 17 140 0 1600
62156170 david_varela C Oct. 8, 2019, 4:54 p.m. OK Kotlin TESTS 17 358 18227200 1600
62155180 david_varela C Oct. 8, 2019, 4:50 p.m. OK Kotlin TESTS 17 373 18227200 1600
62154529 david_varela C Oct. 8, 2019, 4:47 p.m. OK Kotlin TESTS 17 389 18227200 1600
62137446 omikad C Oct. 8, 2019, 3:32 p.m. OK Mono C# TESTS 17 124 26726400 1600
62142511 Yupiteru C Oct. 8, 2019, 3:52 p.m. OK Mono C# TESTS 17 156 172134400 1600
62138717 asdkjc C Oct. 8, 2019, 3:36 p.m. OK MS C++ TESTS 17 62 16076800 1600
62147407 Stezok C Oct. 8, 2019, 4:13 p.m. OK MS C++ TESTS 17 171 2252800 1600
62147245 Flighter C Oct. 8, 2019, 4:12 p.m. OK MS C++ TESTS 17 187 0 1600
62136319 Ivan11 C Oct. 8, 2019, 3:28 p.m. OK MS C++ 2017 TESTS 17 77 1228800 1600
62145287 youx C Oct. 8, 2019, 4:03 p.m. OK MS C++ 2017 TESTS 17 77 1740800 1600
62146259 taekop C Oct. 8, 2019, 4:08 p.m. OK MS C++ 2017 TESTS 17 78 819200 1600
62151609 wust_mengzhennan C Oct. 8, 2019, 4:33 p.m. OK MS C++ 2017 TESTS 17 78 819200 1600
62150493 nacl_jht C Oct. 8, 2019, 4:28 p.m. OK MS C++ 2017 TESTS 17 78 819200 1600
62148889 AleksanderBalobanov C Oct. 8, 2019, 4:20 p.m. OK MS C++ 2017 TESTS 17 78 2764800 1600
62141670 21181522 C Oct. 8, 2019, 3:48 p.m. OK MS C++ 2017 TESTS 17 93 819200 1600
62144799 denshlk C Oct. 8, 2019, 4:01 p.m. OK MS C++ 2017 TESTS 17 93 819200 1600
62140912 pinder C Oct. 8, 2019, 3:45 p.m. OK MS C++ 2017 TESTS 17 171 819200 1600
62141483 MrLolthe1st C Oct. 8, 2019, 3:48 p.m. OK MS C++ 2017 TESTS 17 171 3174400 1600
62129527 astrom.lars C Oct. 8, 2019, 2:58 p.m. OK PyPy 2 TESTS 17 155 13107200 1600
62132087 pajenegod C Oct. 8, 2019, 3:09 p.m. OK PyPy 2 TESTS 17 171 13516800 1600
62148987 iamprayush C Oct. 8, 2019, 4:21 p.m. OK PyPy 2 TESTS 17 249 20377600 1600
62139892 nagitaosu C Oct. 8, 2019, 3:41 p.m. OK PyPy 3 TESTS 17 186 16793600 1600
62144241 -ilja- C Oct. 8, 2019, 3:58 p.m. OK PyPy 3 TESTS 17 342 16793600 1600
62138610 artem3605 C Oct. 8, 2019, 3:36 p.m. OK PyPy 3 TESTS 17 342 21606400 1600
62145236 Stranger001 C Oct. 8, 2019, 4:03 p.m. OK PyPy 3 TESTS 17 343 15872000 1600
62151407 Sevlll C Oct. 8, 2019, 4:32 p.m. OK PyPy 3 TESTS 17 343 15974400 1600
62142093 titia C Oct. 8, 2019, 3:50 p.m. OK PyPy 3 TESTS 17 343 16486400 1600
62138064 komolakanto C Oct. 8, 2019, 3:34 p.m. OK PyPy 3 TESTS 17 358 16179200 1600
62152597 cgfs10000 C Oct. 8, 2019, 4:38 p.m. OK PyPy 3 TESTS 17 358 16486400 1600
62139025 vinuthegr8 C Oct. 8, 2019, 3:38 p.m. OK PyPy 3 TESTS 17 358 16486400 1600
62148277 saglam.muzaffer C Oct. 8, 2019, 4:17 p.m. OK PyPy 3 TESTS 17 358 16793600 1600
62154082 timaktimak C Oct. 8, 2019, 4:45 p.m. OK Python 2 TESTS 17 467 13926400 1600
62155772 eugalt C Oct. 8, 2019, 4:52 p.m. OK Python 3 TESTS 17 249 13619200 1600
62135062 old_boo C Oct. 8, 2019, 3:24 p.m. OK Python 3 TESTS 17 265 15667200 1600
62149500 minmise C Oct. 8, 2019, 4:23 p.m. OK Python 3 TESTS 17 280 15667200 1600
62141104 Kek_Lol C Oct. 8, 2019, 3:46 p.m. OK Python 3 TESTS 17 296 15564800 1600
62148014 Ofegenia C Oct. 8, 2019, 4:16 p.m. OK Python 3 TESTS 17 296 15667200 1600
62143890 Coki628 C Oct. 8, 2019, 3:57 p.m. OK Python 3 TESTS 17 296 15667200 1600
62149581 irplusred C Oct. 8, 2019, 4:23 p.m. OK Python 3 TESTS 17 326 15667200 1600
62150430 pseudopenggy C Oct. 8, 2019, 4:27 p.m. OK Python 3 TESTS 17 390 15667200 1600
62153820 _sujm C Oct. 8, 2019, 4:44 p.m. OK Python 3 TESTS 17 404 15667200 1600
62141713 matsu7874 C Oct. 8, 2019, 3:48 p.m. OK Python 3 TESTS 17 436 15667200 1600
62132015 yoshrc C Oct. 8, 2019, 3:09 p.m. OK Rust TESTS 17 46 7577600 1600

remove filters

Back to search problems