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 161277899 Oct. 8, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 13685 ) B Kill `Em All PROGRAMMING greedy sortings 1300

B"Ivan plays an old action game called Heretic. He's stuck on one of the final levels of this game, so he needs some help with killing the monsters. The main part of the level is a large corridor (so large and narrow that it can be represented as an infinite coordinate line). The corridor is divided into two parts; let's assume that the point x = 0 is where these parts meet. The right part of the corridor is filled with n monsters -- for each monster, its initial coordinate x_i is given (and since all monsters are in the right part, every x_i is positive). The left part of the corridor is filled with crusher traps. If some monster enters the left part of the corridor or the origin (so, its current coordinate becomes less than or equal to 0 ), it gets instantly killed by a trap. The main weapon Ivan uses to kill the monsters is the Phoenix Rod. It can launch a missile that explodes upon impact, obliterating every monster caught in the explosion and throwing all other monsters away from the epicenter. Formally, suppose that Ivan launches a missile so that it explodes in the point c . Then every monster is either killed by explosion or pushed away. Let some monster's current coordinate be y , then: Ivan is going to kill the monsters as follows: choose some integer point d and launch a missile into that point, then wait until it explodes and all the monsters which are pushed to the left part of the corridor are killed by crusher traps, then, if at least one monster is still alive, choose another integer point (probably the one that was already used) and launch a missile there, and so on. What is the minimum number of missiles Ivan has to launch in order to kill all of the monsters? You may assume that every time Ivan fires the Phoenix Rod, he chooses the impact point optimally. You have to answer q independent queries. The first line contains one integer q ( 1 <= q <= 10^5 ) -- the number of querie"...

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
62129897 daut-dlang B Oct. 8, 2019, 2:59 p.m. OK D TESTS 25 171 11878400 1300
62135164 ruban B Oct. 8, 2019, 3:24 p.m. OK Delphi TESTS 25 93 71782400 1300
62133868 AlifSaddid B Oct. 8, 2019, 3:19 p.m. OK FPC TESTS 25 343 819200 1300
62126629 LaSWeeG B Oct. 8, 2019, 2:48 p.m. OK FPC TESTS 25 358 819200 1300
62131060 Craspedacusta B Oct. 8, 2019, 3:04 p.m. OK FPC TESTS 25 374 3993600 1300
62128670 Chipe1 B Oct. 8, 2019, 2:56 p.m. OK GNU C11 TESTS 25 358 409600 1300
62144360 bryan303 B Oct. 8, 2019, 3:59 p.m. OK GNU C11 TESTS 25 358 409600 1300
62154187 jschr B Oct. 8, 2019, 4:46 p.m. OK GNU C11 TESTS 25 358 409600 1300
62140995 pengin_2000 B Oct. 8, 2019, 3:46 p.m. OK GNU C11 TESTS 25 358 819200 1300
62135754 YOK B Oct. 8, 2019, 3:26 p.m. OK GNU C11 TESTS 25 358 2457600 1300
62130137 iostream_1308 B Oct. 8, 2019, 3 p.m. OK GNU C++11 TESTS 25 31 409600 1300
62127911 iostream_1308 B Oct. 8, 2019, 2:55 p.m. OK GNU C++11 TESTS 25 31 409600 1300
62126264 goodmorning200 B Oct. 8, 2019, 2:45 p.m. OK GNU C++11 TESTS 25 31 409600 1300
62131730 xjd0623 B Oct. 8, 2019, 3:08 p.m. OK GNU C++11 TESTS 25 31 409600 1300
62126330 dysyn1314 B Oct. 8, 2019, 2:46 p.m. OK GNU C++11 TESTS 25 31 819200 1300
62138574 wubaiting2020 B Oct. 8, 2019, 3:36 p.m. OK GNU C++11 TESTS 25 31 819200 1300
62135275 llyc B Oct. 8, 2019, 3:24 p.m. OK GNU C++11 TESTS 25 31 819200 1300
62130867 3soon B Oct. 8, 2019, 3:03 p.m. OK GNU C++11 TESTS 25 31 819200 1300
62130255 yinghua1314 B Oct. 8, 2019, 3 p.m. OK GNU C++11 TESTS 25 31 1433600 1300
62133267 little_sun B Oct. 8, 2019, 3:16 p.m. OK GNU C++11 TESTS 25 31 1843200 1300
62125478 Linkus B Oct. 8, 2019, 2:43 p.m. OK GNU C++14 TESTS 25 46 409600 1300
62137704 AWfulsome B Oct. 8, 2019, 3:33 p.m. OK GNU C++14 TESTS 25 46 921600 1300
62126974 liouzhou_101 B Oct. 8, 2019, 2:51 p.m. OK GNU C++14 TESTS 25 46 7065600 1300
62135889 Ingdasna B Oct. 8, 2019, 3:27 p.m. OK GNU C++14 TESTS 25 46 32460800 1300
62130239 Hsx B Oct. 8, 2019, 3 p.m. OK GNU C++14 TESTS 25 62 409600 1300
62136667 Nson B Oct. 8, 2019, 3:29 p.m. OK GNU C++14 TESTS 25 62 409600 1300
62141963 definitely_not_psyduck B Oct. 8, 2019, 3:50 p.m. OK GNU C++14 TESTS 25 62 819200 1300
62129075 QAQmika B Oct. 8, 2019, 2:57 p.m. OK GNU C++14 TESTS 25 62 819200 1300
62131181 Patrusheva_Anna B Oct. 8, 2019, 3:05 p.m. OK GNU C++14 TESTS 25 62 1638400 1300
62135172 Tanzir5 B Oct. 8, 2019, 3:24 p.m. OK GNU C++14 TESTS 25 62 2048000 1300
62126585 Unsterblicher_Geist B Oct. 8, 2019, 2:48 p.m. OK GNU C++17 TESTS 25 31 921600 1300
62128397 Unsterblicher_Geist B Oct. 8, 2019, 2:56 p.m. OK GNU C++17 TESTS 25 46 921600 1300
62129084 Mangooste B Oct. 8, 2019, 2:57 p.m. OK GNU C++17 TESTS 25 62 409600 1300
62139017 1946037404 B Oct. 8, 2019, 3:38 p.m. OK GNU C++17 TESTS 25 62 409600 1300
62134337 765238870 B Oct. 8, 2019, 3:21 p.m. OK GNU C++17 TESTS 25 62 409600 1300
62131094 tiagoshibata B Oct. 8, 2019, 3:04 p.m. OK GNU C++17 TESTS 25 62 409600 1300
62131009 ale B Oct. 8, 2019, 3:04 p.m. OK GNU C++17 TESTS 25 62 409600 1300
62129933 shamiaomiao B Oct. 8, 2019, 2:59 p.m. OK GNU C++17 TESTS 25 62 409600 1300
62129375 11th B Oct. 8, 2019, 2:58 p.m. OK GNU C++17 TESTS 25 62 409600 1300
62128512 MathAlex B Oct. 8, 2019, 2:56 p.m. OK GNU C++17 TESTS 25 62 409600 1300
62128197 caidodo0_0 B Oct. 8, 2019, 2:56 p.m. OK Go TESTS 25 202 4505600 1300
62132010 maguroguma B Oct. 8, 2019, 3:09 p.m. OK Go TESTS 25 467 4608000 1300
62134644 torus711 B Oct. 8, 2019, 3:22 p.m. OK Haskell TESTS 25 156 20070400 1300
62127767 saurabhs1206 B Oct. 8, 2019, 2:55 p.m. OK Java 8 TESTS 25 124 0 1300
62133334 NinjaDoggy B Oct. 8, 2019, 3:17 p.m. OK Java 8 TESTS 25 140 0 1300
62132656 rahsutamrev B Oct. 8, 2019, 3:13 p.m. OK Java 8 TESTS 25 140 0 1300
62132288 Mr_Doom B Oct. 8, 2019, 3:11 p.m. OK Java 8 TESTS 25 140 0 1300
62130220 StayAwayFromBitches B Oct. 8, 2019, 3 p.m. OK Java 8 TESTS 25 140 0 1300
62141699 wabadabakalakaboo B Oct. 8, 2019, 3:48 p.m. OK Java 8 TESTS 25 155 0 1300
62137352 binrodon B Oct. 8, 2019, 3:31 p.m. OK Java 8 TESTS 25 155 0 1300
62130253 sarthakmanna B Oct. 8, 2019, 3 p.m. OK Java 8 TESTS 25 155 0 1300
62129140 bhavyashah9873 B Oct. 8, 2019, 2:57 p.m. OK Java 8 TESTS 25 155 0 1300
62128071 hulk_man B Oct. 8, 2019, 2:56 p.m. OK Java 8 TESTS 25 155 0 1300
62156018 madmonl B Oct. 8, 2019, 4:53 p.m. OK JavaScript TESTS 25 842 37068800 1300
62143107 david_varela B Oct. 8, 2019, 3:54 p.m. OK Kotlin TESTS 25 358 4608000 1300
62149676 Ahmadjon B Oct. 8, 2019, 4:24 p.m. OK Kotlin TESTS 25 982 3788800 1300
62138807 tadashiya B Oct. 8, 2019, 3:37 p.m. OK Kotlin TESTS 25 998 4505600 1300
62126624 omikad B Oct. 8, 2019, 2:48 p.m. OK Mono C# TESTS 25 187 14540800 1300
62127738 Yupiteru B Oct. 8, 2019, 2:55 p.m. OK Mono C# TESTS 25 264 159539200 1300
62141696 Tan42 B Oct. 8, 2019, 3:48 p.m. OK Mono C# TESTS 25 732 17203200 1300
62131143 eki B Oct. 8, 2019, 3:04 p.m. OK Mono C# TESTS 25 748 6553600 1300
62154505 shu130295 B Oct. 8, 2019, 4:47 p.m. OK Mono C# TESTS 25 795 14848000 1300
62134892 Giangvp B Oct. 8, 2019, 3:23 p.m. OK Mono C# TESTS 25 841 19046400 1300
62134986 asdkjc B Oct. 8, 2019, 3:23 p.m. OK MS C++ TESTS 25 78 819200 1300
62142880 platter B Oct. 8, 2019, 3:53 p.m. OK MS C++ TESTS 25 93 1228800 1300
62135150 Flighter B Oct. 8, 2019, 3:24 p.m. OK MS C++ TESTS 25 483 5939200 1300
62130480 Stezok B Oct. 8, 2019, 3:01 p.m. OK MS C++ TESTS 25 499 1433600 1300
62131587 ZJM782473006 B Oct. 8, 2019, 3:07 p.m. OK MS C++ TESTS 25 530 4096000 1300
62139571 IntoSpring B Oct. 8, 2019, 3:40 p.m. OK MS C++ 2017 TESTS 25 93 409600 1300
62141944 Arthur_Ren B Oct. 8, 2019, 3:49 p.m. OK MS C++ 2017 TESTS 25 93 819200 1300
62136257 denshlk B Oct. 8, 2019, 3:28 p.m. OK MS C++ 2017 TESTS 25 93 1331200 1300
62127164 Ivan11 B Oct. 8, 2019, 2:52 p.m. OK MS C++ 2017 TESTS 25 93 2457600 1300
62130281 wust_mengzhennan B Oct. 8, 2019, 3:01 p.m. OK MS C++ 2017 TESTS 25 108 409600 1300
62131575 21181522 B Oct. 8, 2019, 3:07 p.m. OK MS C++ 2017 TESTS 25 108 409600 1300
62129069 AleksanderBalobanov B Oct. 8, 2019, 2:57 p.m. OK MS C++ 2017 TESTS 25 108 1228800 1300
62151557 soljin8122 B Oct. 8, 2019, 4:33 p.m. OK MS C++ 2017 TESTS 25 108 1228800 1300
62130231 youx B Oct. 8, 2019, 3 p.m. OK MS C++ 2017 TESTS 25 109 3174400 1300
62137219 Hydraqwq B Oct. 8, 2019, 3:31 p.m. OK MS C++ 2017 TESTS 25 109 40038400 1300
62143725 badawhite B Oct. 8, 2019, 3:56 p.m. OK Node.js TESTS 25 420 26726400 1300
62149830 Dan2000kr B Oct. 8, 2019, 4:25 p.m. OK Node.js TESTS 25 467 22323200 1300
62135753 rsFalse B Oct. 8, 2019, 3:26 p.m. OK Perl TESTS 25 233 20172800 1300
62146548 Bekzaat17 B Oct. 8, 2019, 4:09 p.m. OK PHP TESTS 25 421 16384000 1300
62128381 pajenegod B Oct. 8, 2019, 2:56 p.m. OK PyPy 2 TESTS 25 218 19353600 1300
62143479 Mukundan314 B Oct. 8, 2019, 3:56 p.m. OK PyPy 2 TESTS 25 249 10547200 1300
62126589 iamprayush B Oct. 8, 2019, 2:48 p.m. OK PyPy 2 TESTS 25 295 10752000 1300
62127082 sm1ley B Oct. 8, 2019, 2:52 p.m. OK PyPy 3 TESTS 25 296 9318400 1300
62128903 nagitaosu B Oct. 8, 2019, 2:57 p.m. OK PyPy 3 TESTS 25 327 11776000 1300
62134695 syphon B Oct. 8, 2019, 3:22 p.m. OK PyPy 3 TESTS 25 420 10444800 1300
62138357 neterukun B Oct. 8, 2019, 3:35 p.m. OK PyPy 3 TESTS 25 421 14336000 1300
62130283 vinuthegr8 B Oct. 8, 2019, 3:01 p.m. OK PyPy 3 TESTS 25 436 12288000 1300
62126649 Stephan B Oct. 8, 2019, 2:49 p.m. OK PyPy 3 TESTS 25 436 12492800 1300
62130453 pineriver B Oct. 8, 2019, 3:01 p.m. OK PyPy 3 TESTS 25 436 13004800 1300
62136422 essi B Oct. 8, 2019, 3:28 p.m. OK PyPy 3 TESTS 25 436 13107200 1300
62126835 komolakanto B Oct. 8, 2019, 2:50 p.m. OK PyPy 3 TESTS 25 451 10035200 1300
62125343 coano2000 B Oct. 8, 2019, 2:43 p.m. OK PyPy 3 TESTS 25 451 11366400 1300
62133257 1252187392 B Oct. 8, 2019, 3:16 p.m. OK Python 2 TESTS 25 670 6451200 1300
62148789 timaktimak B Oct. 8, 2019, 4:20 p.m. OK Python 2 TESTS 25 748 29184000 1300
62146312 bagautdinov23 B Oct. 8, 2019, 4:08 p.m. OK Python 3 TESTS 25 561 18944000 1300
62134230 Ueki B Oct. 8, 2019, 3:20 p.m. OK Python 3 TESTS 25 592 9216000 1300
62140756 ryo_n B Oct. 8, 2019, 3:45 p.m. OK Python 3 TESTS 25 592 9523200 1300
62151669 bitbeast18 B Oct. 8, 2019, 4:33 p.m. OK Python 3 TESTS 25 654 9113600 1300
62142726 jr.projekctor B Oct. 8, 2019, 3:53 p.m. OK Python 3 TESTS 25 654 9113600 1300
62137169 malpaca B Oct. 8, 2019, 3:31 p.m. OK Python 3 TESTS 25 670 7270400 1300
62130870 Coki628 B Oct. 8, 2019, 3:03 p.m. OK Python 3 TESTS 25 685 7372800 1300
62134172 III_Wolverine_III B Oct. 8, 2019, 3:20 p.m. OK Python 3 TESTS 25 701 7065600 1300
62127225 anonymous-420 B Oct. 8, 2019, 2:52 p.m. OK Python 3 TESTS 25 764 7782400 1300
62133608 CandyZack B Oct. 8, 2019, 3:18 p.m. OK Python 3 TESTS 25 779 7782400 1300
62129731 sansen B Oct. 8, 2019, 2:59 p.m. OK Rust TESTS 25 61 3174400 1300
62127762 yoshrc B Oct. 8, 2019, 2:55 p.m. OK Rust TESTS 25 982 3174400 1300
62136784 Areredify B Oct. 8, 2019, 3:29 p.m. OK Rust TESTS 25 997 2048000 1300
62131919 bor.is B Oct. 8, 2019, 3:09 p.m. OK Rust TESTS 25 997 3174400 1300

remove filters

Back to search problems