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 |
---|---|---|---|---|---|---|
1915 | Codeforces Round 918 (Div. 4) | FINISHED | False | 9000 | 33405863 | Dec. 28, 2023, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 31288 ) | D | Unnatural Language Processing | PROGRAMMING | dp greedy implementation strings |
B"Lura was bored and decided to make a simple language using the five letters texttt{a} , texttt{b} , texttt{c} , texttt{d} , texttt{e} . There are two types of letters: A word in the language is a sequence of syllables. Lura has written a word in the language, but she doesn't know how to split it into syllables. Help her break the word into syllables. For example, given the word texttt{bacedbab} , it would be split into syllables as texttt{ba.ced.bab} (the dot texttt{.} represents a syllable boundary). The input consists of multiple test cases. The first line contains an integer t ( 1 <= q t <= q 100 ) -- the number of test cases. The description of the test cases follows. The first line of each test case contains an integer n ( 1 <= q n <= q 2 cdot 10^5 ) -- the length of the word. The second line of each test case contains a string consisting of n lowercase Latin characters -- the word. All words given are valid words in the language; that is, they only use the letters texttt{a} , texttt{b} , texttt{c} , texttt{d} , texttt{e} , and each word is made up of several syllables. The sum of n over all test cases does not exceed 2 cdot 10^5 . For test case, output a string denoting the word split into syllables by inserting a dot texttt{.} between every pair of adjacent syllables. If there are multiple possible splittings, output any of them. The input is given in such a way that at least one possible splitting exists. "... |
123952 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
239426327 | bluemegane | D | Dec. 28, 2023, 10:33 p.m. | OK | C# 8 | TESTS | 13 | 77 | 16179200 | ||
239415690 | NenadDapic | D | Dec. 28, 2023, 7:29 p.m. | OK | FPC | TESTS | 6 | 15 | 3481600 | ||
239426378 | 0x81 | D | Dec. 28, 2023, 10:34 p.m. | OK | GNU C11 | TESTS | 13 | 15 | 4198400 | ||
239411986 | akshat_adarsh | D | Dec. 28, 2023, 6:45 p.m. | OK | GNU C11 | TESTS | 6 | 31 | 4710400 | ||
239433959 | zjx1- | D | Dec. 29, 2023, 2:14 a.m. | OK | GNU C11 | TESTS | 14 | 46 | 4403200 | ||
239427489 | Rahat94 | D | Dec. 28, 2023, 11:05 p.m. | OK | GNU C11 | TESTS | 13 | 405 | 4198400 | ||
239446420 | shiershier | D | Dec. 29, 2023, 5:25 a.m. | OK | GNU C11 | TESTS | 14 | 795 | 4198400 | ||
239438186 | GVSaiPraneeth | D | Dec. 29, 2023, 3:37 a.m. | OK | GNU C11 | TESTS | 14 | 810 | 4198400 | ||
239404361 | kamlesh7939 | D | Dec. 28, 2023, 5:42 p.m. | OK | GNU C++14 | TESTS | 6 | 15 | 1228800 | ||
239432675 | zky2027CS | D | Dec. 29, 2023, 1:42 a.m. | OK | GNU C++14 | TESTS | 14 | 15 | 1228800 | ||
239406168 | ktp200 | D | Dec. 28, 2023, 5:56 p.m. | OK | GNU C++14 | TESTS | 6 | 15 | 1536000 | ||
239437604 | cgy2022 | D | Dec. 29, 2023, 3:28 a.m. | OK | GNU C++14 | TESTS | 14 | 15 | 1638400 | ||
239434744 | Sathi13 | D | Dec. 29, 2023, 2:34 a.m. | OK | GNU C++14 | TESTS | 14 | 15 | 1638400 | ||
239430901 | Tris2k4 | D | Dec. 29, 2023, 12:52 a.m. | OK | GNU C++14 | TESTS | 14 | 15 | 1638400 | ||
239440114 | MegalovaniaJ | D | Dec. 29, 2023, 4:06 a.m. | OK | GNU C++14 | TESTS | 14 | 15 | 1638400 | ||
239445674 | Kyte | D | Dec. 29, 2023, 5:16 a.m. | OK | GNU C++14 | TESTS | 14 | 15 | 2355200 | ||
239440002 | anujp_2002 | D | Dec. 29, 2023, 4:04 a.m. | OK | GNU C++14 | TESTS | 14 | 15 | 2355200 | ||
239426671 | sashshaikh12 | D | Dec. 28, 2023, 10:41 p.m. | OK | GNU C++14 | TESTS | 13 | 15 | 2355200 | ||
239411718 | Mistake_factory | D | Dec. 28, 2023, 6:42 p.m. | OK | GNU C++17 | TESTS | 6 | 0 | 2355200 | ||
239416142 | _N_E_W_B_I_E_2.0 | D | Dec. 28, 2023, 7:34 p.m. | OK | GNU C++17 | TESTS | 6 | 0 | 2662400 | ||
239411602 | guptadeepanshu713 | D | Dec. 28, 2023, 6:41 p.m. | OK | GNU C++17 | TESTS | 6 | 15 | 1228800 | ||
239403767 | Meet__j | D | Dec. 28, 2023, 5:37 p.m. | OK | GNU C++17 | TESTS | 6 | 15 | 1228800 | ||
239429018 | khaled_eg | D | Dec. 28, 2023, 11:53 p.m. | OK | GNU C++17 | TESTS | 13 | 15 | 1228800 | ||
239414241 | Creativity-.-0 | D | Dec. 28, 2023, 7:10 p.m. | OK | GNU C++17 | TESTS | 6 | 15 | 1536000 | ||
239413060 | Prajwalrayal | D | Dec. 28, 2023, 6:56 p.m. | OK | GNU C++17 | TESTS | 6 | 15 | 1536000 | ||
239414138 | codingdominator | D | Dec. 28, 2023, 7:09 p.m. | OK | GNU C++17 | TESTS | 6 | 15 | 1536000 | ||
239415319 | Zeyad | D | Dec. 28, 2023, 7:24 p.m. | OK | GNU C++17 | TESTS | 6 | 15 | 1536000 | ||
239420578 | Elfaramawi | D | Dec. 28, 2023, 8:36 p.m. | OK | GNU C++17 | TESTS | 6 | 15 | 1536000 | ||
239413650 | das_sayantan | D | Dec. 28, 2023, 7:03 p.m. | OK | GNU C++17 (64) | TESTS | 6 | 0 | 2457600 | ||
239403968 | Sweet | D | Dec. 28, 2023, 5:39 p.m. | OK | GNU C++17 (64) | TESTS | 6 | 15 | 1740800 | ||
239411712 | Xxxxxxxh | D | Dec. 28, 2023, 6:42 p.m. | OK | GNU C++17 (64) | TESTS | 6 | 15 | 2457600 | ||
239446893 | Jins | D | Dec. 29, 2023, 5:30 a.m. | OK | GNU C++17 (64) | TESTS | 14 | 15 | 2457600 | ||
239437464 | ShantanuBhojak | D | Dec. 29, 2023, 3:25 a.m. | OK | GNU C++17 (64) | TESTS | 14 | 15 | 2457600 | ||
239436896 | touris | D | Dec. 29, 2023, 3:15 a.m. | OK | GNU C++17 (64) | TESTS | 14 | 15 | 2457600 | ||
239431600 | RohitRKS | D | Dec. 29, 2023, 1:12 a.m. | OK | GNU C++17 (64) | TESTS | 14 | 15 | 2457600 | ||
239430233 | littlegirl112 | D | Dec. 29, 2023, 12:32 a.m. | OK | GNU C++17 (64) | TESTS | 14 | 15 | 2457600 | ||
239428980 | udon1206 | D | Dec. 28, 2023, 11:51 p.m. | OK | GNU C++17 (64) | TESTS | 13 | 15 | 2457600 | ||
239406514 | roshanraj1543 | D | Dec. 28, 2023, 5:59 p.m. | OK | GNU C++17 (64) | TESTS | 6 | 15 | 2457600 | ||
239421082 | patilrsaikiran | D | Dec. 28, 2023, 8:45 p.m. | OK | GNU C++20 (64) | TESTS | 6 | 0 | 2560000 | ||
239420565 | jamesbamber MatteoArcari franv | D | Dec. 28, 2023, 8:36 p.m. | OK | GNU C++20 (64) | TESTS | 6 | 0 | 2560000 | ||
239419691 | j_aryannn | D | Dec. 28, 2023, 8:22 p.m. | OK | GNU C++20 (64) | TESTS | 6 | 0 | 2560000 | ||
239418055 | El_Farag | D | Dec. 28, 2023, 7:59 p.m. | OK | GNU C++20 (64) | TESTS | 6 | 0 | 2560000 | ||
239421169 | BabaYagi | D | Dec. 28, 2023, 8:46 p.m. | OK | GNU C++20 (64) | TESTS | 6 | 0 | 2560000 | ||
239423770 | Quad_ratic | D | Dec. 28, 2023, 9:35 p.m. | OK | GNU C++20 (64) | TESTS | 13 | 0 | 2560000 | ||
239436191 | Narendramaddigunta | D | Dec. 29, 2023, 3:02 a.m. | OK | GNU C++20 (64) | TESTS | 14 | 0 | 2560000 | ||
239436418 | HVCYM | D | Dec. 29, 2023, 3:06 a.m. | OK | GNU C++20 (64) | TESTS | 14 | 0 | 2560000 | ||
239440881 | 0.1_Zishan | D | Dec. 29, 2023, 4:16 a.m. | OK | GNU C++20 (64) | TESTS | 14 | 0 | 2560000 | ||
239444249 | kiddoos | D | Dec. 29, 2023, 4:59 a.m. | OK | GNU C++20 (64) | TESTS | 14 | 0 | 2560000 | ||
239435134 | 123_wby | D | Dec. 29, 2023, 2:42 a.m. | OK | Go | TESTS | 14 | 31 | 21504000 | ||
239415970 | jainmilind | D | Dec. 28, 2023, 7:32 p.m. | OK | Go | TESTS | 6 | 31 | 24985600 | ||
239415272 | brunocalza | D | Dec. 28, 2023, 7:23 p.m. | OK | Go | TESTS | 6 | 46 | 20992000 | ||
239409466 | shaili17 | D | Dec. 28, 2023, 6:22 p.m. | OK | Java 11 | TESTS | 6 | 156 | 24576000 | ||
239435831 | VRP | D | Dec. 29, 2023, 2:55 a.m. | OK | Java 11 | TESTS | 14 | 202 | 25190400 | ||
239414989 | Gaurav-x5 | D | Dec. 28, 2023, 7:20 p.m. | OK | Java 11 | TESTS | 6 | 202 | 25292800 | ||
239440565 | Mg718 | D | Dec. 29, 2023, 4:12 a.m. | OK | Java 11 | TESTS | 14 | 202 | 25804800 | ||
239443156 | gmadhangi | D | Dec. 29, 2023, 4:46 a.m. | OK | Java 11 | TESTS | 14 | 217 | 24576000 | ||
239442565 | Akmaljon.08 | D | Dec. 29, 2023, 4:38 a.m. | OK | Java 11 | TESTS | 14 | 546 | 25702400 | ||
239432208 | Kryuchkovm23 | D | Dec. 29, 2023, 1:30 a.m. | OK | Java 11 | TESTS | 14 | 639 | 24780800 | ||
239411408 | rdhakar246 | D | Dec. 28, 2023, 6:39 p.m. | OK | Java 17 | TESTS | 6 | 186 | 40345600 | ||
239444773 | tech_trooper | D | Dec. 29, 2023, 5:05 a.m. | OK | Java 17 | TESTS | 14 | 248 | 40550400 | ||
239407221 | Ashuraj_Herode | D | Dec. 28, 2023, 6:04 p.m. | OK | Java 17 | TESTS | 6 | 249 | 40652800 | ||
239407474 | shivxsh10 | D | Dec. 28, 2023, 6:07 p.m. | OK | Java 17 | TESTS | 6 | 265 | 40652800 | ||
239449796 | whd_CN | D | Dec. 29, 2023, 6 a.m. | OK | Java 17 | TESTS | 14 | 311 | 40550400 | ||
239406508 | Vbn2123 | D | Dec. 28, 2023, 5:59 p.m. | OK | Java 17 | TESTS | 6 | 311 | 40652800 | ||
239448069 | sagargupta36 | D | Dec. 29, 2023, 5:44 a.m. | OK | Java 17 | TESTS | 14 | 327 | 75264000 | ||
239408868 | dawn_raja | D | Dec. 28, 2023, 6:16 p.m. | OK | Java 17 | TESTS | 6 | 779 | 45363200 | ||
239408521 | dawn_raja | D | Dec. 28, 2023, 6:13 p.m. | OK | Java 17 | TESTS | 6 | 810 | 44851200 | ||
239406592 | yugam_04 | D | Dec. 28, 2023, 5:59 p.m. | OK | Java 17 | TESTS | 6 | 826 | 44646400 | ||
239417458 | sarthakmanna | D | Dec. 28, 2023, 7:51 p.m. | OK | Java 21 | TESTS | 6 | 202 | 42496000 | ||
239431995 | Enovax | D | Dec. 29, 2023, 1:23 a.m. | OK | Java 21 | TESTS | 14 | 264 | 41779200 | ||
239415710 | mangos194 | D | Dec. 28, 2023, 7:29 p.m. | OK | Java 21 | TESTS | 6 | 280 | 42086400 | ||
239411992 | rajatpro2206 | D | Dec. 28, 2023, 6:45 p.m. | OK | Java 21 | TESTS | 6 | 295 | 42188800 | ||
239416725 | _vardan_ | D | Dec. 28, 2023, 7:41 p.m. | OK | Java 21 | TESTS | 6 | 296 | 42291200 | ||
239411441 | mk6748134 | D | Dec. 28, 2023, 6:39 p.m. | OK | Java 21 | TESTS | 6 | 311 | 41984000 | ||
239430601 | goalboy | D | Dec. 29, 2023, 12:43 a.m. | OK | Java 21 | TESTS | 14 | 311 | 42086400 | ||
239404428 | whitespace07 | D | Dec. 28, 2023, 5:42 p.m. | OK | Java 21 | TESTS | 6 | 342 | 42393600 | ||
239441471 | h230107183 | D | Dec. 29, 2023, 4:24 a.m. | OK | Java 21 | TESTS | 14 | 358 | 42291200 | ||
239409684 | HARRY_HARRY | D | Dec. 28, 2023, 6:24 p.m. | OK | Java 21 | TESTS | 6 | 623 | 43315200 | ||
239410817 | Anandharsh275 | D | Dec. 28, 2023, 6:34 p.m. | OK | Java 8 | TESTS | 6 | 93 | 19148800 | ||
239409304 | vinay_panwar | D | Dec. 28, 2023, 6:20 p.m. | OK | Java 8 | TESTS | 6 | 108 | 19046400 | ||
239446282 | 1091857051 | D | Dec. 29, 2023, 5:23 a.m. | OK | Java 8 | TESTS | 14 | 109 | 18841600 | ||
239405041 | uday0904 | D | Dec. 28, 2023, 5:47 p.m. | OK | Java 8 | TESTS | 6 | 109 | 18841600 | ||
239449908 | Nanthakumar06 | D | Dec. 29, 2023, 6:01 a.m. | OK | Java 8 | TESTS | 14 | 109 | 18944000 | ||
239446951 | caigou557 | D | Dec. 29, 2023, 5:31 a.m. | OK | Java 8 | TESTS | 14 | 139 | 19763200 | ||
239443906 | amit_roy | D | Dec. 29, 2023, 4:55 a.m. | OK | Java 8 | TESTS | 14 | 140 | 19558400 | ||
239408639 | param_101204 | D | Dec. 28, 2023, 6:14 p.m. | OK | Java 8 | TESTS | 6 | 140 | 19763200 | ||
239422396 | NerfThis | D | Dec. 28, 2023, 9:08 p.m. | OK | Java 8 | TESTS | 13 | 155 | 19353600 | ||
239411447 | sathwika47 | D | Dec. 28, 2023, 6:40 p.m. | OK | Java 8 | TESTS | 6 | 467 | 19763200 | ||
239410171 | PixelCat | D | Dec. 28, 2023, 6:28 p.m. | OK | Kotlin 1.9 | TESTS | 6 | 467 | 98918400 | ||
239415722 | PixelCat | D | Dec. 28, 2023, 7:29 p.m. | OK | Kotlin 1.9 | TESTS | 6 | 607 | 130252800 | ||
239404857 | 272222255 | D | Dec. 28, 2023, 5:45 p.m. | OK | MS C++ 2017 | TESTS | 6 | 15 | 5120000 | ||
239442323 | Anmolpreet_Singh | D | Dec. 29, 2023, 4:36 a.m. | OK | MS C++ 2017 | TESTS | 14 | 31 | 1536000 | ||
239436093 | smile...... | D | Dec. 29, 2023, 3 a.m. | OK | MS C++ 2017 | TESTS | 14 | 77 | 2150400 | ||
239432718 | cstack99 | D | Dec. 29, 2023, 1:43 a.m. | OK | MS C++ 2017 | TESTS | 14 | 795 | 2252800 | ||
239431169 | mizos | D | Dec. 29, 2023, 1 a.m. | OK | Node.js | TESTS | 14 | 124 | 41369600 | ||
239410964 | rsFalse | D | Dec. 28, 2023, 6:35 p.m. | OK | Perl | TESTS | 6 | 62 | 2560000 | ||
239420628 | Mihretthe | D | Dec. 28, 2023, 8:37 p.m. | OK | PyPy 3 | TESTS | 6 | 124 | 26112000 | ||
239421410 | 8659 | D | Dec. 28, 2023, 8:50 p.m. | OK | PyPy 3 | TESTS | 6 | 124 | 26521600 | ||
239411823 | Sovi_11 | D | Dec. 28, 2023, 6:44 p.m. | OK | PyPy 3 | TESTS | 6 | 155 | 26521600 | ||
239410463 | gardengnome | D | Dec. 28, 2023, 6:31 p.m. | OK | PyPy 3-64 | TESTS | 6 | 61 | 37068800 | ||
239409295 | Nishu__ | D | Dec. 28, 2023, 6:20 p.m. | OK | PyPy 3-64 | TESTS | 6 | 62 | 36761600 | ||
239428512 | SamuelTull | D | Dec. 28, 2023, 11:36 p.m. | OK | PyPy 3-64 | TESTS | 13 | 77 | 31232000 | ||
239418559 | lucbarn | D | Dec. 28, 2023, 8:05 p.m. | OK | PyPy 3-64 | TESTS | 6 | 77 | 36454400 | ||
239408008 | lycogno | D | Dec. 28, 2023, 6:09 p.m. | OK | PyPy 3-64 | TESTS | 6 | 77 | 36864000 | ||
239424086 | L567 | D | Dec. 28, 2023, 9:42 p.m. | OK | PyPy 3-64 | TESTS | 13 | 77 | 38195200 | ||
239424132 | saifgharbii | D | Dec. 28, 2023, 9:42 p.m. | OK | PyPy 3-64 | TESTS | 13 | 77 | 38502400 | ||
239439096 | Youarenotgood | D | Dec. 29, 2023, 3:51 a.m. | OK | PyPy 3-64 | TESTS | 14 | 77 | 39321600 | ||
239412689 | AlexFives | D | Dec. 28, 2023, 6:52 p.m. | OK | PyPy 3-64 | TESTS | 6 | 77 | 39424000 | ||
239446819 | USYDLDH | D | Dec. 29, 2023, 5:29 a.m. | OK | PyPy 3-64 | TESTS | 14 | 77 | 39526400 | ||
239403286 | nihalgeorge01 | D | Dec. 28, 2023, 5:34 p.m. | OK | Python 3 | TESTS | 6 | 62 | 13721600 | ||
239414004 | eugalt | D | Dec. 28, 2023, 7:08 p.m. | OK | Python 3 | TESTS | 6 | 62 | 15462400 | ||
239410795 | Arnoob2120 | D | Dec. 28, 2023, 6:34 p.m. | OK | Python 3 | TESTS | 6 | 77 | 7577600 | ||
239417215 | ipip | D | Dec. 28, 2023, 7:48 p.m. | OK | Python 3 | TESTS | 6 | 77 | 13721600 | ||
239407233 | melke_mk | D | Dec. 28, 2023, 6:05 p.m. | OK | Python 3 | TESTS | 6 | 77 | 14131200 | ||
239442839 | TrivialZzy | D | Dec. 29, 2023, 4:42 a.m. | OK | Python 3 | TESTS | 14 | 77 | 15462400 | ||
239414223 | eugalt | D | Dec. 28, 2023, 7:10 p.m. | OK | Python 3 | TESTS | 6 | 77 | 18636800 | ||
239404296 | meanup- | D | Dec. 28, 2023, 5:41 p.m. | OK | Python 3 | TESTS | 6 | 78 | 7168000 | ||
239411050 | AadityaSanjeev | D | Dec. 28, 2023, 6:36 p.m. | OK | Python 3 | TESTS | 6 | 78 | 7577600 | ||
239441514 | vijayvardhan6 | D | Dec. 29, 2023, 4:25 a.m. | OK | Python 3 | TESTS | 14 | 78 | 14745600 | ||
239411745 | _a253 | D | Dec. 28, 2023, 6:43 p.m. | OK | Rust 2021 | TESTS | 6 | 15 | 8089600 | ||
239437187 | ziggy | D | Dec. 29, 2023, 3:20 a.m. | OK | Rust 2021 | TESTS | 14 | 30 | 1945600 | ||
239407036 | acharyasuraj091 | D | Dec. 28, 2023, 6:03 p.m. | OK | Rust 2021 | TESTS | 6 | 31 | 2457600 | ||
239433834 | liut | D | Dec. 29, 2023, 2:11 a.m. | OK | Rust 2021 | TESTS | 14 | 31 | 8294400 |
Back to search problems