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 |
|---|---|---|---|---|---|---|
| 2045 | 2024-2025 ICPC Asia Jakarta Regional Contest (Unrated, Online Mirror, ICPC Rules, Teams Preferred) | FINISHED | False | 18000 | 43376123 | Dec. 1, 2024, 5:05 a.m. |
Solved |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
|---|---|---|---|---|---|---|
| ( 2549 ) | A | Scrambled Scrabble | PROGRAMMING | brute force greedy | 1700 |
You are playing a word game using a standard set of (26) uppercase English letters: A — Z . In this game, you can form vowels and consonants as follows. The letters A , E , I , O , and U can only form a vowel. The letter Y can form either a vowel or a consonant. Each of the remaining letters other than A , E , I , O , U , and Y can only form a consonant. The string NG can form a single consonant when concatenated together. Denote a syllable as a concatenation of a consonant, a vowel, and a consonant in that order. A word is a concatenation of one or more syllables. You are given a string (S) and you want to create a word from it. You are allowed to delete zero or more letters from (S) and rearrange the remaining letters to form the word. Find the length of the longest word that can be created, or determine if no words can be created. A single line consisting of a string (S) ((1 \leq |S| \leq 5000)). The string (S) consists of only uppercase English letters. If a word cannot be created, output 0 . Otherwise, output a single integer representing the length of longest word that can be created. Explanation for the sample input/output #1 A possible longest word is JAKCARTAP , consisting of the syllables JAK , CAR , and TAP . Explanation for the sample input/output #2 The whole string (S) is a word consisting of one syllable which is the concatenation of the consonant NG , the vowel E , and the consonant NG . Explanation for the sample input/output #3 The whole string (S) is a word consisting of one syllable which is the concatenation of the consonant Y , the vowel Y , and the consonant Y . Explanation for the sample input/output #4 The whole string (S) is a word consisting of two syllables: DAN and GAN . |
| raRzKDJLPHcUnqTcwvGznwEdKiDWjEkd.pdf |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 294179701 | og.kostya | A | Dec. 1, 2024, 10:46 a.m. | OK | C# 10 | TESTS | 48 | 109 | 1228800 | 1700 | |
| 294215772 | Floating_Duck | A | Dec. 1, 2024, 2:28 p.m. | OK | C++17 (GCC 7-32) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294144812 | SoReMore | A | Dec. 1, 2024, 6:25 a.m. | OK | C++17 (GCC 7-32) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294137963 | yogahmad77 | A | Dec. 1, 2024, 5:18 a.m. | OK | C++17 (GCC 7-32) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294222117 | adilsadman60 Its_Saikat_19 | A | Dec. 1, 2024, 3:06 p.m. | OK | C++17 (GCC 7-32) | TESTS | 48 | 61 | 102400 | 1700 | |
| 294206272 | dhaniya_patti | A | Dec. 1, 2024, 1:33 p.m. | OK | C++17 (GCC 7-32) | TESTS | 48 | 61 | 102400 | 1700 | |
| 294181450 | pty6666 | A | Dec. 1, 2024, 11:01 a.m. | OK | C++17 (GCC 7-32) | TESTS | 48 | 61 | 102400 | 1700 | |
| 294153443 | MaximaApex | A | Dec. 1, 2024, 7:10 a.m. | OK | C++17 (GCC 7-32) | TESTS | 48 | 61 | 102400 | 1700 | |
| 294153413 | Yen_Nhi | A | Dec. 1, 2024, 7:09 a.m. | OK | C++17 (GCC 7-32) | TESTS | 48 | 61 | 102400 | 1700 | |
| 294152144 | ItsHABIBA | A | Dec. 1, 2024, 6:58 a.m. | OK | C++17 (GCC 7-32) | TESTS | 48 | 61 | 102400 | 1700 | |
| 294143118 | zhy156 | A | Dec. 1, 2024, 6:09 a.m. | OK | C++17 (GCC 7-32) | TESTS | 48 | 61 | 102400 | 1700 | |
| 294141728 | jenil0108 UzuHa_NaruSuke nishanthravichandran12 | A | Dec. 1, 2024, 5:55 a.m. | OK | C++20 (GCC 13-64) | TESTS | 48 | 46 | 0 | 1700 | |
| 294298465 | guaidaokakaxi | A | Dec. 2, 2024, 5:27 a.m. | OK | C++20 (GCC 13-64) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294281350 | llcxmn | A | Dec. 2, 2024, 12:27 a.m. | OK | C++20 (GCC 13-64) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294245077 | aastha.mewar2801 | A | Dec. 1, 2024, 6:03 p.m. | OK | C++20 (GCC 13-64) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294244796 | jatin_goyal14 | A | Dec. 1, 2024, 6:01 p.m. | OK | C++20 (GCC 13-64) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294222790 | Gold_Dragon | A | Dec. 1, 2024, 3:11 p.m. | OK | C++20 (GCC 13-64) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294210733 | ZhangHongze | A | Dec. 1, 2024, 1:54 p.m. | OK | C++20 (GCC 13-64) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294184673 | MapleCC | A | Dec. 1, 2024, 11:29 a.m. | OK | C++20 (GCC 13-64) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294165096 | s_h_rudra88 Sha_mim Ahir_Alam | A | Dec. 1, 2024, 8:53 a.m. | OK | C++20 (GCC 13-64) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294152240 | _ChiFAN_ | A | Dec. 1, 2024, 6:58 a.m. | OK | C++20 (GCC 13-64) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294232880 | akkafakka | A | Dec. 1, 2024, 4:22 p.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294164823 | andy_tran | A | Dec. 1, 2024, 8:51 a.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294144681 | Mrcharlezzz Giga_Cronos | A | Dec. 1, 2024, 6:24 a.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294142305 | JayTe TselmegKh tamir1 | A | Dec. 1, 2024, 6:01 a.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294140412 | akkafakka | A | Dec. 1, 2024, 5:43 a.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294139732 | guanabana Puas | A | Dec. 1, 2024, 5:36 a.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294139718 | GoogleBot | A | Dec. 1, 2024, 5:36 a.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 48 | 46 | 102400 | 1700 | |
| 294285783 | huangzr | A | Dec. 2, 2024, 2:22 a.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 48 | 61 | 102400 | 1700 | |
| 294258582 | refred1 | A | Dec. 1, 2024, 7:37 p.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 48 | 61 | 102400 | 1700 | |
| 294198113 | __Jahid__Noob__ | A | Dec. 1, 2024, 12:42 p.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 48 | 61 | 102400 | 1700 | |
| 294179125 | _rudra_pratap_singh_ | A | Dec. 1, 2024, 10:41 a.m. | OK | GNU C11 | TESTS | 48 | 77 | 102400 | 1700 | |
| 294142004 | -wicton- | A | Dec. 1, 2024, 5:58 a.m. | OK | GNU C11 | TESTS | 48 | 77 | 102400 | 1700 | |
| 294143470 | dauletomarov1130 abu halfyy | A | Dec. 1, 2024, 6:13 a.m. | OK | Java 21 | TESTS | 48 | 281 | 1638400 | 1700 | |
| 294181674 | yallavamsipavan | A | Dec. 1, 2024, 11:03 a.m. | OK | Java 21 | TESTS | 48 | 312 | 1536000 | 1700 | |
| 294238049 | kasiru_69 | A | Dec. 1, 2024, 5:04 p.m. | OK | Java 8 | TESTS | 48 | 156 | 0 | 1700 | |
| 294235063 | NavneetKumar123 | A | Dec. 1, 2024, 4:39 p.m. | OK | Java 8 | TESTS | 48 | 171 | 0 | 1700 | |
| 294181912 | yallavamsipavan | A | Dec. 1, 2024, 11:05 a.m. | OK | Java 8 | TESTS | 48 | 186 | 0 | 1700 | |
| 294222094 | Radhe_1 | A | Dec. 1, 2024, 3:06 p.m. | OK | Java 8 | TESTS | 48 | 202 | 0 | 1700 | |
| 294158608 | rsrcm | A | Dec. 1, 2024, 7:56 a.m. | OK | PyPy 3-64 | TESTS | 48 | 93 | 2150400 | 1700 | |
| 294160177 | esya_rae raskitech | A | Dec. 1, 2024, 8:11 a.m. | OK | PyPy 3-64 | TESTS | 48 | 108 | 1638400 | 1700 | |
| 294233041 | xxx.ego | A | Dec. 1, 2024, 4:23 p.m. | OK | PyPy 3-64 | TESTS | 48 | 124 | 2355200 | 1700 | |
| 294140918 | nikiforov egordeev35 DIMSE | A | Dec. 1, 2024, 5:48 a.m. | OK | PyPy 3-64 | TESTS | 48 | 124 | 2355200 | 1700 | |
| 294171039 | shubham6105 | A | Dec. 1, 2024, 9:46 a.m. | OK | PyPy 3-64 | TESTS | 48 | 155 | 2252800 | 1700 | |
| 294158316 | bac0nb0yy Haksell | A | Dec. 1, 2024, 7:53 a.m. | OK | PyPy 3-64 | TESTS | 48 | 155 | 47616000 | 1700 | |
| 294221608 | knightofthe7kingdoms | A | Dec. 1, 2024, 3:02 p.m. | OK | PyPy 3-64 | TESTS | 48 | 156 | 2969600 | 1700 | |
| 294138244 | DeadRhino | A | Dec. 1, 2024, 5:21 a.m. | OK | PyPy 3-64 | TESTS | 48 | 171 | 1536000 | 1700 | |
| 294158671 | zepopa Baderik MusicB | A | Dec. 1, 2024, 7:57 a.m. | OK | PyPy 3-64 | TESTS | 48 | 171 | 2355200 | 1700 | |
| 294137487 | __baozii__ | A | Dec. 1, 2024, 5:12 a.m. | OK | PyPy 3-64 | TESTS | 48 | 171 | 4608000 | 1700 | |
| 294209796 | sai_swaroop8656 | A | Dec. 1, 2024, 1:48 p.m. | OK | Python 3 | TESTS | 48 | 93 | 204800 | 1700 |
Back to search problems