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 |
---|---|---|---|---|---|---|
1607 | Codeforces Round 753 (Div. 3) | FINISHED | False | 7200 | 101402663 | Nov. 2, 2021, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 25398 ) | C | Minimum Extraction | PROGRAMMING | brute force sortings |
B'Yelisey has an array a of n integers. If a has length strictly greater than 1 , then Yelisei can apply an operation called minimum extraction to it: Thus, after each operation, the length of the array is reduced by 1 . For example, if a = [1, 6, -4, -2, -4] , then the minimum element in it is a_3 = -4 , which means that after this operation the array will be equal to a=[1 {- (-4)}, 6 {- (-4)}, -2 {- (-4)}, -4 {- (-4)}] = [5, 10, 2, 0] . Since Yelisey likes big numbers, he wants the numbers in the array a to be as big as possible. Formally speaking, he wants to make the minimum of the numbers in array a to be maximal possible (i.e. he want to maximize a minimum). To do this, Yelisey can apply the minimum extraction operation to the array as many times as he wants (possibly, zero). Note that the operation cannot be applied to an array of length 1 . Help him find what maximal value can the minimal element of the array have after applying several (possibly, zero) minimum extraction operations to the array. The first line contains an integer t ( 1 <= q t <= q 10^4 ) -- the number of test cases. The next 2t lines contain descriptions of the test cases. In the description of each test case, the first line contains an integer n ( 1 <= q n <= q 2 cdot 10^5 ) -- the original length of the array a . The second line of the description lists n space-separated integers a_i ( -10^9 <= q a_i <= q 10^9 ) -- elements of the array a . It is guaranteed that the sum of n over all test cases does not exceed 2 cdot 10^5 . Print t lines, each of them containing the answer to the corresponding test case. The answer to the test case is a single integer -- the maximal possible minimum in a , which can be obtained by several applications of the described operation to it. In the first example test case, the original length of the array n ='... |
Codeforces Round #753 (Div. 3) Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
134147923 | Gassa | C | Nov. 2, 2021, 7:18 p.m. | OK | D | TESTS | 8 | 108 | 22220800 | ||
134127239 | dianzikejidaxue | C | Nov. 2, 2021, 4:28 p.m. | OK | GNU C11 | TESTS | 4 | 62 | 4505600 | ||
134133210 | murali_33 | C | Nov. 2, 2021, 4:44 p.m. | OK | GNU C11 | TESTS | 4 | 62 | 4505600 | ||
134134405 | murali_33 | C | Nov. 2, 2021, 4:51 p.m. | OK | GNU C11 | TESTS | 4 | 62 | 4505600 | ||
134176688 | rbl_p | C | Nov. 3, 2021, 5:30 a.m. | OK | GNU C11 | TESTS | 8 | 78 | 4505600 | ||
134144498 | rahulshukla_12 | C | Nov. 2, 2021, 6:31 p.m. | OK | GNU C11 | TESTS | 8 | 78 | 5324800 | ||
134175495 | Lao_Nan_Ren | C | Nov. 3, 2021, 5:13 a.m. | OK | GNU C11 | TESTS | 8 | 78 | 5734400 | ||
134166621 | milan_s1 | C | Nov. 3, 2021, 3:16 a.m. | OK | GNU C++14 | TESTS | 8 | 46 | 1843200 | ||
134136710 | Yamannnnn | C | Nov. 2, 2021, 5:09 p.m. | OK | GNU C++14 | TESTS | 4 | 46 | 2662400 | ||
134160785 | zjjws | C | Nov. 3, 2021, 12:32 a.m. | OK | GNU C++14 | TESTS | 8 | 46 | 6348800 | ||
134167824 | liang_cheng | C | Nov. 3, 2021, 3:44 a.m. | OK | GNU C++14 | TESTS | 8 | 46 | 6860800 | ||
134158670 | MiguelAngel | C | Nov. 2, 2021, 11:13 p.m. | OK | GNU C++14 | TESTS | 8 | 61 | 2662400 | ||
134167685 | Giga_Cronos | C | Nov. 3, 2021, 3:40 a.m. | OK | GNU C++14 | TESTS | 8 | 61 | 4403200 | ||
134141695 | Sasuke69 | C | Nov. 2, 2021, 5:58 p.m. | OK | GNU C++14 | TESTS | 8 | 61 | 5836800 | ||
134126277 | Tahsin_Turab | C | Nov. 2, 2021, 4:26 p.m. | OK | GNU C++14 | TESTS | 4 | 61 | 5836800 | ||
134177286 | UuganbayarBud | C | Nov. 3, 2021, 5:38 a.m. | OK | GNU C++14 | TESTS | 8 | 62 | 1843200 | ||
134174299 | karim11 | C | Nov. 3, 2021, 4:55 a.m. | OK | GNU C++14 | TESTS | 8 | 62 | 1843200 | ||
134179283 | china_boy | C | Nov. 3, 2021, 6:04 a.m. | OK | GNU C++17 | TESTS | 8 | 46 | 1843200 | ||
134137029 | harsh020 | C | Nov. 2, 2021, 5:12 p.m. | OK | GNU C++17 | TESTS | 4 | 46 | 1843200 | ||
134126450 | Beware1999 | C | Nov. 2, 2021, 4:26 p.m. | OK | GNU C++17 | TESTS | 4 | 61 | 1843200 | ||
134168546 | xenonreborn | C | Nov. 3, 2021, 4 a.m. | OK | GNU C++17 | TESTS | 8 | 61 | 1843200 | ||
134133982 | luanfreitas5 | C | Nov. 2, 2021, 4:49 p.m. | OK | GNU C++17 | TESTS | 4 | 61 | 1843200 | ||
134132999 | aditya_tiwary | C | Nov. 2, 2021, 4:43 p.m. | OK | GNU C++17 | TESTS | 4 | 61 | 1843200 | ||
134126939 | flashhyphyp | C | Nov. 2, 2021, 4:27 p.m. | OK | GNU C++17 | TESTS | 4 | 61 | 1843200 | ||
134125960 | JPOS | C | Nov. 2, 2021, 4:25 p.m. | OK | GNU C++17 | TESTS | 4 | 61 | 2150400 | ||
134133278 | Revive_me | C | Nov. 2, 2021, 4:44 p.m. | OK | GNU C++17 | TESTS | 4 | 61 | 2662400 | ||
134137596 | aditya712001 | C | Nov. 2, 2021, 5:17 p.m. | OK | GNU C++17 | TESTS | 4 | 61 | 2662400 | ||
134156117 | yukihana0416 | C | Nov. 2, 2021, 9:48 p.m. | OK | GNU C++17 (64) | TESTS | 8 | 15 | 7577600 | ||
134143802 | MrS4g0 | C | Nov. 2, 2021, 6:22 p.m. | OK | GNU C++17 (64) | TESTS | 8 | 31 | 2048000 | ||
134158660 | jt.cheng26_orz | C | Nov. 2, 2021, 11:12 p.m. | OK | GNU C++17 (64) | TESTS | 8 | 31 | 3174400 | ||
134165590 | Jorge213 | C | Nov. 3, 2021, 2:51 a.m. | OK | GNU C++17 (64) | TESTS | 8 | 46 | 2048000 | ||
134175109 | programmer765 | C | Nov. 3, 2021, 5:07 a.m. | OK | GNU C++17 (64) | TESTS | 8 | 46 | 2048000 | ||
134172342 | greatofcuriosity | C | Nov. 3, 2021, 4:21 a.m. | OK | GNU C++17 (64) | TESTS | 8 | 46 | 2048000 | ||
134172250 | asifalim | C | Nov. 3, 2021, 4:20 a.m. | OK | GNU C++17 (64) | TESTS | 8 | 46 | 2048000 | ||
134155233 | Bungmint | C | Nov. 2, 2021, 9:26 p.m. | OK | GNU C++17 (64) | TESTS | 8 | 46 | 2048000 | ||
134129453 | Bakry_ | C | Nov. 2, 2021, 4:32 p.m. | OK | GNU C++17 (64) | TESTS | 4 | 46 | 2048000 | ||
134129008 | DenisStrum | C | Nov. 2, 2021, 4:31 p.m. | OK | GNU C++17 (64) | TESTS | 4 | 46 | 2048000 | ||
134132969 | iiiiiiiisly | C | Nov. 2, 2021, 4:43 p.m. | OK | GNU C++20 (64) | TESTS | 4 | 31 | 2048000 | ||
134128186 | pavlovoleg4889 | C | Nov. 2, 2021, 4:30 p.m. | OK | GNU C++20 (64) | TESTS | 4 | 31 | 2867200 | ||
134132784 | Xilsu | C | Nov. 2, 2021, 4:42 p.m. | OK | GNU C++20 (64) | TESTS | 4 | 31 | 2867200 | ||
134137293 | Tiger1729 | C | Nov. 2, 2021, 5:14 p.m. | OK | GNU C++20 (64) | TESTS | 4 | 31 | 2867200 | ||
134144290 | daddy. | C | Nov. 2, 2021, 6:29 p.m. | OK | GNU C++20 (64) | TESTS | 8 | 31 | 2867200 | ||
134144703 | sakurahashu | C | Nov. 2, 2021, 6:34 p.m. | OK | GNU C++20 (64) | TESTS | 8 | 31 | 2867200 | ||
134138670 | kavan02 | C | Nov. 2, 2021, 5:28 p.m. | OK | GNU C++20 (64) | TESTS | 8 | 31 | 4505600 | ||
134125031 | vanor | C | Nov. 2, 2021, 4:23 p.m. | OK | GNU C++20 (64) | TESTS | 4 | 31 | 5427200 | ||
134147708 | hir0inmyheart | C | Nov. 2, 2021, 7:15 p.m. | OK | GNU C++20 (64) | TESTS | 8 | 31 | 9318400 | ||
134175946 | mysteri0us7 | C | Nov. 3, 2021, 5:19 a.m. | OK | GNU C++20 (64) | TESTS | 8 | 46 | 2048000 | ||
134127310 | D05T0N | C | Nov. 2, 2021, 4:28 p.m. | OK | Go | TESTS | 4 | 93 | 61440000 | ||
134164964 | bavian | C | Nov. 3, 2021, 2:36 a.m. | OK | Go | TESTS | 8 | 187 | 12697600 | ||
134136513 | Piyush1607 | C | Nov. 2, 2021, 5:07 p.m. | OK | Java 11 | TESTS | 4 | 218 | 28979200 | ||
134167681 | the_unseen | C | Nov. 3, 2021, 3:40 a.m. | OK | Java 11 | TESTS | 8 | 233 | 28979200 | ||
134167357 | the_unseen | C | Nov. 3, 2021, 3:32 a.m. | OK | Java 11 | TESTS | 8 | 233 | 28979200 | ||
134129643 | SJacob | C | Nov. 2, 2021, 4:32 p.m. | OK | Java 11 | TESTS | 4 | 233 | 29900800 | ||
134134098 | darkcoder_347 | C | Nov. 2, 2021, 4:49 p.m. | OK | Java 11 | TESTS | 4 | 234 | 28774400 | ||
134132550 | standalone11 | C | Nov. 2, 2021, 4:41 p.m. | OK | Java 11 | TESTS | 4 | 248 | 28774400 | ||
134133450 | suchit_07 | C | Nov. 2, 2021, 4:45 p.m. | OK | Java 11 | TESTS | 4 | 249 | 24576000 | ||
134135736 | mitulgarg | C | Nov. 2, 2021, 5:01 p.m. | OK | Java 11 | TESTS | 4 | 249 | 28774400 | ||
134150469 | solo07 | C | Nov. 2, 2021, 7:58 p.m. | OK | Java 11 | TESTS | 8 | 249 | 28876800 | ||
134140757 | henrychenOutlook | C | Nov. 2, 2021, 5:49 p.m. | OK | Java 11 | TESTS | 8 | 249 | 28979200 | ||
134165391 | toufique_husein | C | Nov. 3, 2021, 2:46 a.m. | OK | Java 8 | TESTS | 8 | 170 | 18944000 | ||
134135792 | jod_07 | C | Nov. 2, 2021, 5:01 p.m. | OK | Java 8 | TESTS | 4 | 171 | 125030400 | ||
134179254 | aditya_daredevil | C | Nov. 3, 2021, 6:04 a.m. | OK | Java 8 | TESTS | 8 | 186 | 33075200 | ||
134168072 | tarun_sm | C | Nov. 3, 2021, 3:50 a.m. | OK | Java 8 | TESTS | 8 | 187 | 23552000 | ||
134126005 | nss_786 | C | Nov. 2, 2021, 4:25 p.m. | OK | Java 8 | TESTS | 4 | 202 | 31539200 | ||
134166520 | muh.tatma | C | Nov. 3, 2021, 3:14 a.m. | OK | Java 8 | TESTS | 8 | 202 | 32358400 | ||
134142396 | Log_ZOOM | C | Nov. 2, 2021, 6:05 p.m. | OK | Java 8 | TESTS | 8 | 202 | 34099200 | ||
134176006 | PRIYANSH_TOMAR | C | Nov. 3, 2021, 5:20 a.m. | OK | Java 8 | TESTS | 8 | 202 | 34099200 | ||
134167201 | Cubhere | C | Nov. 3, 2021, 3:29 a.m. | OK | Java 8 | TESTS | 8 | 218 | 31436800 | ||
134133604 | jinal_parmar | C | Nov. 2, 2021, 4:46 p.m. | OK | Java 8 | TESTS | 4 | 218 | 31436800 | ||
134178785 | noisegain | C | Nov. 3, 2021, 5:57 a.m. | OK | Kotlin 1.5 | TESTS | 8 | 280 | 26624000 | ||
134162599 | Koo_Pung-Kei | C | Nov. 3, 2021, 1:30 a.m. | OK | Kotlin 1.5 | TESTS | 8 | 405 | 42393600 | ||
134135036 | cunyu___ | C | Nov. 2, 2021, 4:55 p.m. | OK | MS C++ 2017 | TESTS | 4 | 78 | 1945600 | ||
134174091 | bkifhr7 | C | Nov. 3, 2021, 4:51 a.m. | OK | MS C++ 2017 | TESTS | 8 | 78 | 9113600 | ||
134160361 | KlayJacky6 | C | Nov. 3, 2021, 12:18 a.m. | OK | MS C++ 2017 | TESTS | 8 | 187 | 3584000 | ||
134144540 | helenmie | C | Nov. 2, 2021, 6:32 p.m. | OK | MS C++ 2017 | TESTS | 8 | 187 | 4403200 | ||
134159673 | Max1Mcg | C | Nov. 2, 2021, 11:52 p.m. | OK | MS C++ 2017 | TESTS | 8 | 202 | 1945600 | ||
134127214 | vandr | C | Nov. 2, 2021, 4:28 p.m. | OK | MS C++ 2017 | TESTS | 4 | 202 | 1945600 | ||
134135341 | Mery2005 | C | Nov. 2, 2021, 4:57 p.m. | OK | MS C++ 2017 | TESTS | 4 | 202 | 1945600 | ||
134146284 | Avram_Robert | C | Nov. 2, 2021, 6:55 p.m. | OK | MS C++ 2017 | TESTS | 8 | 202 | 2764800 | ||
134152778 | Flyheck | C | Nov. 2, 2021, 8:37 p.m. | OK | MS C++ 2017 | TESTS | 8 | 202 | 2764800 | ||
134160083 | KlayJacky6 | C | Nov. 3, 2021, 12:07 a.m. | OK | MS C++ 2017 | TESTS | 8 | 202 | 3584000 | ||
134150421 | ansergeyg | C | Nov. 2, 2021, 7:57 p.m. | OK | .NET Core C# | TESTS | 8 | 108 | 32972800 | ||
134126726 | saratcsss | C | Nov. 2, 2021, 4:27 p.m. | OK | .NET Core C# | TESTS | 4 | 124 | 33587200 | ||
134130490 | morozov312 | C | Nov. 2, 2021, 4:34 p.m. | OK | Node.js | TESTS | 4 | 202 | 37990400 | ||
134131795 | Grapeee | C | Nov. 2, 2021, 4:37 p.m. | OK | Node.js | TESTS | 4 | 217 | 26316800 | ||
134140421 | s3vin | C | Nov. 2, 2021, 5:45 p.m. | OK | Perl | TESTS | 8 | 280 | 35020800 | ||
134131079 | shehebe | C | Nov. 2, 2021, 4:34 p.m. | OK | PyPy 2 | TESTS | 4 | 249 | 34611200 | ||
134147770 | hxu10 | C | Nov. 2, 2021, 7:16 p.m. | OK | PyPy 3 | TESTS | 8 | 140 | 41779200 | ||
134166363 | Huntersoulz | C | Nov. 3, 2021, 3:11 a.m. | OK | PyPy 3 | TESTS | 8 | 170 | 36761600 | ||
134139012 | saurabhbisht | C | Nov. 2, 2021, 5:31 p.m. | OK | PyPy 3 | TESTS | 8 | 170 | 37171200 | ||
134164423 | wolfram_ | C | Nov. 3, 2021, 2:23 a.m. | OK | PyPy 3 | TESTS | 8 | 280 | 35942400 | ||
134175550 | BingHa | C | Nov. 3, 2021, 5:14 a.m. | OK | PyPy 3 | TESTS | 8 | 296 | 36556800 | ||
134135100 | bimbat_yuri | C | Nov. 2, 2021, 4:56 p.m. | OK | PyPy 3 | TESTS | 4 | 327 | 36454400 | ||
134157142 | lebron87 | C | Nov. 2, 2021, 10:19 p.m. | OK | PyPy 3 | TESTS | 8 | 342 | 33996800 | ||
134133248 | vaishnavi_nimmi | C | Nov. 2, 2021, 4:44 p.m. | OK | PyPy 3 | TESTS | 4 | 342 | 36454400 | ||
134131377 | batraz2204 | C | Nov. 2, 2021, 4:36 p.m. | OK | PyPy 3 | TESTS | 4 | 342 | 36454400 | ||
134126999 | shiraz_30 | C | Nov. 2, 2021, 4:27 p.m. | OK | PyPy 3 | TESTS | 4 | 342 | 36454400 | ||
134140640 | The_Apurv_Rathore | C | Nov. 2, 2021, 5:47 p.m. | OK | PyPy 3-64 | TESTS | 8 | 139 | 60108800 | ||
134153444 | feelme | C | Nov. 2, 2021, 8:49 p.m. | OK | PyPy 3-64 | TESTS | 8 | 155 | 57958400 | ||
134134793 | renjied | C | Nov. 2, 2021, 4:54 p.m. | OK | PyPy 3-64 | TESTS | 4 | 155 | 57958400 | ||
134155227 | iambabo | C | Nov. 2, 2021, 9:26 p.m. | OK | PyPy 3-64 | TESTS | 8 | 265 | 56627200 | ||
134130711 | madoxann | C | Nov. 2, 2021, 4:34 p.m. | OK | PyPy 3-64 | TESTS | 4 | 280 | 56115200 | ||
134166076 | dutt_shouvik | C | Nov. 3, 2021, 3:04 a.m. | OK | PyPy 3-64 | TESTS | 8 | 280 | 189235200 | ||
134132317 | Skillful_Wanderer | C | Nov. 2, 2021, 4:39 p.m. | OK | PyPy 3-64 | TESTS | 4 | 295 | 59801600 | ||
134157253 | b3ck3rz | C | Nov. 2, 2021, 10:22 p.m. | OK | PyPy 3-64 | TESTS | 8 | 296 | 50995200 | ||
134132576 | fingerpartyxoxo | C | Nov. 2, 2021, 4:41 p.m. | OK | PyPy 3-64 | TESTS | 4 | 311 | 54784000 | ||
134125814 | mesa3993 | C | Nov. 2, 2021, 4:25 p.m. | OK | PyPy 3-64 | TESTS | 4 | 311 | 56627200 | ||
134138079 | OLOGY | C | Nov. 2, 2021, 5:21 p.m. | OK | Python 2 | TESTS | 4 | 202 | 15052800 | ||
134130759 | OLOGY | C | Nov. 2, 2021, 4:34 p.m. | OK | Python 2 | TESTS | 4 | 264 | 15360000 | ||
134161661 | eugalt | C | Nov. 3, 2021, 1:01 a.m. | OK | Python 3 | TESTS | 8 | 170 | 22528000 | ||
134161388 | eugalt | C | Nov. 3, 2021, 12:53 a.m. | OK | Python 3 | TESTS | 8 | 187 | 22528000 | ||
134131919 | Slyvka800 | C | Nov. 2, 2021, 4:38 p.m. | OK | Python 3 | TESTS | 4 | 202 | 20172800 | ||
134132274 | Srirambabu | C | Nov. 2, 2021, 4:39 p.m. | OK | Python 3 | TESTS | 4 | 218 | 20070400 | ||
134125842 | littbird | C | Nov. 2, 2021, 4:25 p.m. | OK | Python 3 | TESTS | 4 | 218 | 20070400 | ||
134132439 | T_2000 | C | Nov. 2, 2021, 4:40 p.m. | OK | Python 3 | TESTS | 4 | 233 | 20070400 | ||
134127149 | 123zettachanel123 | C | Nov. 2, 2021, 4:28 p.m. | OK | Python 3 | TESTS | 4 | 233 | 20275200 | ||
134167398 | NgoTienAnh | C | Nov. 3, 2021, 3:33 a.m. | OK | Python 3 | TESTS | 8 | 233 | 20377600 | ||
134141990 | TheOtherOne | C | Nov. 2, 2021, 6:01 p.m. | OK | Python 3 | TESTS | 8 | 233 | 20787200 | ||
134141266 | luciferstern | C | Nov. 2, 2021, 5:54 p.m. | OK | Python 3 | TESTS | 8 | 233 | 20787200 | ||
134136838 | generic_placeholder_name | C | Nov. 2, 2021, 5:10 p.m. | OK | Ruby 3 | TESTS | 4 | 546 | 62976000 | ||
134163759 | Spheniscine | C | Nov. 3, 2021, 2:05 a.m. | OK | Rust | TESTS | 8 | 78 | 2969600 | ||
134147122 | Apollon76 | C | Nov. 2, 2021, 7:07 p.m. | OK | Rust | TESTS | 8 | 140 | 7577600 |
Back to search problems