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 |
---|---|---|---|---|---|---|
1260 | Educational Codeforces Round 77 (Rated for Div. 2) | FINISHED | False | 7200 | 156960599 | Nov. 27, 2019, 1:50 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 3870 ) | D | A Game with Traps | PROGRAMMING | binary search dp greedy sortings | 1900 |
B"You are playing a computer game, where you lead a party of m soldiers. Each soldier is characterised by his agility a_i . The level you are trying to get through can be represented as a straight line segment from point 0 (where you and your squad is initially located) to point n + 1 (where the boss is located). The level is filled with k traps. Each trap is represented by three numbers l_i , r_i and d_i . l_i is the location of the trap, and d_i is the danger level of the trap: whenever a soldier with agility lower than d_i steps on a trap (that is, moves to the point l_i ), he gets instantly killed. Fortunately, you can disarm traps: if you move to the point r_i , you disarm this trap, and it no longer poses any danger to your soldiers. Traps don't affect you, only your soldiers. You have t seconds to complete the level -- that is, to bring some soldiers from your squad to the boss. Before the level starts, you choose which soldiers will be coming with you, and which soldiers won't be. After that, you have to bring all of the chosen soldiers to the boss. To do so, you may perform the following actions: Note that after each action both your coordinate and the coordinate of your squad should be integers. You have to choose the maximum number of soldiers such that they all can be brought from the point 0 to the point n + 1 (where the boss waits) in no more than t seconds. The first line contains four integers m , n , k and t ( 1 <= m, n, k, t <= 2 cdot 10^5 , n < t ) -- the number of soldiers, the number of integer points between the squad and the boss, the number of traps and the maximum number of seconds you may spend to bring the squad to the boss, respectively. The second line contains m integers a_1 , a_2 , ..., a_m ( 1 <= a_i <= 2 cdot 10^5 ), where a_i is the agility of the i -th s"... |
Educational Codeforces Round 77 Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
65884283 | quevangel | D | Nov. 27, 2019, 9 p.m. | OK | D | TESTS | 51 | 327 | 11776000 | 1900 | |
65884464 | quevangel | D | Nov. 27, 2019, 9:09 p.m. | OK | D | TESTS | 51 | 342 | 11776000 | 1900 | |
69005045 | rr_ | D | Jan. 17, 2020, 10:20 p.m. | OK | D | TESTS | 51 | 389 | 22425600 | 1900 | |
65883241 | quevangel | D | Nov. 27, 2019, 8:14 p.m. | OK | D | TESTS | 51 | 405 | 22323200 | 1900 | |
65882862 | quevangel | D | Nov. 27, 2019, 8:01 p.m. | OK | D | TESTS | 51 | 702 | 22323200 | 1900 | |
65869130 | iica | D | Nov. 27, 2019, 3:46 p.m. | OK | D | TESTS | 51 | 966 | 25292800 | 1900 | |
65885215 | vinhntndu | D | Nov. 27, 2019, 9:49 p.m. | OK | FPC | TESTS | 51 | 140 | 4915200 | 1900 | |
65869949 | YOK | D | Nov. 27, 2019, 3:48 p.m. | OK | GNU C11 | TESTS | 51 | 139 | 5632000 | 1900 | |
67667785 | FE40536 | D | Dec. 26, 2019, 6:39 p.m. | OK | GNU C11 | TESTS | 51 | 171 | 5632000 | 1900 | |
66073582 | jschr | D | Nov. 30, 2019, 9:09 p.m. | OK | GNU C11 | TESTS | 51 | 217 | 9625600 | 1900 | |
65889050 | BaseAI | D | Nov. 28, 2019, 1:59 a.m. | OK | GNU C++11 | TESTS | 51 | 61 | 3174400 | 1900 | |
65858213 | Fuyuki | D | Nov. 27, 2019, 3:10 p.m. | OK | GNU C++11 | TESTS | 51 | 61 | 6144000 | 1900 | |
66163561 | BeNoble | D | Dec. 2, 2019, 6:13 a.m. | OK | GNU C++11 | TESTS | 51 | 61 | 6246400 | 1900 | |
65860613 | Scorpioch | D | Nov. 27, 2019, 3:18 p.m. | OK | GNU C++11 | TESTS | 51 | 62 | 3174400 | 1900 | |
65953693 | RocketTurtle | D | Nov. 29, 2019, 11:55 a.m. | OK | GNU C++11 | TESTS | 51 | 62 | 3174400 | 1900 | |
65950789 | pipiguai | D | Nov. 29, 2019, 10:46 a.m. | OK | GNU C++11 | TESTS | 51 | 62 | 3174400 | 1900 | |
65868512 | Ultflash | D | Nov. 27, 2019, 3:44 p.m. | OK | GNU C++11 | TESTS | 51 | 62 | 3174400 | 1900 | |
66532341 | TheShadow_DC | D | Dec. 9, 2019, 8 a.m. | OK | GNU C++11 | TESTS | 51 | 62 | 3993600 | 1900 | |
67653183 | Rainbow_sjy | D | Dec. 26, 2019, 12:56 p.m. | OK | GNU C++11 | TESTS | 51 | 62 | 3993600 | 1900 | |
66533252 | TheShadow_DC | D | Dec. 9, 2019, 8:27 a.m. | OK | GNU C++11 | TESTS | 51 | 62 | 3993600 | 1900 | |
66276600 | rohan_vora | D | Dec. 4, 2019, 2:55 p.m. | OK | GNU C++14 | TESTS | 51 | 62 | 8192000 | 1900 | |
66276559 | rohan_vora | D | Dec. 4, 2019, 2:54 p.m. | OK | GNU C++14 | TESTS | 51 | 77 | 8192000 | 1900 | |
65890002 | BtnK_ij | D | Nov. 28, 2019, 2:40 a.m. | OK | GNU C++14 | TESTS | 51 | 140 | 3174400 | 1900 | |
65872497 | onlystar | D | Nov. 27, 2019, 4:07 p.m. | OK | GNU C++14 | TESTS | 51 | 155 | 3174400 | 1900 | |
65880859 | Temirulan | D | Nov. 27, 2019, 6:57 p.m. | OK | GNU C++14 | TESTS | 51 | 155 | 3993600 | 1900 | |
65857752 | QAQmika | D | Nov. 27, 2019, 3:09 p.m. | OK | GNU C++14 | TESTS | 51 | 155 | 3993600 | 1900 | |
65868250 | orzzzzzz | D | Nov. 27, 2019, 3:43 p.m. | OK | GNU C++14 | TESTS | 51 | 155 | 9625600 | 1900 | |
65943094 | heiheiheit | D | Nov. 29, 2019, 7:19 a.m. | OK | GNU C++14 | TESTS | 51 | 156 | 3174400 | 1900 | |
65859701 | zarathu | D | Nov. 27, 2019, 3:15 p.m. | OK | GNU C++14 | TESTS | 51 | 156 | 3174400 | 1900 | |
66658696 | BakaC1rno | D | Dec. 12, 2019, 2:39 a.m. | OK | GNU C++14 | TESTS | 51 | 156 | 3993600 | 1900 | |
66270855 | nickluo | D | Dec. 4, 2019, 12:15 p.m. | OK | GNU C++17 | TESTS | 51 | 62 | 4505600 | 1900 | |
66016966 | HatsuneMikuo | D | Nov. 30, 2019, 5:52 a.m. | OK | GNU C++17 | TESTS | 51 | 77 | 10342400 | 1900 | |
65886009 | vinhntndu | D | Nov. 27, 2019, 10:27 p.m. | OK | GNU C++17 | TESTS | 51 | 78 | 10240000 | 1900 | |
65886178 | vinhntndu | D | Nov. 27, 2019, 10:36 p.m. | OK | GNU C++17 | TESTS | 51 | 139 | 6758400 | 1900 | |
66257654 | vjudge5 | D | Dec. 4, 2019, 6:51 a.m. | OK | GNU C++17 | TESTS | 51 | 140 | 5632000 | 1900 | |
66619486 | Awelless | D | Dec. 11, 2019, 6:19 a.m. | OK | GNU C++17 | TESTS | 51 | 140 | 6144000 | 1900 | |
67586261 | ZhuZiyi | D | Dec. 25, 2019, 8:25 a.m. | OK | GNU C++17 | TESTS | 51 | 155 | 3993600 | 1900 | |
65892836 | AC_AR | D | Nov. 28, 2019, 4:27 a.m. | OK | GNU C++17 | TESTS | 51 | 155 | 4812800 | 1900 | |
65917777 | hjj | D | Nov. 28, 2019, 3:14 p.m. | OK | GNU C++17 | TESTS | 51 | 155 | 5632000 | 1900 | |
65870734 | iaNTU | D | Nov. 27, 2019, 3:49 p.m. | OK | GNU C++17 | TESTS | 51 | 155 | 8806400 | 1900 | |
66490127 | maguroguma | D | Dec. 8, 2019, 8:14 a.m. | OK | Go | TESTS | 51 | 358 | 9728000 | 1900 | |
65861872 | caidodo0_0 | D | Nov. 27, 2019, 3:22 p.m. | OK | Go | TESTS | 51 | 483 | 9728000 | 1900 | |
66745640 | eidan | D | Dec. 13, 2019, 1:55 a.m. | OK | Haskell | TESTS | 51 | 2510 | 188108800 | 1900 | |
66745482 | eidan | D | Dec. 13, 2019, 1:44 a.m. | OK | Haskell | TESTS | 51 | 2745 | 188108800 | 1900 | |
65880406 | IslamTalipovTop | D | Nov. 27, 2019, 6:45 p.m. | OK | Java 11 | TESTS | 51 | 373 | 12902400 | 1900 | |
65884788 | TheSawan | D | Nov. 27, 2019, 9:26 p.m. | OK | Java 11 | TESTS | 51 | 717 | 30720000 | 1900 | |
66166138 | potatmen | D | Dec. 2, 2019, 7:43 a.m. | OK | Java 11 | TESTS | 51 | 810 | 36556800 | 1900 | |
65866673 | Pirigoticx | D | Nov. 27, 2019, 3:38 p.m. | OK | Java 11 | TESTS | 51 | 982 | 43110400 | 1900 | |
65873921 | Pirigoticx | D | Nov. 27, 2019, 4:25 p.m. | OK | Java 11 | TESTS | 51 | 1013 | 44236800 | 1900 | |
69925945 | tahmidurrafid | D | Jan. 31, 2020, 8:23 p.m. | OK | Java 11 | TESTS | 51 | 1045 | 5734400 | 1900 | |
65885469 | Anonymous | D | Nov. 27, 2019, 10:01 p.m. | OK | Java 11 | TESTS | 51 | 1840 | 21606400 | 1900 | |
66508180 | vaibhav28 | D | Dec. 8, 2019, 3:17 p.m. | OK | Java 8 | TESTS | 51 | 171 | 0 | 1900 | |
65868184 | Drona1233 | D | Nov. 27, 2019, 3:43 p.m. | OK | Java 8 | TESTS | 51 | 265 | 0 | 1900 | |
67648112 | ZeyadKhattab | D | Dec. 26, 2019, 11:02 a.m. | OK | Java 8 | TESTS | 51 | 280 | 3584000 | 1900 | |
65866717 | e_is_cool | D | Nov. 27, 2019, 3:38 p.m. | OK | Java 8 | TESTS | 51 | 280 | 5222400 | 1900 | |
65938006 | derrick20 | D | Nov. 29, 2019, 3:56 a.m. | OK | Java 8 | TESTS | 51 | 326 | 10649600 | 1900 | |
65870461 | icpc_loser | D | Nov. 27, 2019, 3:49 p.m. | OK | Java 8 | TESTS | 51 | 343 | 18944000 | 1900 | |
65873282 | ijxjdjd | D | Nov. 27, 2019, 4:17 p.m. | OK | Java 8 | TESTS | 51 | 358 | 3072000 | 1900 | |
65872650 | SecondThread | D | Nov. 27, 2019, 4:09 p.m. | OK | Java 8 | TESTS | 51 | 358 | 7270400 | 1900 | |
65875382 | chojh1222 | D | Nov. 27, 2019, 4:50 p.m. | OK | Java 8 | TESTS | 51 | 358 | 17612800 | 1900 | |
65859157 | courtesy | D | Nov. 27, 2019, 3:13 p.m. | OK | Java 8 | TESTS | 51 | 373 | 11673600 | 1900 | |
65883050 | Spheniscine | D | Nov. 27, 2019, 8:07 p.m. | OK | Kotlin | TESTS | 51 | 405 | 18022400 | 1900 | |
65882822 | Spheniscine | D | Nov. 27, 2019, 8 p.m. | OK | Kotlin | TESTS | 51 | 405 | 18022400 | 1900 | |
65897319 | AsuraPro | D | Nov. 28, 2019, 6:56 a.m. | OK | Kotlin | TESTS | 51 | 1590 | 18636800 | 1900 | |
65896183 | tycyd | D | Nov. 28, 2019, 6:19 a.m. | OK | Mono C# | TESTS | 51 | 358 | 24166400 | 1900 | |
65872474 | plasma-effect | D | Nov. 27, 2019, 4:07 p.m. | OK | Mono C# | TESTS | 51 | 373 | 38809600 | 1900 | |
66046846 | Yupiteru | D | Nov. 30, 2019, 3:27 p.m. | OK | Mono C# | TESTS | 51 | 1325 | 174796800 | 1900 | |
66463653 | vjudge4 | D | Dec. 7, 2019, 3:44 p.m. | OK | MS C++ | TESTS | 51 | 795 | 6451200 | 1900 | |
69466245 | z546855972 | D | Jan. 24, 2020, 12:58 p.m. | OK | MS C++ 2017 | TESTS | 51 | 187 | 3993600 | 1900 | |
66166620 | Laaahu_ | D | Dec. 2, 2019, 7:58 a.m. | OK | MS C++ 2017 | TESTS | 51 | 202 | 3993600 | 1900 | |
65877400 | youx | D | Nov. 27, 2019, 5:32 p.m. | OK | MS C++ 2017 | TESTS | 51 | 202 | 5734400 | 1900 | |
65861847 | dkyun | D | Nov. 27, 2019, 3:22 p.m. | OK | MS C++ 2017 | TESTS | 51 | 374 | 23040000 | 1900 | |
66213494 | catplatypus | D | Dec. 3, 2019, 7:54 a.m. | OK | MS C++ 2017 | TESTS | 51 | 436 | 6451200 | 1900 | |
66518781 | Yagyu_1 | D | Dec. 8, 2019, 8:36 p.m. | OK | MS C++ 2017 | TESTS | 51 | 436 | 6758400 | 1900 | |
66434413 | Agcer | D | Dec. 7, 2019, 5:26 a.m. | OK | MS C++ 2017 | TESTS | 51 | 561 | 3174400 | 1900 | |
65864781 | EgorShibaev | D | Nov. 27, 2019, 3:32 p.m. | OK | MS C++ 2017 | TESTS | 51 | 576 | 7987200 | 1900 | |
65948596 | Simon_Chen | D | Nov. 29, 2019, 9:47 a.m. | OK | MS C++ 2017 | TESTS | 51 | 577 | 7372800 | 1900 | |
65876004 | efyjef | D | Nov. 27, 2019, 5:02 p.m. | OK | MS C++ 2017 | TESTS | 51 | 577 | 16281600 | 1900 | |
65862057 | pajenegod | D | Nov. 27, 2019, 3:23 p.m. | OK | PyPy 2 | TESTS | 51 | 764 | 71680000 | 1900 | |
65861051 | bcollet | D | Nov. 27, 2019, 3:20 p.m. | OK | PyPy 2 | TESTS | 51 | 967 | 33792000 | 1900 | |
68025742 | tamato | D | Jan. 1, 2020, 5:32 a.m. | OK | PyPy 3 | TESTS | 51 | 592 | 19968000 | 1900 | |
65888184 | Coki628 | D | Nov. 28, 2019, 1:18 a.m. | OK | PyPy 3 | TESTS | 51 | 764 | 41779200 | 1900 | |
65904849 | wattaihei | D | Nov. 28, 2019, 10:26 a.m. | OK | PyPy 3 | TESTS | 51 | 857 | 37068800 | 1900 | |
66458887 | bnaninaidu9949 | D | Dec. 7, 2019, 2:07 p.m. | OK | PyPy 3 | TESTS | 51 | 857 | 38400000 | 1900 | |
66537841 | Aita_Venkata_Rishmitha | D | Dec. 9, 2019, 10:21 a.m. | OK | PyPy 3 | TESTS | 51 | 873 | 38297600 | 1900 | |
65877886 | titia | D | Nov. 27, 2019, 5:42 p.m. | OK | PyPy 3 | TESTS | 51 | 888 | 38297600 | 1900 | |
65878034 | titia | D | Nov. 27, 2019, 5:45 p.m. | OK | PyPy 3 | TESTS | 51 | 889 | 39116800 | 1900 | |
65880542 | titia | D | Nov. 27, 2019, 6:49 p.m. | OK | PyPy 3 | TESTS | 51 | 1138 | 29593600 | 1900 | |
65884882 | mitribunskiy | D | Nov. 27, 2019, 9:31 p.m. | OK | PyPy 3 | TESTS | 51 | 1138 | 33587200 | 1900 | |
65881854 | titia | D | Nov. 27, 2019, 7:28 p.m. | OK | PyPy 3 | TESTS | 51 | 1185 | 37683200 | 1900 | |
65940768 | Xujianing | D | Nov. 29, 2019, 6:03 a.m. | OK | Python 3 | TESTS | 51 | 2651 | 40140800 | 1900 | |
66682322 | sritha | D | Dec. 12, 2019, 1:34 p.m. | OK | Python 3 | TESTS | 51 | 2932 | 30310400 | 1900 | |
65865859 | super_hook_girl_lover | D | Nov. 27, 2019, 3:36 p.m. | OK | Ruby | TESTS | 51 | 1403 | 61132800 | 1900 | |
65886475 | sansen | D | Nov. 27, 2019, 10:56 p.m. | OK | Rust | TESTS | 51 | 109 | 15667200 | 1900 | |
66471116 | yoshrc | D | Dec. 7, 2019, 6:25 p.m. | OK | Rust | TESTS | 51 | 187 | 14540800 | 1900 | |
65865104 | yoshrc | D | Nov. 27, 2019, 3:33 p.m. | OK | Rust | TESTS | 51 | 342 | 9728000 | 1900 | |
65861615 | ichyo | D | Nov. 27, 2019, 3:21 p.m. | OK | Rust | TESTS | 51 | 420 | 11776000 | 1900 | |
65865800 | yakamoto | D | Nov. 27, 2019, 3:36 p.m. | OK | Scala | TESTS | 51 | 1076 | 75571200 | 1900 |
Back to search problems