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 |
---|---|---|---|---|---|---|
1763 | Codeforces Round 840 (Div. 2) and Enigma 2022 - Cybros LNMIIT | FINISHED | False | 7200 | 60362699 | Dec. 19, 2022, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 14739 ) | B | Incinerate | PROGRAMMING | binary search brute force data structures sortings |
B'To destroy humanity, The Monster Association sent n monsters to Earth 's surface. The i -th monster has health h_i and power p_i . With his last resort attack, True Spiral Incineration Cannon, Genos can deal k damage to all monsters alive. In other words, Genos can reduce the health of all monsters by k (if k > 0 ) with a single attack. However, after every attack Genos makes, the monsters advance. With their combined efforts, they reduce Genos ' attack damage by the power of the ^ dagger weakest monster ^ ddagger alive. In other words, the minimum p_i among all currently living monsters is subtracted from the value of k after each attack. ^ dagger The Weakest monster is the one with the least power. ^ ddagger A monster is alive if its health is strictly greater than 0 . Will Genos be successful in killing all the monsters? The first line of the input contains a single integer t ( 1 <= t <= 100 ) -- the number of test cases. The description of test cases follows. The first line of each test case contains two integers, n and k ( 1 <= n, k <= 10^5 ) -- the number of monsters and Genos ' initial attack damage. Then two lines follow, each containing n integers describing the arrays h and p ( 1 <= h_i, p_i <= 10^9 ). It 's guaranteed that the sum of n over all test cases does not exceed 2 cdot 10^5 . For each test case, print the answer -- "YES" (without quotes) if Genos could kill all monsters and "NO" otherwise. In the first example, after Genos ' first attack, h and k will update to: '... |
Codeforces Round #840 (Div. 2) and Enigma 2022 — Cybros LNMIIT Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
186019701 | Pratyush21 | B | Dec. 19, 2022, 5:24 p.m. | OK | GNU C11 | TESTS | 17 | 93 | 2355200 | ||
186058132 | Tom66 | B | Dec. 20, 2022, 3:54 a.m. | OK | GNU C++14 | TESTS | 18 | 31 | 3276800 | ||
186019061 | IBAIB | B | Dec. 19, 2022, 5:20 p.m. | OK | GNU C++14 | TESTS | 17 | 93 | 3072000 | ||
186013966 | JigyasaSourtha | B | Dec. 19, 2022, 4:59 p.m. | OK | GNU C++14 | TESTS | 17 | 93 | 3072000 | ||
186062489 | jatinxkirito | B | Dec. 20, 2022, 5:08 a.m. | OK | GNU C++14 | TESTS | 18 | 93 | 3072000 | ||
186044913 | joshincr | B | Dec. 19, 2022, 9:45 p.m. | OK | GNU C++14 | TESTS | 17 | 93 | 3072000 | ||
186030606 | Shanaq | B | Dec. 19, 2022, 6:38 p.m. | OK | GNU C++14 | TESTS | 17 | 93 | 3891200 | ||
186004686 | indravihar15722 | B | Dec. 19, 2022, 4:16 p.m. | OK | GNU C++14 | TESTS | 17 | 93 | 7168000 | ||
186007934 | Maysan.Mo | B | Dec. 19, 2022, 4:25 p.m. | OK | GNU C++14 | TESTS | 17 | 108 | 2662400 | ||
186003728 | ModernSudama | B | Dec. 19, 2022, 4:13 p.m. | OK | GNU C++14 | TESTS | 17 | 108 | 3072000 | ||
186060946 | CapTa1nnn | B | Dec. 20, 2022, 4:43 a.m. | OK | GNU C++14 | TESTS | 18 | 109 | 1228800 | ||
186004709 | Jack404 | B | Dec. 19, 2022, 4:16 p.m. | OK | GNU C++17 | TESTS | 17 | 93 | 2560000 | ||
186041162 | afek | B | Dec. 19, 2022, 8:30 p.m. | OK | GNU C++17 | TESTS | 17 | 93 | 2662400 | ||
186042212 | notandrewchen | B | Dec. 19, 2022, 8:49 p.m. | OK | GNU C++17 | TESTS | 17 | 93 | 2764800 | ||
186042584 | gehadwael099 | B | Dec. 19, 2022, 8:55 p.m. | OK | GNU C++17 | TESTS | 17 | 93 | 3072000 | ||
186030945 | hasan_smndar | B | Dec. 19, 2022, 6:41 p.m. | OK | GNU C++17 | TESTS | 17 | 93 | 3072000 | ||
186024207 | Ice_Bear521 | B | Dec. 19, 2022, 5:51 p.m. | OK | GNU C++17 | TESTS | 17 | 93 | 3072000 | ||
186021328 | roxanne03 | B | Dec. 19, 2022, 5:33 p.m. | OK | GNU C++17 | TESTS | 17 | 93 | 3072000 | ||
186020962 | roxanne03 | B | Dec. 19, 2022, 5:31 p.m. | OK | GNU C++17 | TESTS | 17 | 93 | 3072000 | ||
186015425 | Ashish_Mohanka | B | Dec. 19, 2022, 5:04 p.m. | OK | GNU C++17 | TESTS | 17 | 93 | 3072000 | ||
186060611 | zken7 | B | Dec. 20, 2022, 4:37 a.m. | OK | GNU C++17 | TESTS | 18 | 93 | 3072000 | ||
186061848 | Alex_Wei | B | Dec. 20, 2022, 4:58 a.m. | OK | GNU C++17 (64) | TESTS | 18 | 62 | 819200 | ||
186044572 | NK_ | B | Dec. 19, 2022, 9:37 p.m. | OK | GNU C++17 (64) | TESTS | 17 | 62 | 819200 | ||
186040197 | enslaved | B | Dec. 19, 2022, 8:14 p.m. | OK | GNU C++17 (64) | TESTS | 17 | 77 | 2048000 | ||
186031481 | Prabhat0602 | B | Dec. 19, 2022, 6:45 p.m. | OK | GNU C++17 (64) | TESTS | 17 | 77 | 5836800 | ||
186011108 | iling_ | B | Dec. 19, 2022, 4:33 p.m. | OK | GNU C++17 (64) | TESTS | 17 | 77 | 7475200 | ||
186014034 | nil_12 | B | Dec. 19, 2022, 4:59 p.m. | OK | GNU C++17 (64) | TESTS | 17 | 78 | 819200 | ||
186051656 | Awesome3.14 | B | Dec. 20, 2022, 1:28 a.m. | OK | GNU C++17 (64) | TESTS | 18 | 78 | 819200 | ||
186017525 | LONG_LONG_MAX | B | Dec. 19, 2022, 5:12 p.m. | OK | GNU C++17 (64) | TESTS | 17 | 78 | 1228800 | ||
186035619 | pritish_001 | B | Dec. 19, 2022, 7:23 p.m. | OK | GNU C++17 (64) | TESTS | 17 | 78 | 1228800 | ||
186060383 | czswez | B | Dec. 20, 2022, 4:33 a.m. | OK | GNU C++17 (64) | TESTS | 18 | 78 | 1638400 | ||
186017627 | lintkey | B | Dec. 19, 2022, 5:12 p.m. | OK | GNU C++20 (64) | TESTS | 17 | 31 | 921600 | ||
186016299 | lintkey | B | Dec. 19, 2022, 5:07 p.m. | OK | GNU C++20 (64) | TESTS | 17 | 31 | 1843200 | ||
186017346 | lintkey | B | Dec. 19, 2022, 5:11 p.m. | OK | GNU C++20 (64) | TESTS | 17 | 46 | 819200 | ||
186053485 | Oinng | B | Dec. 20, 2022, 2:20 a.m. | OK | GNU C++20 (64) | TESTS | 18 | 46 | 1638400 | ||
186003171 | looklols | B | Dec. 19, 2022, 4:12 p.m. | OK | GNU C++20 (64) | TESTS | 17 | 61 | 5939200 | ||
186062531 | huermosi | B | Dec. 20, 2022, 5:08 a.m. | OK | GNU C++20 (64) | TESTS | 18 | 62 | 819200 | ||
186063115 | MarcusL | B | Dec. 20, 2022, 5:17 a.m. | OK | GNU C++20 (64) | TESTS | 18 | 62 | 819200 | ||
186054807 | Forwhy | B | Dec. 20, 2022, 2:54 a.m. | OK | GNU C++20 (64) | TESTS | 18 | 62 | 819200 | ||
186045470 | Ahmed7ossam | B | Dec. 19, 2022, 9:59 p.m. | OK | GNU C++20 (64) | TESTS | 17 | 62 | 819200 | ||
186036057 | ...Esha... | B | Dec. 19, 2022, 7:27 p.m. | OK | GNU C++20 (64) | TESTS | 17 | 62 | 819200 | ||
186010240 | _shrish_ | B | Dec. 19, 2022, 4:31 p.m. | OK | Go | TESTS | 17 | 249 | 8499200 | ||
186010210 | lorenzotinfena | B | Dec. 19, 2022, 4:31 p.m. | OK | Go | TESTS | 17 | 373 | 8806400 | ||
186031418 | deepakanto | B | Dec. 19, 2022, 6:45 p.m. | OK | Java 11 | TESTS | 17 | 296 | 0 | ||
186024269 | DOOMJUICE | B | Dec. 19, 2022, 5:51 p.m. | OK | Java 11 | TESTS | 17 | 311 | 0 | ||
186004447 | adarsh_code_01 | B | Dec. 19, 2022, 4:15 p.m. | OK | Java 11 | TESTS | 17 | 311 | 921600 | ||
186040943 | Jackyjuman | B | Dec. 19, 2022, 8:27 p.m. | OK | Java 11 | TESTS | 17 | 312 | 1433600 | ||
186021466 | ushikawa | B | Dec. 19, 2022, 5:34 p.m. | OK | Java 11 | TESTS | 17 | 327 | 4505600 | ||
186003698 | T_PAVAN_NAGARAJU | B | Dec. 19, 2022, 4:13 p.m. | OK | Java 11 | TESTS | 17 | 389 | 8601600 | ||
186004604 | ETHANHUNTMI5 | B | Dec. 19, 2022, 4:16 p.m. | OK | Java 11 | TESTS | 17 | 421 | 7680000 | ||
186004295 | tushar_104 | B | Dec. 19, 2022, 4:15 p.m. | OK | Java 11 | TESTS | 17 | 436 | 26726400 | ||
186003689 | jagnathreddy9 | B | Dec. 19, 2022, 4:13 p.m. | OK | Java 11 | TESTS | 17 | 764 | 0 | ||
186004019 | deepu1877 | B | Dec. 19, 2022, 4:14 p.m. | OK | Java 11 | TESTS | 17 | 764 | 2355200 | ||
186039183 | AL-Muzahid | B | Dec. 19, 2022, 7:59 p.m. | OK | Java 17 | TESTS | 17 | 342 | 3481600 | ||
186020475 | trycodeforfun111 | B | Dec. 19, 2022, 5:28 p.m. | OK | Java 17 | TESTS | 17 | 342 | 5222400 | ||
186020272 | trycodeforfun111 | B | Dec. 19, 2022, 5:27 p.m. | OK | Java 17 | TESTS | 17 | 342 | 6246400 | ||
186010334 | prituladima | B | Dec. 19, 2022, 4:31 p.m. | OK | Java 17 | TESTS | 17 | 343 | 204800 | ||
186020863 | trycodeforfun111 | B | Dec. 19, 2022, 5:31 p.m. | OK | Java 17 | TESTS | 17 | 358 | 5734400 | ||
186026416 | irachit0702 | B | Dec. 19, 2022, 6:06 p.m. | OK | Java 17 | TESTS | 17 | 374 | 5529600 | ||
186045894 | merlin_ | B | Dec. 19, 2022, 10:11 p.m. | OK | Java 17 | TESTS | 17 | 436 | 13209600 | ||
186045815 | MThiaweng | B | Dec. 19, 2022, 10:09 p.m. | OK | Java 17 | TESTS | 17 | 514 | 13721600 | ||
186014591 | Eslam_Ahmed | B | Dec. 19, 2022, 5 p.m. | OK | Java 17 | TESTS | 17 | 576 | 23347200 | ||
186040465 | Suraj1607 | B | Dec. 19, 2022, 8:19 p.m. | OK | Java 17 | TESTS | 17 | 811 | 819200 | ||
186054797 | ikillmyself | B | Dec. 20, 2022, 2:54 a.m. | OK | Java 8 | TESTS | 18 | 218 | 0 | ||
186033600 | Diaa12360 | B | Dec. 19, 2022, 7:03 p.m. | OK | Java 8 | TESTS | 17 | 218 | 0 | ||
186003820 | UzmakiNaruto | B | Dec. 19, 2022, 4:14 p.m. | OK | Java 8 | TESTS | 17 | 218 | 2764800 | ||
186034262 | gagan_6730 | B | Dec. 19, 2022, 7:09 p.m. | OK | Java 8 | TESTS | 17 | 218 | 3584000 | ||
186016526 | Mohamed_A7med | B | Dec. 19, 2022, 5:08 p.m. | OK | Java 8 | TESTS | 17 | 233 | 2764800 | ||
186054778 | cys02 | B | Dec. 20, 2022, 2:53 a.m. | OK | Java 8 | TESTS | 18 | 265 | 6041600 | ||
186006277 | amit_roy | B | Dec. 19, 2022, 4:20 p.m. | OK | Java 8 | TESTS | 17 | 342 | 4608000 | ||
186036905 | imvivekthakur | B | Dec. 19, 2022, 7:36 p.m. | OK | Java 8 | TESTS | 17 | 358 | 7987200 | ||
186005690 | viraj2411 | B | Dec. 19, 2022, 4:19 p.m. | OK | Java 8 | TESTS | 17 | 779 | 0 | ||
186004210 | Rachit_3850 | B | Dec. 19, 2022, 4:15 p.m. | OK | Java 8 | TESTS | 17 | 794 | 0 | ||
186021525 | sky | B | Dec. 19, 2022, 5:35 p.m. | OK | Kotlin 1.6 | TESTS | 17 | 483 | 8192000 | ||
186020696 | sky | B | Dec. 19, 2022, 5:30 p.m. | OK | Kotlin 1.6 | TESTS | 17 | 499 | 8192000 | ||
186014447 | sky | B | Dec. 19, 2022, 5 p.m. | OK | Kotlin 1.6 | TESTS | 17 | 514 | 8192000 | ||
186014735 | sky | B | Dec. 19, 2022, 5:01 p.m. | OK | Kotlin 1.6 | TESTS | 17 | 546 | 9113600 | ||
186020596 | sky | B | Dec. 19, 2022, 5:29 p.m. | OK | Kotlin 1.7 | TESTS | 17 | 982 | 133324800 | ||
186021082 | sky | B | Dec. 19, 2022, 5:32 p.m. | OK | Kotlin 1.7 | TESTS | 17 | 997 | 152883200 | ||
186020466 | sky | B | Dec. 19, 2022, 5:28 p.m. | OK | Kotlin 1.7 | TESTS | 17 | 998 | 143360000 | ||
186041133 | aadrito | B | Dec. 19, 2022, 8:30 p.m. | OK | MS C++ 2017 | TESTS | 17 | 358 | 2560000 | ||
186040964 | aadrito | B | Dec. 19, 2022, 8:27 p.m. | OK | MS C++ 2017 | TESTS | 17 | 358 | 2560000 | ||
186055367 | hua_yi_jiu | B | Dec. 20, 2022, 3:06 a.m. | OK | MS C++ 2017 | TESTS | 18 | 436 | 35328000 | ||
186010127 | yihuicui | B | Dec. 19, 2022, 4:30 p.m. | OK | PyPy 2 | TESTS | 17 | 716 | 18534400 | ||
186042493 | grawlixes | B | Dec. 19, 2022, 8:54 p.m. | OK | PyPy 3 | TESTS | 17 | 342 | 20582400 | ||
186060405 | Raindrops1117 | B | Dec. 20, 2022, 4:34 a.m. | OK | PyPy 3 | TESTS | 18 | 530 | 26726400 | ||
186030331 | plevande | B | Dec. 19, 2022, 6:36 p.m. | OK | PyPy 3 | TESTS | 17 | 608 | 16588800 | ||
186026087 | VovaLolKek | B | Dec. 19, 2022, 6:04 p.m. | OK | PyPy 3 | TESTS | 17 | 670 | 16486400 | ||
186003185 | harshini.paranjape | B | Dec. 19, 2022, 4:12 p.m. | OK | PyPy 3 | TESTS | 17 | 701 | 18534400 | ||
186024613 | u1602016 | B | Dec. 19, 2022, 5:54 p.m. | OK | PyPy 3 | TESTS | 17 | 764 | 23859200 | ||
186039329 | chgliu | B | Dec. 19, 2022, 8:01 p.m. | OK | PyPy 3 | TESTS | 17 | 810 | 19660800 | ||
186051465 | lyreloi | B | Dec. 20, 2022, 1:23 a.m. | OK | PyPy 3 | TESTS | 18 | 841 | 16486400 | ||
186007926 | kamal0308 | B | Dec. 19, 2022, 4:25 p.m. | OK | PyPy 3 | TESTS | 17 | 967 | 16179200 | ||
186004265 | Asharma538 | B | Dec. 19, 2022, 4:15 p.m. | OK | PyPy 3-64 | TESTS | 17 | 202 | 22220800 | ||
186033253 | pranavkumar | B | Dec. 19, 2022, 7 p.m. | OK | PyPy 3-64 | TESTS | 17 | 233 | 26316800 | ||
186033476 | pranavkumar | B | Dec. 19, 2022, 7:02 p.m. | OK | PyPy 3-64 | TESTS | 17 | 233 | 28364800 | ||
186032537 | pranavkumar | B | Dec. 19, 2022, 6:54 p.m. | OK | PyPy 3-64 | TESTS | 17 | 233 | 30412800 | ||
186033505 | beethoven97 | B | Dec. 19, 2022, 7:02 p.m. | OK | PyPy 3-64 | TESTS | 17 | 280 | 20992000 | ||
186033937 | OmarMoBadr | B | Dec. 19, 2022, 7:06 p.m. | OK | PyPy 3-64 | TESTS | 17 | 280 | 27033600 | ||
186055942 | griffindor | B | Dec. 20, 2022, 3:16 a.m. | OK | PyPy 3-64 | TESTS | 18 | 280 | 27136000 | ||
186033338 | beethoven97 | B | Dec. 19, 2022, 7:01 p.m. | OK | PyPy 3-64 | TESTS | 17 | 295 | 20787200 | ||
186020012 | Amay12 | B | Dec. 19, 2022, 5:25 p.m. | OK | PyPy 3-64 | TESTS | 17 | 311 | 30003200 | ||
186015667 | wuh | B | Dec. 19, 2022, 5:04 p.m. | OK | PyPy 3-64 | TESTS | 17 | 312 | 20992000 | ||
186020841 | sa_vannah | B | Dec. 19, 2022, 5:30 p.m. | OK | Python 3 | TESTS | 17 | 592 | 11366400 | ||
186016789 | mariemmohamed200713 | B | Dec. 19, 2022, 5:09 p.m. | OK | Python 3 | TESTS | 17 | 592 | 11571200 | ||
186060889 | L.Rushi | B | Dec. 20, 2022, 4:42 a.m. | OK | Python 3 | TESTS | 18 | 608 | 11366400 | ||
186020802 | Quick-One | B | Dec. 19, 2022, 5:30 p.m. | OK | Python 3 | TESTS | 17 | 623 | 11571200 | ||
186060526 | kulwantraj1997 | B | Dec. 20, 2022, 4:36 a.m. | OK | Python 3 | TESTS | 18 | 654 | 11878400 | ||
186020986 | dmenezes | B | Dec. 19, 2022, 5:31 p.m. | OK | Python 3 | TESTS | 17 | 701 | 11878400 | ||
186017771 | arun-mugu | B | Dec. 19, 2022, 5:13 p.m. | OK | Python 3 | TESTS | 17 | 717 | 14336000 | ||
186041906 | alex_777 | B | Dec. 19, 2022, 8:43 p.m. | OK | Python 3 | TESTS | 17 | 763 | 12492800 | ||
186055467 | kollabhargavre1 | B | Dec. 20, 2022, 3:07 a.m. | OK | Python 3 | TESTS | 18 | 779 | 17715200 | ||
186041089 | abcsumit | B | Dec. 19, 2022, 8:29 p.m. | OK | Python 3 | TESTS | 17 | 810 | 12595200 |
Back to search problems