Educational Codeforces Round 76 (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
1257 Educational Codeforces Round 76 (Rated for Div. 2) FINISHED False 7200 158167499 Nov. 13, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 7613 ) D Yet Another Monster Killing Problem PROGRAMMING binary search data structures dp greedy sortings two pointers 1700

B"You play a computer game. In this game, you lead a party of m heroes, and you have to clear a dungeon with n monsters. Each monster is characterized by its power a_i . Each hero is characterized by his power p_i and endurance s_i . The heroes clear the dungeon day by day. In the beginning of each day, you choose a hero (exactly one) who is going to enter the dungeon this day. When the hero enters the dungeon, he is challenged by the first monster which was not defeated during the previous days (so, if the heroes have already defeated k monsters, the hero fights with the monster k + 1 ). When the hero fights the monster, there are two possible outcomes: After defeating a monster, the hero either continues fighting with the next monster or leaves the dungeon. He leaves the dungeon either if he has already defeated the number of monsters equal to his endurance during this day (so, the i -th hero cannot defeat more than s_i monsters during each day), or if all monsters are defeated -- otherwise, he fights with the next monster. When the hero leaves the dungeon, the current day ends. Your goal is to defeat the last monster. What is the minimum number of days that you need to achieve your goal? Each day you have to use exactly one hero; it is possible that some heroes don't fight the monsters at all. Each hero can be used arbitrary number of times. The first line contains one integer t ( 1 <= t <= 10^5 ) -- the number of test cases. Then the test cases follow. The first line of each test case contains one integer n ( 1 <= n <= 2 cdot 10^5 ) -- the number of monsters in the dungeon. The second line contains n integers a_1 , a_2 , ..., a_n ( 1 <= a_i <= 10^9 ), where a_i is the power of the i -th monster. The third line contains one integer m ( 1 <= m <= 2 cdot 10^5 ) -- the number of heroes in your party. Then m lines follow, ea"...

Tutorials

Educational Codeforces Round 76 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
64859883 lyyyyy D Nov. 14, 2019, 2:24 a.m. OK Clang++17 Diagnostics TESTS 56 1965 2457600 1700
64844972 ruban D Nov. 13, 2019, 5:18 p.m. OK Delphi TESTS 56 202 124825600 1700
69864470 LaSWeeG D Jan. 30, 2020, 7:47 p.m. OK FPC TESTS 56 374 5120000 1700
65131002 vjudge5 D Nov. 16, 2019, 3:14 a.m. OK FPC TESTS 56 389 2457600 1700
65126902 vjudge4 D Nov. 16, 2019, 3:04 a.m. OK FPC TESTS 56 405 2662400 1700
64845647 rainboy D Nov. 13, 2019, 5:29 p.m. OK GNU C11 TESTS 56 373 1638400 1700
65221924 jschr D Nov. 16, 2019, 9:30 p.m. OK GNU C11 TESTS 56 374 1638400 1700
64858823 YOK D Nov. 14, 2019, 1:37 a.m. OK GNU C11 TESTS 56 374 16793600 1700
64846319 Chipe1 D Nov. 13, 2019, 5:42 p.m. OK GNU C11 TESTS 56 389 3993600 1700
64860885 loutianchi D Nov. 14, 2019, 3:04 a.m. OK GNU C++11 TESTS 56 31 1638400 1700
64906952 yspm D Nov. 14, 2019, 10:54 p.m. OK GNU C++11 TESTS 56 31 3174400 1700
64869198 hkxadpall D Nov. 14, 2019, 7:32 a.m. OK GNU C++11 TESTS 56 31 3174400 1700
64873027 2016c01 D Nov. 14, 2019, 8:51 a.m. OK GNU C++11 TESTS 56 46 1433600 1700
64856726 2016c01 D Nov. 13, 2019, 11:45 p.m. OK GNU C++11 TESTS 56 46 1433600 1700
64873524 2016c01 D Nov. 14, 2019, 9 a.m. OK GNU C++11 TESTS 56 46 1433600 1700
65040047 luogu_bot3 D Nov. 15, 2019, 1:06 p.m. OK GNU C++11 TESTS 56 46 1433600 1700
65117752 luogu_bot2 D Nov. 16, 2019, 1:53 a.m. OK GNU C++11 TESTS 56 46 1433600 1700
65165865 edmond_Y D Nov. 16, 2019, 1:15 p.m. OK GNU C++11 TESTS 56 46 1433600 1700
64878752 WaAccept D Nov. 14, 2019, 10:52 a.m. OK GNU C++11 TESTS 56 46 1536000 1700
64862109 wleung_bvg D Nov. 14, 2019, 3:52 a.m. OK GNU C++14 TESTS 56 46 1740800 1700
64840878 zoomkoding D Nov. 13, 2019, 4:32 p.m. OK GNU C++14 TESTS 56 46 2150400 1700
65054305 BeNoble D Nov. 15, 2019, 2:31 p.m. OK GNU C++14 TESTS 56 46 3891200 1700
64846472 vishnu_m D Nov. 13, 2019, 5:45 p.m. OK GNU C++14 TESTS 56 61 3174400 1700
64879705 angrysqrt3 D Nov. 14, 2019, 11:13 a.m. OK GNU C++14 TESTS 56 78 1536000 1700
64909517 SpringsVGC D Nov. 15, 2019, 2 a.m. OK GNU C++14 TESTS 56 93 1536000 1700
66032790 HipHop D Nov. 30, 2019, 10:43 a.m. OK GNU C++14 TESTS 56 93 1536000 1700
65166697 zheshen666 D Nov. 16, 2019, 1:35 p.m. OK GNU C++14 TESTS 56 93 1638400 1700
65326445 soimportant D Nov. 19, 2019, 1:53 a.m. OK GNU C++14 TESTS 56 93 1638400 1700
65330802 201831990439 D Nov. 19, 2019, 5:56 a.m. OK GNU C++14 TESTS 56 93 2457600 1700
64894161 happypotamus D Nov. 14, 2019, 3:53 p.m. OK GNU C++17 TESTS 56 31 1638400 1700
64897563 happypotamus D Nov. 14, 2019, 5:19 p.m. OK GNU C++17 TESTS 56 31 1638400 1700
65057118 neal D Nov. 15, 2019, 3:32 p.m. OK GNU C++17 TESTS 56 31 1638400 1700
64894405 happypotamus D Nov. 14, 2019, 3:59 p.m. OK GNU C++17 TESTS 56 31 1638400 1700
64897444 happypotamus D Nov. 14, 2019, 5:16 p.m. OK GNU C++17 TESTS 56 31 1740800 1700
65330613 interestingLSY D Nov. 19, 2019, 5:48 a.m. OK GNU C++17 TESTS 56 31 3174400 1700
64898772 happypotamus D Nov. 14, 2019, 5:51 p.m. OK GNU C++17 TESTS 56 46 1638400 1700
66263009 .tx D Dec. 4, 2019, 9:13 a.m. OK GNU C++17 TESTS 56 46 1638400 1700
65930432 ioyeoa D Nov. 28, 2019, 8:40 p.m. OK GNU C++17 TESTS 56 46 1638400 1700
64896368 happypotamus D Nov. 14, 2019, 4:46 p.m. OK GNU C++17 TESTS 56 46 1638400 1700
64861445 synapse D Nov. 14, 2019, 3:25 a.m. OK Go TESTS 56 280 17817600 1700
65725827 stefan.sakalik D Nov. 25, 2019, 10:54 p.m. OK Go TESTS 56 327 4608000 1700
64907495 reanimatorzon D Nov. 14, 2019, 11:38 p.m. OK Go TESTS 56 327 22016000 1700
65133570 maguroguma D Nov. 16, 2019, 4:59 a.m. OK Go TESTS 56 452 9728000 1700
65113527 maguroguma D Nov. 16, 2019, 1:32 a.m. OK Go TESTS 56 467 9728000 1700
65476241 lpls1 D Nov. 21, 2019, 10:11 a.m. OK Java 11 TESTS 56 202 0 1700
64841113 Musin D Nov. 13, 2019, 4:33 p.m. OK Java 11 TESTS 56 248 0 1700
65678528 elkadymohammed01 D Nov. 24, 2019, 6:45 p.m. OK Java 11 TESTS 56 264 6246400 1700
65712672 1NVAL1D D Nov. 25, 2019, 3:02 p.m. OK Java 11 TESTS 56 280 0 1700
64865689 pikapika00 D Nov. 14, 2019, 6:05 a.m. OK Java 11 TESTS 56 295 512000 1700
66827642 machhra D Dec. 14, 2019, 9:29 a.m. OK Java 11 TESTS 56 296 7168000 1700
64853840 Anonymous D Nov. 13, 2019, 9:10 p.m. OK Java 11 TESTS 56 311 6656000 1700
64850179 potatmen D Nov. 13, 2019, 7:14 p.m. OK Java 11 TESTS 56 327 6144000 1700
69933054 alankritanand001 D Feb. 1, 2020, 1:41 a.m. OK Java 11 TESTS 56 608 0 1700
64841516 Dukkha D Nov. 13, 2019, 4:34 p.m. OK Java 11 TESTS 56 701 0 1700
65149449 johnny16 D Nov. 16, 2019, 6:54 a.m. OK Java 8 TESTS 56 124 0 1700
65139668 amolpratap007 D Nov. 16, 2019, 6:07 a.m. OK Java 8 TESTS 56 124 0 1700
65586421 MahmoudJobeel D Nov. 23, 2019, 12:37 p.m. OK Java 8 TESTS 56 140 0 1700
65149439 te_amo D Nov. 16, 2019, 6:54 a.m. OK Java 8 TESTS 56 155 8089600 1700
65055214 A5SAS51N D Nov. 15, 2019, 2:49 p.m. OK Java 8 TESTS 56 156 0 1700
64903965 TheRaven D Nov. 14, 2019, 8:26 p.m. OK Java 8 TESTS 56 171 0 1700
65035374 a_2410 D Nov. 15, 2019, 11:26 a.m. OK Java 8 TESTS 56 171 2048000 1700
65768661 xwchen D Nov. 26, 2019, 7:18 p.m. OK Java 8 TESTS 56 186 0 1700
64870456 htvu D Nov. 14, 2019, 7:59 a.m. OK Java 8 TESTS 56 187 2048000 1700
65275844 Khater D Nov. 18, 2019, 12:55 a.m. OK Java 8 TESTS 56 187 2150400 1700
64925656 shenqi16 D Nov. 15, 2019, 3:30 a.m. OK Kotlin TESTS 56 186 3686400 1700
64862374 Spheniscine D Nov. 14, 2019, 4:04 a.m. OK Kotlin TESTS 56 202 3686400 1700
64862288 Spheniscine D Nov. 14, 2019, 4 a.m. OK Kotlin TESTS 56 217 4608000 1700
64925475 shenqi16 D Nov. 15, 2019, 3:24 a.m. OK Kotlin TESTS 56 218 3686400 1700
64860766 Spheniscine D Nov. 14, 2019, 2:59 a.m. OK Kotlin TESTS 56 248 4915200 1700
64925569 shenqi16 D Nov. 15, 2019, 3:27 a.m. OK Kotlin TESTS 56 810 3686400 1700
64918420 shenqi16 D Nov. 15, 2019, 3:19 a.m. OK Kotlin TESTS 56 841 3686400 1700
64925450 shenqi16 D Nov. 15, 2019, 3:23 a.m. OK Kotlin TESTS 56 842 3686400 1700
64855077 Tlatoani D Nov. 13, 2019, 10:04 p.m. OK Kotlin TESTS 56 873 5632000 1700
64889027 AsuraPro D Nov. 14, 2019, 2:04 p.m. OK Kotlin TESTS 56 1138 7065600 1700
65161276 m1_k3 D Nov. 16, 2019, 11:28 a.m. OK Mono C# TESTS 56 187 3993600 1700
65532090 artworks D Nov. 22, 2019, 12:50 p.m. OK Mono C# TESTS 56 217 29184000 1700
65423462 tomomo2b2 D Nov. 20, 2019, 9:52 a.m. OK Mono C# TESTS 56 264 26726400 1700
64842512 plasma-effect D Nov. 13, 2019, 4:44 p.m. OK Mono C# TESTS 56 264 26931200 1700
65075012 hyzhangzhy D Nov. 15, 2019, 4:50 p.m. OK Mono C# TESTS 56 576 26726400 1700
65325154 tycyd D Nov. 18, 2019, 11:59 p.m. OK Mono C# TESTS 56 764 21811200 1700
65685773 niganiga D Nov. 24, 2019, 11:06 p.m. OK Mono C# TESTS 56 779 22220800 1700
69623507 ngtkana D Jan. 27, 2020, 3:08 p.m. OK Mono C# TESTS 56 811 26316800 1700
65097758 dev8546 D Nov. 15, 2019, 6:45 p.m. OK Mono C# TESTS 56 811 26316800 1700
64887687 YangYaya D Nov. 14, 2019, 1:38 p.m. OK MS C++ TESTS 56 77 1638400 1700
65525924 ShiBF D Nov. 22, 2019, 10:23 a.m. OK MS C++ TESTS 56 77 3174400 1700
66530470 seh631638554 D Dec. 9, 2019, 7:32 a.m. OK MS C++ TESTS 56 78 2457600 1700
66233582 vjudge3 D Dec. 3, 2019, 3:20 p.m. OK MS C++ TESTS 56 78 3174400 1700
65509098 ShiBF D Nov. 22, 2019, 2:08 a.m. OK MS C++ TESTS 56 93 3174400 1700
66409919 vjudge1 D Dec. 6, 2019, 2:58 p.m. OK MS C++ TESTS 56 93 3174400 1700
65246738 vjudge3 D Nov. 17, 2019, 10:41 a.m. OK MS C++ TESTS 56 420 2457600 1700
65519518 TianZuiXing D Nov. 22, 2019, 7:37 a.m. OK MS C++ TESTS 56 451 3174400 1700
65508204 1912607519 D Nov. 22, 2019, 1:16 a.m. OK MS C++ TESTS 56 467 4812800 1700
65519472 1912607519 D Nov. 22, 2019, 7:36 a.m. OK MS C++ TESTS 56 483 3174400 1700
64839843 2462478392 D Nov. 13, 2019, 4:29 p.m. OK MS C++ 2017 TESTS 56 139 3174400 1700
65484264 2018qwer D Nov. 21, 2019, 12:44 p.m. OK MS C++ 2017 TESTS 56 140 3174400 1700
66051768 yumin25180 D Nov. 30, 2019, 5:35 p.m. OK MS C++ 2017 TESTS 56 140 3174400 1700
64847127 dkyun D Nov. 13, 2019, 5:59 p.m. OK MS C++ 2017 TESTS 56 155 4198400 1700
65090124 XlolypopX D Nov. 15, 2019, 6:26 p.m. OK MS C++ 2017 TESTS 56 156 3174400 1700
65485004 2018qwer D Nov. 21, 2019, 1:01 p.m. OK MS C++ 2017 TESTS 56 156 3174400 1700
64840316 ouyeye D Nov. 13, 2019, 4:31 p.m. OK MS C++ 2017 TESTS 56 156 5632000 1700
65552499 _Artyom_ D Nov. 22, 2019, 7:37 p.m. OK MS C++ 2017 TESTS 56 186 1638400 1700
64875770 ICEY777 D Nov. 14, 2019, 9:47 a.m. OK MS C++ 2017 TESTS 56 280 66560000 1700
64875832 vjudge4 D Nov. 14, 2019, 9:48 a.m. OK MS C++ 2017 TESTS 56 280 66560000 1700
65374968 jean.baptiste D Nov. 19, 2019, 3:44 p.m. OK Node.js TESTS 56 1356 44544000 1700
64853259 mayakin D Nov. 13, 2019, 8:48 p.m. OK PHP TESTS 56 608 47923200 1700
65303186 yumtam D Nov. 18, 2019, 1:58 p.m. OK PyPy 2 TESTS 56 358 21811200 1700
64857431 NotMuchToLearn D Nov. 14, 2019, 12:27 a.m. OK PyPy 2 TESTS 56 1996 9932800 1700
65104993 O_Ramanujan D Nov. 15, 2019, 6:53 p.m. OK PyPy 3 TESTS 56 499 18636800 1700
64846824 RalorSell D Nov. 13, 2019, 5:52 p.m. OK PyPy 3 TESTS 56 499 18636800 1700
64866580 macleChen D Nov. 14, 2019, 6:30 a.m. OK PyPy 3 TESTS 56 499 18739200 1700
64857471 NotMuchToLearn D Nov. 14, 2019, 12:29 a.m. OK PyPy 3 TESTS 56 530 16076800 1700
64908254 juppy D Nov. 15, 2019, 12:37 a.m. OK PyPy 3 TESTS 56 545 12595200 1700
66118829 codershuvo D Dec. 1, 2019, 10:07 a.m. OK PyPy 3 TESTS 56 546 13516800 1700
65134423 satyamcse D Nov. 16, 2019, 5:27 a.m. OK PyPy 3 TESTS 56 546 33587200 1700
65938798 emmhush D Nov. 29, 2019, 4:40 a.m. OK PyPy 3 TESTS 56 560 18636800 1700
64866621 macleChen D Nov. 14, 2019, 6:31 a.m. OK PyPy 3 TESTS 56 560 18636800 1700
64908471 juppy D Nov. 15, 2019, 12:52 a.m. OK PyPy 3 TESTS 56 576 13107200 1700
65133564 amruth_kumar D Nov. 16, 2019, 4:59 a.m. OK Python 3 TESTS 56 1076 19353600 1700
64842542 Gaurav1 D Nov. 13, 2019, 4:44 p.m. OK Python 3 TESTS 56 1387 17920000 1700
65443062 petushny D Nov. 20, 2019, 2:58 p.m. OK Python 3 TESTS 56 1825 9523200 1700
64859979 Lina_Inverse D Nov. 14, 2019, 2:28 a.m. OK Python 3 TESTS 56 1918 15974400 1700
67295290 AlloysNokito D Dec. 20, 2019, 4:45 p.m. OK Python 3 TESTS 56 1949 9932800 1700
64859450 komolakanto D Nov. 14, 2019, 2:05 a.m. OK Python 3 TESTS 56 1949 19660800 1700
66740138 cameliapatilea D Dec. 12, 2019, 8:17 p.m. OK Python 3 TESTS 56 1965 9216000 1700
66817121 tushartyagi8750 D Dec. 14, 2019, 6:12 a.m. OK Python 3 TESTS 56 1965 9523200 1700
66462394 bnaninaidu9949 D Dec. 7, 2019, 3:16 p.m. OK Python 3 TESTS 56 1980 9216000 1700
64858034 n0body9200 D Nov. 14, 2019, 12:59 a.m. OK Python 3 TESTS 56 1980 14233600 1700
64842874 sansen D Nov. 13, 2019, 4:48 p.m. OK Rust TESTS 56 46 6348800 1700
65749502 ichyo D Nov. 26, 2019, 1:30 p.m. OK Rust TESTS 56 187 2252800 1700
69459892 akiradeveloper D Jan. 24, 2020, 10:15 a.m. OK Rust TESTS 56 1013 8089600 1700
65151574 techaddict D Nov. 16, 2019, 7:43 a.m. OK Scala TESTS 56 560 4300800 1700
65467302 yakamoto D Nov. 21, 2019, 6:43 a.m. OK Scala TESTS 56 576 6246400 1700

remove filters

Back to search problems