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 |
---|---|---|---|---|---|---|
1800 | Codeforces Round 855 (Div. 3) | FINISHED | False | 8100 | 54055499 | March 2, 2023, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 31793 ) | A | Is It a Cat? | PROGRAMMING | implementation strings |
B'You were walking down the street and heard a sound. The sound was described by the string s consisting of lowercase and uppercase Latin characters. Now you want to find out if the sound was a cat meowing. For the sound to be a meowing, the string can only contain the letters 'm ', 'e ', 'o ' and 'w ', in either uppercase or lowercase. Also: For example, strings "meow", "mmmEeOWww", "MeOooOw" describe a meowing, but strings "Mweo", "MeO", "moew", "MmEW", "meowmeow" do not. Determine whether the sound you heard was a cat meowing or something else. The first line of input data contains a single integer t ( 1 <= t <= 10^4 ) -- the number of test cases. The description of the test cases follows. The first line of each test case contains an integer n ( 1 <= n <= 50 ) -- the length of the string describing the sound. The second line of each test case contains a string s of n characters. The string describes the sound you heard and consists only of lowercase and uppercase Latin letters. For each test case, output on a separate line: You can output YES and NO in any case (for example, strings yEs, yes, Yes and YES will be recognized as positive response). In the first test case, the string consists of a sequence of characters 'm ', 'e ', 'O ', 'w ', which satisfies the definition of meowing. In the second test case, the string consists of a sequence of 3 characters 'm ' and 'M ', one 'e ', a sequence of 3 characters 'o ' and 'O ' and a sequence of 7 characters 'w ' and 'W ', which satisfies the definition of meowing. In the third test case, the string does not describe a meowing because it lacks a sequence of 'o ' or 'O ' characters between 'e ' and 'w '. In the fourth test case, the string contains the character 'U ', so it does not describe a meowing. '... |
Codeforces Round 855 (Div. 3) Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
195744976 | mban259 | A | March 3, 2023, 1:13 a.m. | OK | C# 10 | TESTS | 66 | 46 | 2457600 | ||
195744720 | bluemegane | A | March 3, 2023, 1:08 a.m. | OK | C# 8 | TESTS | 66 | 108 | 2969600 | ||
195742406 | Welp_0_O | A | March 3, 2023, 12:13 a.m. | OK | Clang++20 Diagnostics | TESTS | 3 | 249 | 0 | ||
195760757 | HoangNguyen2222 | A | March 3, 2023, 5:40 a.m. | OK | Clang++20 Diagnostics | TESTS | 66 | 280 | 0 | ||
195762819 | ss412 | A | March 3, 2023, 6:03 a.m. | OK | Clang++20 Diagnostics | TESTS | 66 | 686 | 4198400 | ||
195742027 | Awesome3.14 | A | March 3, 2023, 12:04 a.m. | OK | D | TESTS | 3 | 78 | 2048000 | ||
195721536 | under_cover_ | A | March 2, 2023, 6:51 p.m. | OK | GNU C11 | TESTS | 3 | 15 | 0 | ||
195718946 | levtt | A | March 2, 2023, 6:29 p.m. | OK | GNU C11 | TESTS | 3 | 31 | 0 | ||
195727750 | awsaf1825 | A | March 2, 2023, 7:50 p.m. | OK | GNU C11 | TESTS | 3 | 31 | 0 | ||
195762089 | ahsanhabibsadik123 | A | March 3, 2023, 5:56 a.m. | OK | GNU C11 | TESTS | 66 | 46 | 0 | ||
195732233 | c0derro | A | March 2, 2023, 8:42 p.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
195737339 | Redoanzim | A | March 2, 2023, 10:12 p.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
195745466 | Smallorange | A | March 3, 2023, 1:24 a.m. | OK | GNU C11 | TESTS | 66 | 46 | 0 | ||
195752768 | tan_chao | A | March 3, 2023, 3:49 a.m. | OK | GNU C11 | TESTS | 66 | 46 | 0 | ||
195754847 | k_nahid | A | March 3, 2023, 4:25 a.m. | OK | GNU C11 | TESTS | 66 | 46 | 0 | ||
195730926 | danikeyskiy | A | March 2, 2023, 8:25 p.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
195755714 | RED_MONK | A | March 3, 2023, 4:38 a.m. | OK | GNU C++14 | TESTS | 66 | 15 | 0 | ||
195752323 | Kevin8502 | A | March 3, 2023, 3:40 a.m. | OK | GNU C++14 | TESTS | 66 | 15 | 0 | ||
195752052 | ArshAgl | A | March 3, 2023, 3:36 a.m. | OK | GNU C++14 | TESTS | 66 | 15 | 0 | ||
195751537 | lmf_up | A | March 3, 2023, 3:27 a.m. | OK | GNU C++14 | TESTS | 66 | 15 | 0 | ||
195750570 | SchezoSchezo | A | March 3, 2023, 3:09 a.m. | OK | GNU C++14 | TESTS | 66 | 15 | 0 | ||
195750189 | moyifan | A | March 3, 2023, 3:03 a.m. | OK | GNU C++14 | TESTS | 66 | 15 | 0 | ||
195747055 | phongcd | A | March 3, 2023, 1:59 a.m. | OK | GNU C++14 | TESTS | 66 | 15 | 0 | ||
195758845 | drexdelta1 | A | March 3, 2023, 5:17 a.m. | OK | GNU C++14 | TESTS | 66 | 15 | 0 | ||
195758697 | chy12321 | A | March 3, 2023, 5:15 a.m. | OK | GNU C++14 | TESTS | 66 | 15 | 0 | ||
195756728 | mr.johan | A | March 3, 2023, 4:52 a.m. | OK | GNU C++14 | TESTS | 66 | 15 | 0 | ||
195709643 | hyperbolic_tangent | A | March 2, 2023, 5:23 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
195711091 | varshith_s | A | March 2, 2023, 5:33 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
195711369 | abhay786_20 | A | March 2, 2023, 5:34 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
195713402 | aoishwaryaice15 | A | March 2, 2023, 5:48 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
195714045 | bulbus | A | March 2, 2023, 5:53 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
195720930 | dark_ethics | A | March 2, 2023, 6:45 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
195737773 | GehadTahoon | A | March 2, 2023, 10:21 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
195723227 | LucaLucaM | A | March 2, 2023, 7:05 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 102400 | ||
195719654 | 1429063002 | A | March 2, 2023, 6:35 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 102400 | ||
195720120 | Ivkosqn | A | March 2, 2023, 6:39 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 204800 | ||
195744175 | s7win99 | A | March 3, 2023, 12:55 a.m. | OK | GNU C++17 (64) | TESTS | 66 | 15 | 0 | ||
195762697 | gqf123 | A | March 3, 2023, 6:02 a.m. | OK | GNU C++17 (64) | TESTS | 66 | 15 | 0 | ||
195762436 | moo. | A | March 3, 2023, 5:59 a.m. | OK | GNU C++17 (64) | TESTS | 66 | 15 | 0 | ||
195762064 | juliany2 | A | March 3, 2023, 5:55 a.m. | OK | GNU C++17 (64) | TESTS | 66 | 15 | 0 | ||
195742319 | code_ninja_123 | A | March 3, 2023, 12:11 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
195742173 | Onaa | A | March 3, 2023, 12:08 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
195739379 | NK_ | A | March 2, 2023, 10:56 p.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
195738518 | Xylenox | A | March 2, 2023, 10:38 p.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
195738266 | codingsuju | A | March 2, 2023, 10:32 p.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
195729594 | MamdouhHisham | A | March 2, 2023, 8:09 p.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
195729158 | Folka | A | March 2, 2023, 8:04 p.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
195730809 | WAtoAC2001 | A | March 2, 2023, 8:23 p.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
195734759 | YassoKhalid | A | March 2, 2023, 9:20 p.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
195737598 | Men3m | A | March 2, 2023, 10:18 p.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
195737970 | Eslam_Saleh | A | March 2, 2023, 10:25 p.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
195738441 | camc | A | March 2, 2023, 10:36 p.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
195740087 | AOT_ | A | March 2, 2023, 11:12 p.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
195740799 | binglengmo | A | March 2, 2023, 11:31 p.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
195741598 | Tirade | A | March 2, 2023, 11:52 p.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
195742682 | Imran_61 | A | March 3, 2023, 12:21 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
195725874 | Fart17 | A | March 2, 2023, 7:31 p.m. | OK | Go | TESTS | 3 | 1170 | 3379200 | ||
195717166 | believer99 | A | March 2, 2023, 6:16 p.m. | OK | Go | TESTS | 3 | 1185 | 4198400 | ||
195727560 | pakkapapad | A | March 2, 2023, 7:48 p.m. | OK | Java 11 | TESTS | 3 | 171 | 0 | ||
195757986 | __Serendipity | A | March 3, 2023, 5:07 a.m. | OK | Java 11 | TESTS | 66 | 171 | 0 | ||
195750575 | Nanthakumar06 | A | March 3, 2023, 3:09 a.m. | OK | Java 11 | TESTS | 66 | 171 | 0 | ||
195733829 | lock_infinity | A | March 2, 2023, 9:05 p.m. | OK | Java 11 | TESTS | 3 | 171 | 0 | ||
195747447 | Nanthakumar06 | A | March 3, 2023, 2:10 a.m. | OK | Java 11 | TESTS | 66 | 202 | 0 | ||
195717449 | XIN | A | March 2, 2023, 6:18 p.m. | OK | Java 11 | TESTS | 3 | 217 | 0 | ||
195727199 | IET_LUCKNOW | A | March 2, 2023, 7:44 p.m. | OK | Java 11 | TESTS | 3 | 233 | 0 | ||
195718372 | ilasiawo | A | March 2, 2023, 6:25 p.m. | OK | Java 11 | TESTS | 3 | 233 | 0 | ||
195712403 | stasbag | A | March 2, 2023, 5:42 p.m. | OK | Java 11 | TESTS | 3 | 233 | 0 | ||
195758520 | Adnan_14 | A | March 3, 2023, 5:13 a.m. | OK | Java 11 | TESTS | 66 | 249 | 0 | ||
195722416 | alm_t | A | March 2, 2023, 6:58 p.m. | OK | Java 17 | TESTS | 3 | 187 | 204800 | ||
195718388 | binomanjesh | A | March 2, 2023, 6:25 p.m. | OK | Java 17 | TESTS | 3 | 202 | 0 | ||
195722244 | alm_t | A | March 2, 2023, 6:57 p.m. | OK | Java 17 | TESTS | 3 | 202 | 204800 | ||
195760442 | InfernalTreant | A | March 3, 2023, 5:37 a.m. | OK | Java 17 | TESTS | 66 | 202 | 512000 | ||
195721396 | less_ordinary | A | March 2, 2023, 6:49 p.m. | OK | Java 17 | TESTS | 3 | 202 | 614400 | ||
195747088 | Mustela_Erminea | A | March 3, 2023, 2 a.m. | OK | Java 17 | TESTS | 66 | 202 | 716800 | ||
195739874 | Eslam_Ahmed | A | March 2, 2023, 11:07 p.m. | OK | Java 17 | TESTS | 3 | 217 | 204800 | ||
195733889 | amianelijah | A | March 2, 2023, 9:06 p.m. | OK | Java 17 | TESTS | 3 | 218 | 921600 | ||
195728521 | ahmedtawfik | A | March 2, 2023, 7:57 p.m. | OK | Java 17 | TESTS | 3 | 233 | 307200 | ||
195721744 | alm_t | A | March 2, 2023, 6:52 p.m. | OK | Java 17 | TESTS | 3 | 248 | 512000 | ||
195729690 | DylanSmith | A | March 2, 2023, 8:10 p.m. | OK | Java 8 | TESTS | 3 | 93 | 0 | ||
195734875 | IanISam | A | March 2, 2023, 9:22 p.m. | OK | Java 8 | TESTS | 3 | 108 | 0 | ||
195739460 | Asiatois | A | March 2, 2023, 10:58 p.m. | OK | Java 8 | TESTS | 3 | 124 | 0 | ||
195748329 | chuquwan9964 | A | March 3, 2023, 2:29 a.m. | OK | Java 8 | TESTS | 66 | 155 | 0 | ||
195721635 | Koka | A | March 2, 2023, 6:51 p.m. | OK | Java 8 | TESTS | 3 | 155 | 0 | ||
195761239 | Saurabh-Sharma | A | March 3, 2023, 5:46 a.m. | OK | Java 8 | TESTS | 66 | 186 | 0 | ||
195718808 | Parth_Pandey | A | March 2, 2023, 6:28 p.m. | OK | Java 8 | TESTS | 3 | 187 | 0 | ||
195755371 | adyrna | A | March 3, 2023, 4:33 a.m. | OK | Java 8 | TESTS | 66 | 202 | 0 | ||
195711419 | toufique_husein | A | March 2, 2023, 5:35 p.m. | OK | Java 8 | TESTS | 3 | 202 | 0 | ||
195756583 | amit_roy | A | March 3, 2023, 4:50 a.m. | OK | Java 8 | TESTS | 66 | 217 | 0 | ||
195751003 | tryingit | A | March 3, 2023, 3:17 a.m. | OK | JavaScript | TESTS | 66 | 31 | 1331200 | ||
195752619 | 21jansel | A | March 3, 2023, 3:46 a.m. | OK | Kotlin 1.7 | TESTS | 66 | 452 | 23347200 | ||
195743046 | bkifhr10 | A | March 3, 2023, 12:29 a.m. | OK | Kotlin 1.7 | TESTS | 3 | 499 | 17203200 | ||
195751325 | NewPlayer169 | A | March 3, 2023, 3:23 a.m. | OK | Kotlin 1.7 | TESTS | 66 | 530 | 32665600 | ||
195743373 | bkifhr8 | A | March 3, 2023, 12:37 a.m. | OK | Kotlin 1.7 | TESTS | 66 | 592 | 17715200 | ||
195741246 | NguyenVanNgocHuy | A | March 2, 2023, 11:43 p.m. | OK | MS C++ 2017 | TESTS | 3 | 46 | 0 | ||
195723493 | aaditya_yadv | A | March 2, 2023, 7:08 p.m. | OK | MS C++ 2017 | TESTS | 3 | 46 | 0 | ||
195748985 | AS23 | A | March 3, 2023, 2:42 a.m. | OK | PyPy 3 | TESTS | 66 | 358 | 6758400 | ||
195747672 | Azusamitsusa | A | March 3, 2023, 2:14 a.m. | OK | PyPy 3 | TESTS | 66 | 373 | 7577600 | ||
195729307 | Sovi_11 | A | March 2, 2023, 8:06 p.m. | OK | PyPy 3 | TESTS | 3 | 374 | 6758400 | ||
195730894 | cereal-hecker | A | March 2, 2023, 8:24 p.m. | OK | PyPy 3 | TESTS | 3 | 389 | 6860800 | ||
195746775 | arkinazi | A | March 3, 2023, 1:54 a.m. | OK | PyPy 3 | TESTS | 66 | 389 | 9216000 | ||
195748092 | Azusamitsusa | A | March 3, 2023, 2:24 a.m. | OK | PyPy 3 | TESTS | 66 | 436 | 9318400 | ||
195719486 | Nas | A | March 2, 2023, 6:33 p.m. | OK | PyPy 3 | TESTS | 3 | 483 | 9318400 | ||
195734738 | voicon | A | March 2, 2023, 9:20 p.m. | OK | PyPy 3-64 | TESTS | 3 | 77 | 6553600 | ||
195743601 | liuaaa | A | March 3, 2023, 12:42 a.m. | OK | PyPy 3-64 | TESTS | 66 | 93 | 6553600 | ||
195748833 | InariInDream | A | March 3, 2023, 2:39 a.m. | OK | PyPy 3-64 | TESTS | 66 | 93 | 7372800 | ||
195733951 | FlakeLCR | A | March 2, 2023, 9:07 p.m. | OK | PyPy 3-64 | TESTS | 3 | 124 | 8089600 | ||
195741597 | vjudge5 | A | March 2, 2023, 11:52 p.m. | OK | PyPy 3-64 | TESTS | 3 | 124 | 8908800 | ||
195720205 | gardengnome | A | March 2, 2023, 6:39 p.m. | OK | PyPy 3-64 | TESTS | 3 | 124 | 9830400 | ||
195751682 | The_MazeRunner | A | March 3, 2023, 3:29 a.m. | OK | PyPy 3-64 | TESTS | 66 | 139 | 8908800 | ||
195755497 | its_archisman | A | March 3, 2023, 4:35 a.m. | OK | PyPy 3-64 | TESTS | 66 | 139 | 9216000 | ||
195755550 | its_archisman | A | March 3, 2023, 4:36 a.m. | OK | PyPy 3-64 | TESTS | 66 | 139 | 9318400 | ||
195742665 | summertony717 | A | March 3, 2023, 12:20 a.m. | OK | PyPy 3-64 | TESTS | 3 | 139 | 9830400 | ||
195727733 | Nabib_the_genious | A | March 2, 2023, 7:49 p.m. | OK | Python 3 | TESTS | 3 | 93 | 614400 | ||
195736164 | elistark | A | March 2, 2023, 9:47 p.m. | OK | Python 3 | TESTS | 3 | 109 | 0 | ||
195759401 | iZafor | A | March 3, 2023, 5:24 a.m. | OK | Python 3 | TESTS | 66 | 124 | 0 | ||
195754583 | NABIEVMEHRUBON | A | March 3, 2023, 4:21 a.m. | OK | Python 3 | TESTS | 66 | 124 | 409600 | ||
195740976 | vjudge3 | A | March 2, 2023, 11:36 p.m. | OK | Python 3 | TESTS | 3 | 124 | 512000 | ||
195734951 | taruarora2605 | A | March 2, 2023, 9:24 p.m. | OK | Python 3 | TESTS | 3 | 139 | 0 | ||
195715951 | Quick-One | A | March 2, 2023, 6:07 p.m. | OK | Python 3 | TESTS | 3 | 139 | 0 | ||
195710823 | Gvalin | A | March 2, 2023, 5:31 p.m. | OK | Python 3 | TESTS | 3 | 139 | 0 | ||
195709904 | mulyam13986 | A | March 2, 2023, 5:25 p.m. | OK | Python 3 | TESTS | 3 | 139 | 0 | ||
195741461 | Afeather2017 | A | March 2, 2023, 11:48 p.m. | OK | Python 3 | TESTS | 3 | 139 | 102400 | ||
195723058 | haskell_brown | A | March 2, 2023, 7:04 p.m. | OK | Rust 2021 | TESTS | 3 | 77 | 0 |
Back to search problems