Codeforces Round 744 (Div. 3)

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
1579 Codeforces Round 744 (Div. 3) FINISHED False 8100 104426663 Sept. 28, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 39475 ) A Casimir's String Solitaire PROGRAMMING math strings

B'Casimir has a string s which consists of capital Latin letters 'A ', 'B ', and 'C ' only. Each turn he can choose to do one of the two following actions: Therefore, each turn the length of the string is decreased exactly by 2 . All turns are independent so for each turn, Casimir can choose any of two possible actions. For example, with s = "ABCABC" he can obtain a string s = "ACBC" in one turn (by erasing the first occurrence of 'B ' and the second occurrence of 'A '). There are also many other options for a turn aside from this particular example. For a given string s determine whether there is a sequence of actions leading to an empty string. In other words, Casimir 's goal is to erase all letters from the string. Is there a way to do this? The first line contains an integer t ( 1 <= t <= 1000 ) -- the number of test cases. Each test case is described by one string s , for which you need to determine if it can be fully erased by some sequence of turns. The string s consists of capital letters 'A ', 'B ', 'C ' and has a length from 1 to 50 letters, inclusive. Print t lines, each line containing the answer to the corresponding test case. The answer to a test case should be YES if there is a way to fully erase the corresponding string and NO otherwise. You may print every letter in any case you want (so, for example, the strings yEs, yes, Yes, and YES will all be recognized as positive answers). '...

Tutorials

Codeforces Round #744 (Div. 3) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
130316191 Yesh_2802 A Sept. 30, 2021, 4:26 a.m. OK Clang++17 Diagnostics TESTS 2 46 0
130255500 ayushbatra A Sept. 29, 2021, 11:02 a.m. OK GNU C11 TESTS 2 0 0
130268343 aalhadk A Sept. 29, 2021, 1:18 p.m. OK GNU C11 TESTS 2 0 0
130270601 Shamim_Sorkar A Sept. 29, 2021, 1:41 p.m. OK GNU C11 TESTS 2 0 3686400
130311669 syj2347 A Sept. 30, 2021, 2:37 a.m. OK GNU C11 TESTS 2 0 3686400
130263403 ninja_30 A Sept. 29, 2021, 12:28 p.m. OK GNU C11 TESTS 2 15 0
130279781 daimenz7 A Sept. 29, 2021, 3:14 p.m. OK GNU C11 TESTS 2 15 0
130237585 190079014 A Sept. 29, 2021, 7:21 a.m. OK GNU C11 TESTS 2 15 0
130257181 Lawson_Schwantz A Sept. 29, 2021, 11:21 a.m. OK GNU C11 TESTS 2 15 3686400
130295543 Kaptan A Sept. 29, 2021, 6:35 p.m. OK GNU C11 TESTS 2 15 3686400
130255669 XFY333 A Sept. 29, 2021, 11:04 a.m. OK GNU C11 TESTS 2 15 3686400
130289159 krunaaal A Sept. 29, 2021, 5:09 p.m. OK GNU C++14 TESTS 2 0 0
130284661 sk21 A Sept. 29, 2021, 4:10 p.m. OK GNU C++14 TESTS 2 0 0
130283584 mayank_cder A Sept. 29, 2021, 3:57 p.m. OK GNU C++14 TESTS 2 0 0
130280930 zWAELz A Sept. 29, 2021, 3:27 p.m. OK GNU C++14 TESTS 2 0 0
130271970 AbzRel A Sept. 29, 2021, 1:53 p.m. OK GNU C++14 TESTS 2 0 0
130319587 ak.47 A Sept. 30, 2021, 5:33 a.m. OK GNU C++14 TESTS 2 0 0
130318542 goyal_1999 A Sept. 30, 2021, 5:13 a.m. OK GNU C++14 TESTS 2 0 0
130297582 Azzakhaled A Sept. 29, 2021, 7:07 p.m. OK GNU C++14 TESTS 2 0 0
130291128 soul_iconic A Sept. 29, 2021, 5:34 p.m. OK GNU C++14 TESTS 2 0 0
130290861 123ampagp A Sept. 29, 2021, 5:31 p.m. OK GNU C++14 TESTS 2 0 0
130314284 ArunachalamM A Sept. 30, 2021, 3:41 a.m. OK GNU C++17 TESTS 2 0 0
130312042 giaminh836 A Sept. 30, 2021, 2:47 a.m. OK GNU C++17 TESTS 2 0 0
130319689 s4r7h4k A Sept. 30, 2021, 5:35 a.m. OK GNU C++17 TESTS 2 0 0
130320386 nishant_bansal A Sept. 30, 2021, 5:46 a.m. OK GNU C++17 TESTS 2 0 0
130321279 HKing147 A Sept. 30, 2021, 6:02 a.m. OK GNU C++17 TESTS 2 0 0
130319482 sjmf A Sept. 30, 2021, 5:31 a.m. OK GNU C++17 TESTS 2 0 0
130318800 a2lrajput A Sept. 30, 2021, 5:18 a.m. OK GNU C++17 TESTS 2 0 0
130318130 AvishkarBorkar A Sept. 30, 2021, 5:05 a.m. OK GNU C++17 TESTS 2 0 0
130317255 harshmax A Sept. 30, 2021, 4:47 a.m. OK GNU C++17 TESTS 2 0 0
130315058 nandajigyansu A Sept. 30, 2021, 3:59 a.m. OK GNU C++17 TESTS 2 0 0
130270098 devinqu A Sept. 29, 2021, 1:36 p.m. OK GNU C++17 (64) TESTS 2 0 0
130320889 simply_hooman A Sept. 30, 2021, 5:56 a.m. OK GNU C++17 (64) TESTS 2 0 0
130310409 Lhohelhohehmm A Sept. 30, 2021, 1:57 a.m. OK GNU C++17 (64) TESTS 2 0 0
130307652 Akhil_Rautela A Sept. 29, 2021, 11:50 p.m. OK GNU C++17 (64) TESTS 2 0 0
130306047 Iftekhar_Hakim_K A Sept. 29, 2021, 10:46 p.m. OK GNU C++17 (64) TESTS 2 0 0
130301204 mArGoThEqUeEn A Sept. 29, 2021, 8:20 p.m. OK GNU C++17 (64) TESTS 2 0 0
130285567 farahhezma A Sept. 29, 2021, 4:21 p.m. OK GNU C++17 (64) TESTS 2 0 0
130284098 sagar_sk007 A Sept. 29, 2021, 4:03 p.m. OK GNU C++17 (64) TESTS 2 0 0
130278824 tushar2805 A Sept. 29, 2021, 3:04 p.m. OK GNU C++17 (64) TESTS 2 0 0
130263543 Misbaul_Hasan A Sept. 29, 2021, 12:30 p.m. OK GNU C++17 (64) TESTS 2 0 0
130244306 wxwx2021 A Sept. 29, 2021, 8:44 a.m. OK Go TESTS 2 46 10649600
130297985 cocogo A Sept. 29, 2021, 7:14 p.m. OK Go TESTS 2 139 10649600
130298896 saurabh_coder A Sept. 29, 2021, 7:31 p.m. OK Go TESTS 2 140 0
130273355 saidamir98 A Sept. 29, 2021, 2:06 p.m. OK Go TESTS 2 140 10547200
130317041 XOR-star A Sept. 30, 2021, 4:43 a.m. OK Haskell TESTS 2 0 11673600
130318710 Avatar A Sept. 30, 2021, 5:16 a.m. OK Java 11 TESTS 2 140 0
130262925 RegalBeast A Sept. 29, 2021, 12:23 p.m. OK Java 11 TESTS 2 140 23961600
130318583 UIugbek_ABDlMANABOV A Sept. 30, 2021, 5:13 a.m. OK Java 11 TESTS 2 155 0
130292753 ytripathi891 A Sept. 29, 2021, 5:57 p.m. OK Java 11 TESTS 2 155 23859200
130294152 acumen A Sept. 29, 2021, 6:15 p.m. OK Java 11 TESTS 2 155 23859200
130293166 RadheKrishna1815 A Sept. 29, 2021, 6:03 p.m. OK Java 11 TESTS 2 170 23756800
130243051 1vivekanand A Sept. 29, 2021, 8:29 a.m. OK Java 11 TESTS 2 170 23859200
130296995 DAHMAN_iliass A Sept. 29, 2021, 6:58 p.m. OK Java 11 TESTS 2 171 0
130242655 adarsh_goku A Sept. 29, 2021, 8:24 a.m. OK Java 11 TESTS 2 171 0
130271335 AWahba A Sept. 29, 2021, 1:47 p.m. OK Java 11 TESTS 2 171 23756800
130247373 silentwings2008 A Sept. 29, 2021, 9:21 a.m. OK Java 8 TESTS 2 77 20172800
130269614 gssakash A Sept. 29, 2021, 1:31 p.m. OK Java 8 TESTS 2 77 20377600
130316298 ZiadASadek A Sept. 30, 2021, 4:28 a.m. OK Java 8 TESTS 2 78 20172800
130247379 YashGoswami24 A Sept. 29, 2021, 9:21 a.m. OK Java 8 TESTS 2 92 20377600
130304218 AckeV1 A Sept. 29, 2021, 9:40 p.m. OK Java 8 TESTS 2 93 0
130265258 rsingh3_be18 A Sept. 29, 2021, 12:47 p.m. OK Java 8 TESTS 2 93 0
130288628 osa.ayman A Sept. 29, 2021, 5:01 p.m. OK Java 8 TESTS 2 93 20377600
130223061 SubhaniSk7 A Sept. 29, 2021, 3:22 a.m. OK Java 8 TESTS 2 93 20480000
130240253 shauryagarg A Sept. 29, 2021, 7:54 a.m. OK Java 8 TESTS 2 108 0
130302871 coolManit A Sept. 29, 2021, 9:01 p.m. OK Java 8 TESTS 2 108 0
130292861 saurabh_coder A Sept. 29, 2021, 5:59 p.m. OK JavaScript TESTS 2 15 5836800
130310117 ThinkingDobby A Sept. 30, 2021, 1:48 a.m. OK Kotlin TESTS 2 77 0
130233907 IngloriousBastard A Sept. 29, 2021, 6:37 a.m. OK Kotlin TESTS 2 124 20275200
130292566 tanass A Sept. 29, 2021, 5:54 p.m. OK MS C++ 2017 TESTS 2 0 0
130249950 Gor_04 A Sept. 29, 2021, 9:53 a.m. OK MS C++ 2017 TESTS 2 0 0
130289491 vlad21074 A Sept. 29, 2021, 5:14 p.m. OK MS C++ 2017 TESTS 2 0 0
130229752 nor_or A Sept. 29, 2021, 5:30 a.m. OK MS C++ 2017 TESTS 2 0 3686400
130248708 giangnampro A Sept. 29, 2021, 9:38 a.m. OK MS C++ 2017 TESTS 2 0 3788800
130312492 killkjin A Sept. 30, 2021, 2:59 a.m. OK MS C++ 2017 TESTS 2 15 0
130268270 akshatgo1 A Sept. 29, 2021, 1:18 p.m. OK MS C++ 2017 TESTS 2 15 3686400
130308510 the-fly0618 A Sept. 30, 2021, 12:27 a.m. OK MS C++ 2017 TESTS 2 15 3686400
130273922 kirill2000 A Sept. 29, 2021, 2:12 p.m. OK MS C++ 2017 TESTS 2 15 3686400
130259845 Rev93 A Sept. 29, 2021, 11:50 a.m. OK MS C++ 2017 TESTS 2 15 3686400
130277734 zunayeds A Sept. 29, 2021, 2:52 p.m. OK .NET Core C# TESTS 2 61 11161600
130242975 Marshall_Lee A Sept. 29, 2021, 8:28 a.m. OK .NET Core C# TESTS 2 93 11264000
130277866 Kelk1 A Sept. 29, 2021, 2:53 p.m. OK Ocaml TESTS 2 15 0
130293433 Falazemi A Sept. 29, 2021, 6:06 p.m. OK PyPy 3 TESTS 2 77 1536000
130280826 Rushitha A Sept. 29, 2021, 3:25 p.m. OK PyPy 3 TESTS 2 77 2252800
130238824 v4su A Sept. 29, 2021, 7:37 a.m. OK PyPy 3 TESTS 2 93 20172800
130272919 anshul_129 A Sept. 29, 2021, 2:02 p.m. OK PyPy 3 TESTS 2 93 20275200
130306462 Himanshugt16 A Sept. 29, 2021, 11:03 p.m. OK PyPy 3 TESTS 2 108 2662400
130298684 tyzzi A Sept. 29, 2021, 7:27 p.m. OK PyPy 3 TESTS 2 108 20172800
130260114 _cyber_punk_007 A Sept. 29, 2021, 11:53 a.m. OK PyPy 3 TESTS 2 108 20172800
130226223 mnkp A Sept. 29, 2021, 4:24 a.m. OK PyPy 3 TESTS 2 108 20172800
130315213 i8nd5t A Sept. 30, 2021, 4:02 a.m. OK PyPy 3 TESTS 2 108 20480000
130285454 K4628w A Sept. 29, 2021, 4:20 p.m. OK PyPy 3 TESTS 2 109 20172800
130294620 elistark A Sept. 29, 2021, 6:22 p.m. OK Python 2 TESTS 2 31 0
130319569 ArtemPotap A Sept. 30, 2021, 5:33 a.m. OK Python 3 TESTS 2 30 0
130243164 Vikram_Shen A Sept. 29, 2021, 8:30 a.m. OK Python 3 TESTS 2 30 0
130295878 Botashev A Sept. 29, 2021, 6:39 p.m. OK Python 3 TESTS 2 31 0
130290210 tnowakow A Sept. 29, 2021, 5:23 p.m. OK Python 3 TESTS 2 31 0
130223895 bhavyacontractor A Sept. 29, 2021, 3:40 a.m. OK Python 3 TESTS 2 31 0
130272440 SasiPriyaMannava A Sept. 29, 2021, 1:57 p.m. OK Python 3 TESTS 2 31 6656000
130233458 TeaSpill A Sept. 29, 2021, 6:33 a.m. OK Python 3 TESTS 2 31 6758400
130236371 rkashi9 A Sept. 29, 2021, 7:07 a.m. OK Python 3 TESTS 2 31 6963200
130318196 thisisencrypt A Sept. 30, 2021, 5:06 a.m. OK Python 3 TESTS 2 46 0
130313412 Johnwick1212 A Sept. 30, 2021, 3:19 a.m. OK Python 3 TESTS 2 46 0
130276980 manta1130 A Sept. 29, 2021, 2:44 p.m. OK Rust TESTS 2 15 0
130290954 Chipe1 A Sept. 29, 2021, 5:32 p.m. OK Rust TESTS 2 15 3788800
130290299 Gompu123 A Sept. 29, 2021, 5:24 p.m. OK Rust TESTS 2 31 3788800
130261357 IvanDyachenko A Sept. 29, 2021, 12:06 p.m. OK Scala TESTS 2 405 31436800

remove filters

Back to search problems