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 |
---|---|---|---|---|---|---|
1906 | 2023-2024 ICPC, Asia Jakarta Regional Contest (Online Mirror, Unrated, ICPC Rules, Teams Preferred) | FINISHED | False | 18000 | 35601863 | Dec. 3, 2023, 4:35 a.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 4710 ) | A | Easy As ABC | PROGRAMMING | brute force |
B'You are playing a word puzzle. The puzzle starts with a 3 by 3 grid, where each cell contains either the letter A, B, or C. The goal of this puzzle is to find the lexicographically smallest possible word of length 3 . The word can be formed by choosing three different cells where the cell containing the first letter is adjacent to the cell containing the second letter, and the cell containing the second letter is adjacent to the cell containing the third letter. Two cells are adjacent to each other if they share a border or a corner, as shown in the following illustration. Formally, if (r, c) denotes the cell in the r -th row and c -th column, then cell (r, c) is adjacent to cell (r, c + 1) , (r - 1, c + 1) , (r - 1, c) , (r - 1, c - 1) , (r, c - 1) , (r + 1, c - 1) , (r + 1, c) , and (r + 1, c + 1) . Determine the lexicographically smallest possible word of length 3 that you can find within the grid. A string s of length n is lexicographically smaller than string t of the same length if there exists an integer 1 <= q i <= q n such that s_j = t_j for all 1 <= q j < i , and s_i < t_i in alphabetical order. The following illustration shows some examples on some grids and their the lexicographically smallest possible word of length 3 that you can find within the grids. Input consists of three lines, each containing three letters, representing the puzzle grid. Each letter in the grid can only be either A, B, or C. Output the lexicographically smallest possible word of length 3 that you can find within the grid. '... |
problem_analysis.pdf |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
235467460 | AutumnMist DongFang lAMaLOSER | A | Dec. 3, 2023, 5:22 a.m. | OK | C# 10 | TESTS | 55 | 62 | 0 | ||
235515679 | NenadDapic | A | Dec. 3, 2023, 11:58 a.m. | OK | FPC | TESTS | 55 | 15 | 102400 | ||
235617470 | Ronit5 | A | Dec. 3, 2023, 6:01 p.m. | OK | GNU C11 | TESTS | 55 | 15 | 0 | ||
235549013 | coffice | A | Dec. 3, 2023, 2:52 p.m. | OK | GNU C11 | TESTS | 55 | 31 | 0 | ||
235622425 | tamminaina_y | A | Dec. 3, 2023, 6:44 p.m. | OK | GNU C++14 | TESTS | 55 | 15 | 0 | ||
235529087 | codeforallno | A | Dec. 3, 2023, 1:53 p.m. | OK | GNU C++14 | TESTS | 55 | 15 | 0 | ||
235510182 | liupeilin0821 | A | Dec. 3, 2023, 11:11 a.m. | OK | GNU C++14 | TESTS | 55 | 15 | 0 | ||
235498499 | vin179 | A | Dec. 3, 2023, 9:32 a.m. | OK | GNU C++14 | TESTS | 55 | 15 | 0 | ||
235495652 | Srginit286 | A | Dec. 3, 2023, 9:12 a.m. | OK | GNU C++14 | TESTS | 55 | 15 | 0 | ||
235487940 | tripathics17 priyassinha71202 pursottam | A | Dec. 3, 2023, 8:18 a.m. | OK | GNU C++14 | TESTS | 55 | 15 | 0 | ||
235659651 | Vishal_009 | A | Dec. 4, 2023, 5:37 a.m. | OK | GNU C++14 | TESTS | 55 | 15 | 0 | ||
235655974 | kuguadawang | A | Dec. 4, 2023, 4:44 a.m. | OK | GNU C++14 | TESTS | 55 | 15 | 0 | ||
235655951 | karthi222528 | A | Dec. 4, 2023, 4:43 a.m. | OK | GNU C++14 | TESTS | 55 | 15 | 0 | ||
235625133 | vin179 | A | Dec. 3, 2023, 7:08 p.m. | OK | GNU C++14 | TESTS | 55 | 15 | 0 | ||
235465328 | Tanzim_bn Hamim99 | A | Dec. 3, 2023, 4:55 a.m. | OK | GNU C++17 | TESTS | 55 | 0 | 0 | ||
235465384 | g_square rhythmnic itsdhruvarora | A | Dec. 3, 2023, 4:56 a.m. | OK | GNU C++17 | TESTS | 55 | 0 | 0 | ||
235472493 | fbacst NoNameQWQ | A | Dec. 3, 2023, 6:16 a.m. | OK | GNU C++17 | TESTS | 55 | 0 | 0 | ||
235639917 | soyfki | A | Dec. 3, 2023, 11:14 p.m. | OK | GNU C++17 | TESTS | 55 | 15 | 0 | ||
235628254 | karmanyagupta1421 | A | Dec. 3, 2023, 7:38 p.m. | OK | GNU C++17 | TESTS | 55 | 15 | 0 | ||
235628204 | karmanyagupta1421 | A | Dec. 3, 2023, 7:38 p.m. | OK | GNU C++17 | TESTS | 55 | 15 | 0 | ||
235617409 | Myth64 | A | Dec. 3, 2023, 6 p.m. | OK | GNU C++17 | TESTS | 55 | 15 | 0 | ||
235614501 | journeyIT24 | A | Dec. 3, 2023, 5:37 p.m. | OK | GNU C++17 | TESTS | 55 | 15 | 0 | ||
235658438 | phukaoz | A | Dec. 4, 2023, 5:20 a.m. | OK | GNU C++17 | TESTS | 55 | 15 | 0 | ||
235649577 | thunopro | A | Dec. 4, 2023, 2:49 a.m. | OK | GNU C++17 | TESTS | 55 | 15 | 0 | ||
235520551 | bjjvsrjjt | A | Dec. 3, 2023, 12:39 p.m. | OK | GNU C++17 (64) | TESTS | 55 | 15 | 0 | ||
235520503 | enslaved | A | Dec. 3, 2023, 12:39 p.m. | OK | GNU C++17 (64) | TESTS | 55 | 15 | 0 | ||
235502026 | mingzi123 | A | Dec. 3, 2023, 10 a.m. | OK | GNU C++17 (64) | TESTS | 55 | 15 | 0 | ||
235491155 | Limie | A | Dec. 3, 2023, 8:40 a.m. | OK | GNU C++17 (64) | TESTS | 55 | 15 | 0 | ||
235487405 | feduardo | A | Dec. 3, 2023, 8:14 a.m. | OK | GNU C++17 (64) | TESTS | 55 | 15 | 0 | ||
235484205 | abdosaaed749 | A | Dec. 3, 2023, 7:50 a.m. | OK | GNU C++17 (64) | TESTS | 55 | 15 | 0 | ||
235482653 | Water_mage 20230158322023 xiaolianyi | A | Dec. 3, 2023, 7:40 a.m. | OK | GNU C++17 (64) | TESTS | 55 | 15 | 0 | ||
235482586 | jnmnr | A | Dec. 3, 2023, 7:40 a.m. | OK | GNU C++17 (64) | TESTS | 55 | 15 | 0 | ||
235617730 | chappy1 | A | Dec. 3, 2023, 6:03 p.m. | OK | GNU C++17 (64) | TESTS | 55 | 15 | 0 | ||
235523581 | sarvesh_87 | A | Dec. 3, 2023, 1:05 p.m. | OK | GNU C++17 (64) | TESTS | 55 | 15 | 0 | ||
235640757 | stoplight | A | Dec. 3, 2023, 11:37 p.m. | OK | GNU C++20 (64) | TESTS | 55 | 0 | 0 | ||
235509877 | adrielcp | A | Dec. 3, 2023, 11:08 a.m. | OK | GNU C++20 (64) | TESTS | 55 | 0 | 0 | ||
235484920 | Samuuffdzz | A | Dec. 3, 2023, 7:55 a.m. | OK | GNU C++20 (64) | TESTS | 55 | 0 | 0 | ||
235477736 | Sakiith | A | Dec. 3, 2023, 7:02 a.m. | OK | GNU C++20 (64) | TESTS | 55 | 0 | 0 | ||
235473814 | qq11123334 | A | Dec. 3, 2023, 6:29 a.m. | OK | GNU C++20 (64) | TESTS | 55 | 0 | 0 | ||
235469416 | Aniket54 covert_insurgent Mega_Alpha001 | A | Dec. 3, 2023, 5:45 a.m. | OK | GNU C++20 (64) | TESTS | 55 | 0 | 0 | ||
235465731 | li_yuang | A | Dec. 3, 2023, 5:01 a.m. | OK | GNU C++20 (64) | TESTS | 55 | 0 | 0 | ||
235465604 | Orzigzag | A | Dec. 3, 2023, 4:59 a.m. | OK | GNU C++20 (64) | TESTS | 55 | 0 | 0 | ||
235464837 | mickeygiaogiaoroom | A | Dec. 3, 2023, 4:49 a.m. | OK | GNU C++20 (64) | TESTS | 55 | 0 | 0 | ||
235464615 | zhangzhimo starrylasky Huasushis | A | Dec. 3, 2023, 4:47 a.m. | OK | GNU C++20 (64) | TESTS | 55 | 0 | 0 | ||
235465612 | man-ray | A | Dec. 3, 2023, 4:59 a.m. | OK | Java 11 | TESTS | 55 | 187 | 1024000 | ||
235464463 | ericchen890 michaelsxiang theSSS | A | Dec. 3, 2023, 4:45 a.m. | OK | Java 11 | TESTS | 55 | 202 | 921600 | ||
235468689 | pavan.nagaraju94 | A | Dec. 3, 2023, 5:36 a.m. | OK | Java 11 | TESTS | 55 | 218 | 921600 | ||
235470154 | patorocks | A | Dec. 3, 2023, 5:53 a.m. | OK | Java 11 | TESTS | 55 | 233 | 1638400 | ||
235657424 | KIRA_p01 | A | Dec. 4, 2023, 5:06 a.m. | OK | Java 17 | TESTS | 55 | 249 | 2252800 | ||
235511257 | SharpEdge1 | A | Dec. 3, 2023, 11:21 a.m. | OK | Java 17 | TESTS | 55 | 249 | 2457600 | ||
235471316 | bryceShakeair | A | Dec. 3, 2023, 6:05 a.m. | OK | Java 17 | TESTS | 55 | 311 | 2457600 | ||
235509013 | RatanK | A | Dec. 3, 2023, 11:01 a.m. | OK | Java 21 | TESTS | 55 | 311 | 2150400 | ||
235466208 | safarisoul | A | Dec. 3, 2023, 5:07 a.m. | OK | Java 8 | TESTS | 55 | 93 | 0 | ||
235482829 | yvbf | A | Dec. 3, 2023, 7:41 a.m. | OK | Java 8 | TESTS | 55 | 109 | 0 | ||
235465462 | Darko | A | Dec. 3, 2023, 4:57 a.m. | OK | Java 8 | TESTS | 55 | 109 | 0 | ||
235474100 | Tinpanther | A | Dec. 3, 2023, 6:31 a.m. | OK | Java 8 | TESTS | 55 | 124 | 0 | ||
235520194 | arvindf232 | A | Dec. 3, 2023, 12:36 p.m. | OK | Kotlin 1.6 | TESTS | 55 | 218 | 1228800 | ||
235490631 | codewithyogesh | A | Dec. 3, 2023, 8:37 a.m. | OK | MS C++ 2017 | TESTS | 55 | 15 | 0 | ||
235488433 | kotprogrammist | A | Dec. 3, 2023, 8:21 a.m. | OK | MS C++ 2017 | TESTS | 55 | 15 | 0 | ||
235482958 | VitaliiV | A | Dec. 3, 2023, 7:42 a.m. | OK | MS C++ 2017 | TESTS | 55 | 15 | 0 | ||
235477448 | arundwivedi | A | Dec. 3, 2023, 7 a.m. | OK | MS C++ 2017 | TESTS | 55 | 15 | 0 | ||
235466848 | shio | A | Dec. 3, 2023, 5:14 a.m. | OK | MS C++ 2017 | TESTS | 55 | 15 | 0 | ||
235469697 | yonsweng | A | Dec. 3, 2023, 5:48 a.m. | OK | PyPy 3 | TESTS | 55 | 93 | 0 | ||
235660824 | js_pro | A | Dec. 4, 2023, 5:51 a.m. | OK | PyPy 3-64 | TESTS | 55 | 61 | 0 | ||
235627594 | Faithnhope JCrossover_14 | A | Dec. 3, 2023, 7:31 p.m. | OK | PyPy 3-64 | TESTS | 55 | 62 | 0 | ||
235606894 | phucht.it2023 | A | Dec. 3, 2023, 4:50 p.m. | OK | PyPy 3-64 | TESTS | 55 | 62 | 0 | ||
235550606 | mohdaman892 | A | Dec. 3, 2023, 2:54 p.m. | OK | PyPy 3-64 | TESTS | 55 | 62 | 0 | ||
235517280 | drgrd | A | Dec. 3, 2023, 12:12 p.m. | OK | PyPy 3-64 | TESTS | 55 | 62 | 0 | ||
235499586 | utsavshahm Nandeesh.Bhatrai | A | Dec. 3, 2023, 9:40 a.m. | OK | PyPy 3-64 | TESTS | 55 | 62 | 0 | ||
235494142 | HarshitKumarGupta | A | Dec. 3, 2023, 9:01 a.m. | OK | PyPy 3-64 | TESTS | 55 | 62 | 0 | ||
235483982 | naneko B10_STITI Kefrov | A | Dec. 3, 2023, 7:49 a.m. | OK | PyPy 3-64 | TESTS | 55 | 62 | 0 | ||
235470696 | Niki_fx KrivosheyYuriy | A | Dec. 3, 2023, 5:58 a.m. | OK | PyPy 3-64 | TESTS | 55 | 62 | 0 | ||
235470402 | qawfg42 | A | Dec. 3, 2023, 5:55 a.m. | OK | PyPy 3-64 | TESTS | 55 | 62 | 0 | ||
235624482 | Quixy314 | A | Dec. 3, 2023, 7:03 p.m. | OK | Python 3 | TESTS | 55 | 46 | 0 | ||
235610855 | Quixy314 | A | Dec. 3, 2023, 5:12 p.m. | OK | Python 3 | TESTS | 55 | 46 | 0 | ||
235527185 | pvantien203 | A | Dec. 3, 2023, 1:36 p.m. | OK | Python 3 | TESTS | 55 | 46 | 0 | ||
235496508 | Prakharprasun | A | Dec. 3, 2023, 9:18 a.m. | OK | Python 3 | TESTS | 55 | 46 | 0 | ||
235469247 | MOHD_FAIZ ArtValor bOrax10 | A | Dec. 3, 2023, 5:43 a.m. | OK | Python 3 | TESTS | 55 | 46 | 0 | ||
235465642 | MrPoopybutthole DigiM apakaden | A | Dec. 3, 2023, 4:59 a.m. | OK | Python 3 | TESTS | 55 | 46 | 0 | ||
235598348 | MarshallRNH2 | A | Dec. 3, 2023, 4:24 p.m. | OK | Python 3 | TESTS | 55 | 46 | 102400 | ||
235496725 | _Otabek_Otabayev_ Nargizaxon Khamidov_Ubaydullo | A | Dec. 3, 2023, 9:19 a.m. | OK | Python 3 | TESTS | 55 | 46 | 102400 | ||
235491617 | Sevinch17 MeSevinch Otabek_Otabayev | A | Dec. 3, 2023, 8:44 a.m. | OK | Python 3 | TESTS | 55 | 46 | 102400 | ||
235476348 | alexander.calvin98 | A | Dec. 3, 2023, 6:51 a.m. | OK | Python 3 | TESTS | 55 | 46 | 102400 | ||
235474486 | NotSpaceBoy | A | Dec. 3, 2023, 6:35 a.m. | OK | Rust 2021 | TESTS | 55 | 15 | 0 |
Back to search problems