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 |
---|---|---|---|---|---|---|
1737 | Dytechlab Cup 2022 | FINISHED | False | 9000 | 66669899 | Oct. 7, 2022, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 10175 ) | A | Ela Sorting Books | PROGRAMMING | greedy implementation strings |
B"Ela loves reading a lot, just like her new co-workers in DTL! On her first day after becoming an engineer in DTL, she is challenged by a co-worker to sort a heap of books into different compartments on the shelf. n books must be split into k compartments on the bookshelf ( n is divisible by k ). Each book is represented by a lowercase Latin letter from 'a' to 'y' inclusively, which is the beginning letter in the title of the book. Ela must stack exactly frac{n}{k} books in each compartment. After the books are stacked, for each compartment indexed from 1 to k , she takes the minimum excluded (MEX) letter of the multiset of letters formed by letters representing all books in that compartment, then combines the resulting letters into a string. The first letter of the resulting string is the MEX letter of the multiset of letters formed by the first compartment, the second letter of the resulting string is the MEX letter of the multiset of letters formed by the second compartment, ... and so on. Please note, under the constraint of this problem, MEX letter can always be determined for any multiset found in this problem because 'z' is not used. What is the lexicographically greatest resulting string possible that Ela can create? A string a is lexicographically greater than a string b if and only if one of the following holds: The minimum excluded (MEX) letter of a multiset of letters is the letter that appears earliest in the alphabet and is not contained in the multiset. For example, if a multiset of letters contains 7 letters 'b', 'a', 'b', 'c', 'e', 'c', 'f' respectively, then the MEX letter of this compartment is 'd', because 'd' is not included in the multiset, and all letters comes before 'd' in the alphabet, namely 'a', 'b' and 'c', are included in the multiset. Each test contains multiple test cases. The first line contains the number of test cases t ( 1 <= t <= 100 ). Description of "... |
Editorial of Dytechlab Cup 2022 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
175015576 | avtoruxadze | A | Oct. 7, 2022, 4:14 p.m. | OK | C# 8 | TESTS | 13 | 109 | 921600 | ||
175069203 | MohammadDallash | A | Oct. 8, 2022, 4:12 a.m. | OK | Clang++17 Diagnostics | TESTS | 13 | 31 | 2150400 | ||
175026834 | ruban | A | Oct. 7, 2022, 4:56 p.m. | OK | Delphi | TESTS | 13 | 15 | 49664000 | ||
175023822 | eastnman | A | Oct. 7, 2022, 4:45 p.m. | OK | FPC | TESTS | 13 | 31 | 409600 | ||
175029392 | prabhat_suresh | A | Oct. 7, 2022, 5:04 p.m. | OK | GNU C11 | TESTS | 13 | 15 | 0 | ||
175044772 | dmenezes | A | Oct. 7, 2022, 7:16 p.m. | OK | GNU C11 | TESTS | 13 | 15 | 0 | ||
175066444 | Gordon_Z | A | Oct. 8, 2022, 3:12 a.m. | OK | GNU C++14 | TESTS | 13 | 0 | 0 | ||
175073505 | suraj.xd | A | Oct. 8, 2022, 5:15 a.m. | OK | GNU C++14 | TESTS | 13 | 0 | 0 | ||
175064423 | huangxinting666 | A | Oct. 8, 2022, 2:26 a.m. | OK | GNU C++14 | TESTS | 13 | 0 | 0 | ||
175064381 | jaxn | A | Oct. 8, 2022, 2:25 a.m. | OK | GNU C++14 | TESTS | 13 | 0 | 0 | ||
175060144 | oreki123 | A | Oct. 8, 2022, 12:11 a.m. | OK | GNU C++14 | TESTS | 13 | 0 | 0 | ||
175046762 | Jhamra | A | Oct. 7, 2022, 7:38 p.m. | OK | GNU C++14 | TESTS | 13 | 0 | 0 | ||
175068593 | AbdoRagae74 | A | Oct. 8, 2022, 4 a.m. | OK | GNU C++14 | TESTS | 13 | 0 | 0 | ||
175068382 | Jonah_Lan | A | Oct. 8, 2022, 3:56 a.m. | OK | GNU C++14 | TESTS | 13 | 0 | 0 | ||
175073872 | MiniLong | A | Oct. 8, 2022, 5:20 a.m. | OK | GNU C++14 | TESTS | 13 | 0 | 0 | ||
175075320 | TMJYH09 | A | Oct. 8, 2022, 5:38 a.m. | OK | GNU C++14 | TESTS | 13 | 0 | 0 | ||
175074860 | surajmisal18 | A | Oct. 8, 2022, 5:33 a.m. | OK | GNU C++17 | TESTS | 13 | 0 | 0 | ||
175074799 | surajmisal18 | A | Oct. 8, 2022, 5:32 a.m. | OK | GNU C++17 | TESTS | 13 | 0 | 0 | ||
175071556 | pratik31 | A | Oct. 8, 2022, 4:50 a.m. | OK | GNU C++17 | TESTS | 13 | 0 | 0 | ||
175071290 | shehab_rakib | A | Oct. 8, 2022, 4:46 a.m. | OK | GNU C++17 | TESTS | 13 | 0 | 0 | ||
175068744 | prakhar_infinity | A | Oct. 8, 2022, 4:03 a.m. | OK | GNU C++17 | TESTS | 13 | 0 | 0 | ||
175068027 | madhav_748 | A | Oct. 8, 2022, 3:48 a.m. | OK | GNU C++17 | TESTS | 13 | 0 | 0 | ||
175066423 | abhinahii | A | Oct. 8, 2022, 3:12 a.m. | OK | GNU C++17 | TESTS | 13 | 0 | 0 | ||
175065077 | Dahy | A | Oct. 8, 2022, 2:41 a.m. | OK | GNU C++17 | TESTS | 13 | 0 | 0 | ||
175076048 | harsh_r15 | A | Oct. 8, 2022, 5:47 a.m. | OK | GNU C++17 | TESTS | 13 | 0 | 0 | ||
175075225 | RITESH25 | A | Oct. 8, 2022, 5:37 a.m. | OK | GNU C++17 | TESTS | 13 | 0 | 0 | ||
175031971 | CatastrophicTyrant | A | Oct. 7, 2022, 5:28 p.m. | OK | GNU C++17 (64) | TESTS | 13 | 0 | 0 | ||
175074373 | adeemharis | A | Oct. 8, 2022, 5:27 a.m. | OK | GNU C++17 (64) | TESTS | 13 | 0 | 0 | ||
175070099 | jimmylai20001014 | A | Oct. 8, 2022, 4:27 a.m. | OK | GNU C++17 (64) | TESTS | 13 | 0 | 0 | ||
175069465 | gupta.kangan | A | Oct. 8, 2022, 4:16 a.m. | OK | GNU C++17 (64) | TESTS | 13 | 0 | 0 | ||
175066437 | Rick_GT | A | Oct. 8, 2022, 3:12 a.m. | OK | GNU C++17 (64) | TESTS | 13 | 0 | 0 | ||
175061457 | bunny1024 | A | Oct. 8, 2022, 12:57 a.m. | OK | GNU C++17 (64) | TESTS | 13 | 0 | 0 | ||
175058173 | duality | A | Oct. 7, 2022, 11:03 p.m. | OK | GNU C++17 (64) | TESTS | 13 | 0 | 0 | ||
175046865 | bhatta.subhro | A | Oct. 7, 2022, 7:40 p.m. | OK | GNU C++17 (64) | TESTS | 13 | 0 | 0 | ||
175042260 | BikAsh007 | A | Oct. 7, 2022, 6:49 p.m. | OK | GNU C++17 (64) | TESTS | 13 | 0 | 0 | ||
175033105 | os-moussao | A | Oct. 7, 2022, 5:35 p.m. | OK | GNU C++17 (64) | TESTS | 13 | 0 | 0 | ||
175076302 | abhinavkgrd | A | Oct. 8, 2022, 5:50 a.m. | OK | GNU C++20 (64) | TESTS | 13 | 0 | 0 | ||
175075937 | dhru008 | A | Oct. 8, 2022, 5:46 a.m. | OK | GNU C++20 (64) | TESTS | 13 | 0 | 0 | ||
175075735 | AnikateKoul | A | Oct. 8, 2022, 5:43 a.m. | OK | GNU C++20 (64) | TESTS | 13 | 0 | 0 | ||
175075313 | jahid_arif | A | Oct. 8, 2022, 5:38 a.m. | OK | GNU C++20 (64) | TESTS | 13 | 0 | 0 | ||
175074295 | do_it_for_fun | A | Oct. 8, 2022, 5:26 a.m. | OK | GNU C++20 (64) | TESTS | 13 | 0 | 0 | ||
175074248 | blank_monster | A | Oct. 8, 2022, 5:25 a.m. | OK | GNU C++20 (64) | TESTS | 13 | 0 | 0 | ||
175073173 | anis_bns | A | Oct. 8, 2022, 5:11 a.m. | OK | GNU C++20 (64) | TESTS | 13 | 0 | 0 | ||
175072370 | ashutosh2003 | A | Oct. 8, 2022, 5:01 a.m. | OK | GNU C++20 (64) | TESTS | 13 | 0 | 0 | ||
175076427 | rakshith21mohan | A | Oct. 8, 2022, 5:51 a.m. | OK | GNU C++20 (64) | TESTS | 13 | 0 | 0 | ||
175077248 | OgataShumaHiroyuki | A | Oct. 8, 2022, 6:01 a.m. | OK | GNU C++20 (64) | TESTS | 13 | 0 | 0 | ||
175033963 | mtarunsai1999 | A | Oct. 7, 2022, 5:40 p.m. | OK | Go | TESTS | 13 | 31 | 0 | ||
175046224 | mishraadarsh02 | A | Oct. 7, 2022, 7:32 p.m. | OK | Java 11 | TESTS | 13 | 171 | 0 | ||
175033278 | dheerajchhatanidc | A | Oct. 7, 2022, 5:36 p.m. | OK | Java 11 | TESTS | 13 | 171 | 0 | ||
175024345 | Restricted | A | Oct. 7, 2022, 4:47 p.m. | OK | Java 11 | TESTS | 13 | 171 | 0 | ||
175077218 | dikshant_19 | A | Oct. 8, 2022, 6:01 a.m. | OK | Java 11 | TESTS | 13 | 187 | 0 | ||
175033014 | Never_Give_Up_Mani | A | Oct. 7, 2022, 5:34 p.m. | OK | Java 11 | TESTS | 13 | 187 | 0 | ||
175020133 | praduman14 | A | Oct. 7, 2022, 4:30 p.m. | OK | Java 11 | TESTS | 13 | 187 | 0 | ||
175072449 | Kanishka_bansode | A | Oct. 8, 2022, 5:02 a.m. | OK | Java 11 | TESTS | 13 | 202 | 0 | ||
175045997 | saadbinmoosa100 | A | Oct. 7, 2022, 7:30 p.m. | OK | Java 11 | TESTS | 13 | 202 | 0 | ||
175046247 | tiger10092002 | A | Oct. 7, 2022, 7:33 p.m. | OK | Java 11 | TESTS | 13 | 202 | 40960000 | ||
175048899 | themadknight45 | A | Oct. 7, 2022, 8:03 p.m. | OK | Java 11 | TESTS | 13 | 217 | 0 | ||
175024838 | Utsav82 | A | Oct. 7, 2022, 4:49 p.m. | OK | Java 17 | TESTS | 13 | 186 | 204800 | ||
175018566 | harman1148 | A | Oct. 7, 2022, 4:25 p.m. | OK | Java 17 | TESTS | 13 | 187 | 409600 | ||
175059133 | Karanraj06 | A | Oct. 7, 2022, 11:32 p.m. | OK | Java 17 | TESTS | 13 | 202 | 307200 | ||
175074730 | Ibrahim027 | A | Oct. 8, 2022, 5:31 a.m. | OK | Java 17 | TESTS | 13 | 218 | 716800 | ||
175017624 | b1rr0 | A | Oct. 7, 2022, 4:21 p.m. | OK | Java 17 | TESTS | 13 | 233 | 512000 | ||
175070876 | helmut_schmacker | A | Oct. 8, 2022, 4:40 a.m. | OK | Java 17 | TESTS | 13 | 233 | 921600 | ||
175028435 | Mohammad_Anwar | A | Oct. 7, 2022, 5:02 p.m. | OK | Java 17 | TESTS | 13 | 249 | 819200 | ||
175068308 | maverick_1729 | A | Oct. 8, 2022, 3:54 a.m. | OK | Java 17 | TESTS | 13 | 249 | 921600 | ||
175047694 | Karakurik | A | Oct. 7, 2022, 7:49 p.m. | OK | Java 8 | TESTS | 13 | 92 | 0 | ||
175047664 | ganesh_6 | A | Oct. 7, 2022, 7:48 p.m. | OK | Java 8 | TESTS | 13 | 93 | 0 | ||
175041408 | vidwansAD | A | Oct. 7, 2022, 6:41 p.m. | OK | Java 8 | TESTS | 13 | 93 | 0 | ||
175040476 | Mohamed308 | A | Oct. 7, 2022, 6:32 p.m. | OK | Java 8 | TESTS | 13 | 93 | 0 | ||
175032391 | Kaldaruly | A | Oct. 7, 2022, 5:31 p.m. | OK | Java 8 | TESTS | 13 | 93 | 0 | ||
175021513 | UzmakiNaruto | A | Oct. 7, 2022, 4:36 p.m. | OK | Java 8 | TESTS | 13 | 93 | 0 | ||
175069407 | Push_back7 | A | Oct. 8, 2022, 4:15 a.m. | OK | Java 8 | TESTS | 13 | 108 | 0 | ||
175026103 | GonFreecss2830 | A | Oct. 7, 2022, 4:53 p.m. | OK | Java 8 | TESTS | 13 | 108 | 0 | ||
175022428 | dogranmol | A | Oct. 7, 2022, 4:39 p.m. | OK | Java 8 | TESTS | 13 | 109 | 0 | ||
175016487 | osa.ayman | A | Oct. 7, 2022, 4:17 p.m. | OK | Java 8 | TESTS | 13 | 109 | 0 | ||
175032963 | bestgreenie | A | Oct. 7, 2022, 5:34 p.m. | OK | MS C++ 2017 | TESTS | 13 | 15 | 0 | ||
175025808 | Killer_No.47 | A | Oct. 7, 2022, 4:52 p.m. | OK | MS C++ 2017 | TESTS | 13 | 15 | 0 | ||
175023999 | lxk_iKun | A | Oct. 7, 2022, 4:45 p.m. | OK | MS C++ 2017 | TESTS | 13 | 15 | 0 | ||
175023081 | ThreeTB | A | Oct. 7, 2022, 4:42 p.m. | OK | MS C++ 2017 | TESTS | 13 | 15 | 0 | ||
175020145 | abhivarma209 | A | Oct. 7, 2022, 4:30 p.m. | OK | MS C++ 2017 | TESTS | 13 | 15 | 0 | ||
175018292 | petrushka29435 | A | Oct. 7, 2022, 4:24 p.m. | OK | MS C++ 2017 | TESTS | 13 | 15 | 0 | ||
175016116 | belief_010 | A | Oct. 7, 2022, 4:16 p.m. | OK | MS C++ 2017 | TESTS | 13 | 15 | 0 | ||
175017094 | felipe.miranda | A | Oct. 7, 2022, 4:19 p.m. | OK | Node.js | TESTS | 13 | 92 | 102400 | ||
175048740 | cuckoomonthly | A | Oct. 7, 2022, 8:01 p.m. | OK | Perl | TESTS | 13 | 15 | 0 | ||
175031192 | 1_2_3_4_5_9 | A | Oct. 7, 2022, 5:25 p.m. | OK | PyPy 2 | TESTS | 13 | 108 | 5427200 | ||
175074249 | manda.akhilesh4 | A | Oct. 8, 2022, 5:25 a.m. | OK | PyPy 3 | TESTS | 13 | 92 | 0 | ||
175027513 | plainwhiteyoghurt | A | Oct. 7, 2022, 4:58 p.m. | OK | PyPy 3 | TESTS | 13 | 93 | 0 | ||
175023315 | andriy.borzenkov | A | Oct. 7, 2022, 4:43 p.m. | OK | PyPy 3 | TESTS | 13 | 93 | 1331200 | ||
175020175 | f20210555 | A | Oct. 7, 2022, 4:31 p.m. | OK | PyPy 3 | TESTS | 13 | 93 | 1433600 | ||
175071163 | Triump_0112 | A | Oct. 8, 2022, 4:44 a.m. | OK | PyPy 3-64 | TESTS | 13 | 62 | 0 | ||
175067683 | A5IR | A | Oct. 8, 2022, 3:41 a.m. | OK | PyPy 3-64 | TESTS | 13 | 62 | 0 | ||
175067218 | A5IR | A | Oct. 8, 2022, 3:31 a.m. | OK | PyPy 3-64 | TESTS | 13 | 62 | 0 | ||
175065895 | Lhohelhohehmm | A | Oct. 8, 2022, 3 a.m. | OK | PyPy 3-64 | TESTS | 13 | 62 | 0 | ||
175065748 | Youarenotgood | A | Oct. 8, 2022, 2:57 a.m. | OK | PyPy 3-64 | TESTS | 13 | 62 | 0 | ||
175041547 | coder3433 | A | Oct. 7, 2022, 6:42 p.m. | OK | PyPy 3-64 | TESTS | 13 | 62 | 0 | ||
175020962 | biglunchdude | A | Oct. 7, 2022, 4:34 p.m. | OK | PyPy 3-64 | TESTS | 13 | 62 | 0 | ||
175018378 | Rinku_518 | A | Oct. 7, 2022, 4:24 p.m. | OK | PyPy 3-64 | TESTS | 13 | 62 | 0 | ||
175053351 | biglunchdude | A | Oct. 7, 2022, 9:07 p.m. | OK | PyPy 3-64 | TESTS | 13 | 62 | 102400 | ||
175060024 | sdt4936 | A | Oct. 8, 2022, 12:07 a.m. | OK | PyPy 3-64 | TESTS | 13 | 62 | 716800 | ||
175055556 | alaa81313 | A | Oct. 7, 2022, 9:53 p.m. | OK | Python 3 | TESTS | 13 | 31 | 0 | ||
175037616 | 21bec036 | A | Oct. 7, 2022, 6:07 p.m. | OK | Python 3 | TESTS | 13 | 31 | 0 | ||
175069329 | sahil45 | A | Oct. 8, 2022, 4:14 a.m. | OK | Python 3 | TESTS | 13 | 46 | 0 | ||
175068241 | Dinesh_devanaboina | A | Oct. 8, 2022, 3:53 a.m. | OK | Python 3 | TESTS | 13 | 46 | 0 | ||
175031710 | Dinesh_devanaboina | A | Oct. 7, 2022, 5:27 p.m. | OK | Python 3 | TESTS | 13 | 46 | 0 | ||
175025515 | niteeshjaypee | A | Oct. 7, 2022, 4:51 p.m. | OK | Python 3 | TESTS | 13 | 46 | 0 | ||
175022496 | UTTAM_02 | A | Oct. 7, 2022, 4:40 p.m. | OK | Python 3 | TESTS | 13 | 46 | 0 | ||
175015302 | cs21m013 | A | Oct. 7, 2022, 4:13 p.m. | OK | Python 3 | TESTS | 13 | 46 | 0 | ||
175015234 | holehe | A | Oct. 7, 2022, 4:13 p.m. | OK | Python 3 | TESTS | 13 | 46 | 0 | ||
175016026 | StevenZheng | A | Oct. 7, 2022, 4:16 p.m. | OK | Python 3 | TESTS | 13 | 46 | 102400 | ||
175032412 | cerberust | A | Oct. 7, 2022, 5:31 p.m. | OK | Rust 2021 | TESTS | 13 | 15 | 0 |
Back to search problems