Codeforces Round 834 (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
1759 Codeforces Round 834 (Div. 3) FINISHED False 8100 63041099 Nov. 18, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 30247 ) A Yes-Yes? PROGRAMMING implementation strings

B'You talked to Polycarp and asked him a question. You know that when he wants to answer "yes", he repeats Yes many times in a row. Because of the noise, you only heard part of the answer -- some substring of it. That is, if he answered YesYes, then you could hear esY, YesYes, sYes, e, but you couldn 't Yess, YES or se. Determine if it is true that the given string s is a substring of YesYesYes... (Yes repeated many times in a row). The first line of input data contains the singular t ( 1 <= t <= 1000 ) -- the number of test cases in the test. Each test case is described by a single string of Latin letters s ( 1 <= |s| <= 50 ) -- the part of Polycarp 's answer that you heard, where |s| -- is the length of the string s . Output t lines, each of which is the answer to the corresponding test case. As an answer, output "YES" if the specified string s is a substring of the string YesYesYes...Yes (the number of words Yes is arbitrary), and "NO" otherwise. You can output the answer in any case (for example, the strings "yEs", "yes", "Yes" and "YES" will be recognized as a positive answer). '...

Tutorials

109254

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
181562325 singhkrishnajsr143 A Nov. 19, 2022, 5:24 a.m. OK C# 10 TESTS 9 31 0
181530961 Abu_Bakar_Siddik A Nov. 18, 2022, 6:57 p.m. OK C# 10 TESTS 7 46 0
181529641 rusyn.dionisiia A Nov. 18, 2022, 6:42 p.m. OK C# 10 TESTS 7 61 102400
181554316 chrisfcoder A Nov. 19, 2022, 3:15 a.m. OK C# 10 TESTS 9 92 0
181510253 MiKate A Nov. 18, 2022, 4:42 p.m. OK C# 8 TESTS 2 77 0
181562817 bluemegane A Nov. 19, 2022, 5:30 a.m. OK C# 8 TESTS 9 124 819200
181519118 Soulmate_z A Nov. 18, 2022, 5:12 p.m. OK Clang++17 Diagnostics TESTS 2 15 0
181555512 sSoftd A Nov. 19, 2022, 3:36 a.m. OK Clang++17 Diagnostics TESTS 9 31 0
181521736 KL_30572 A Nov. 18, 2022, 5:28 p.m. OK Clang++17 Diagnostics TESTS 2 31 0
181524064 yousseflolo120 A Nov. 18, 2022, 5:47 p.m. OK Clang++17 Diagnostics TESTS 7 31 1024000
181547037 ralzip05 A Nov. 19, 2022, 12:09 a.m. OK Clang++17 Diagnostics TESTS 9 46 0
181531483 NikitaSergeev A Nov. 18, 2022, 7:03 p.m. OK Clang++17 Diagnostics TESTS 7 46 0
181552113 GianKuhz A Nov. 19, 2022, 2:30 a.m. OK Clang++17 Diagnostics TESTS 9 46 0
181555216 dsa_on_drugs A Nov. 19, 2022, 3:31 a.m. OK Clang++17 Diagnostics TESTS 9 46 0
181547911 zixiang A Nov. 19, 2022, 12:43 a.m. OK Clang++17 Diagnostics TESTS 9 46 0
181546978 EDCTY A Nov. 19, 2022, 12:06 a.m. OK Clang++20 Diagnostics TESTS 9 46 0
181510756 ArafatKabir A Nov. 18, 2022, 4:43 p.m. OK GNU C11 TESTS 2 0 0
181523006 Mushfiqur_ A Nov. 18, 2022, 5:38 p.m. OK GNU C11 TESTS 2 0 0
181523069 Mushfiqur_ A Nov. 18, 2022, 5:38 p.m. OK GNU C11 TESTS 2 0 0
181515058 SP2003 A Nov. 18, 2022, 4:52 p.m. OK GNU C11 TESTS 2 0 0
181527367 Mushfiqur_ A Nov. 18, 2022, 6:18 p.m. OK GNU C11 TESTS 7 15 0
181531735 merajislam2349 A Nov. 18, 2022, 7:06 p.m. OK GNU C11 TESTS 7 15 0
181535443 Aurnab10 A Nov. 18, 2022, 7:46 p.m. OK GNU C11 TESTS 7 15 0
181550586 Jahidul_CSE A Nov. 19, 2022, 1:58 a.m. OK GNU C11 TESTS 9 15 0
181558031 HIMU005 A Nov. 19, 2022, 4:20 a.m. OK GNU C11 TESTS 9 15 0
181565308 Quintessential A Nov. 19, 2022, 5:59 a.m. OK GNU C11 TESTS 9 15 0
181522326 miglaniharshrishi A Nov. 18, 2022, 5:32 p.m. OK GNU C++14 TESTS 2 0 0
181522596 blaze_57 A Nov. 18, 2022, 5:35 p.m. OK GNU C++14 TESTS 2 0 0
181524989 __HACKER__ A Nov. 18, 2022, 5:55 p.m. OK GNU C++14 TESTS 7 0 0
181525869 mohamed825 A Nov. 18, 2022, 6:03 p.m. OK GNU C++14 TESTS 7 0 0
181529314 SHAKHAWAT_SHIHAB A Nov. 18, 2022, 6:38 p.m. OK GNU C++14 TESTS 7 0 0
181533249 fahmid07 A Nov. 18, 2022, 7:22 p.m. OK GNU C++14 TESTS 7 0 0
181540199 Gedo_QotB A Nov. 18, 2022, 8:57 p.m. OK GNU C++14 TESTS 9 0 0
181548349 Cycyes A Nov. 19, 2022, 12:57 a.m. OK GNU C++14 TESTS 9 0 0
181556647 374 A Nov. 19, 2022, 3:56 a.m. OK GNU C++14 TESTS 9 0 0
181563584 honour A Nov. 19, 2022, 5:39 a.m. OK GNU C++14 TESTS 9 0 0
181563750 Nondifferentiable A Nov. 19, 2022, 5:41 a.m. OK GNU C++17 TESTS 9 0 0
181562835 tsdk02 A Nov. 19, 2022, 5:30 a.m. OK GNU C++17 TESTS 9 0 0
181562720 harsh_pandey_2003 A Nov. 19, 2022, 5:29 a.m. OK GNU C++17 TESTS 9 0 0
181555458 knockcat A Nov. 19, 2022, 3:35 a.m. OK GNU C++17 TESTS 9 0 0
181553845 tang- A Nov. 19, 2022, 3:04 a.m. OK GNU C++17 TESTS 9 0 0
181547416 littlemonk A Nov. 19, 2022, 12:24 a.m. OK GNU C++17 TESTS 9 0 0
181541381 moathhamudah A Nov. 18, 2022, 9:19 p.m. OK GNU C++17 TESTS 9 0 0
181536421 Muhammad-Herbawi A Nov. 18, 2022, 7:58 p.m. OK GNU C++17 TESTS 7 0 0
181533026 sarthak_dms A Nov. 18, 2022, 7:19 p.m. OK GNU C++17 TESTS 7 0 0
181531025 Vafo A Nov. 18, 2022, 6:58 p.m. OK GNU C++17 TESTS 7 0 0
181545639 anuanuclone A Nov. 18, 2022, 11:13 p.m. OK GNU C++17 (64) TESTS 9 0 0
181548159 DYM_ A Nov. 19, 2022, 12:50 a.m. OK GNU C++17 (64) TESTS 9 0 0
181548418 2-qiym A Nov. 19, 2022, 12:59 a.m. OK GNU C++17 (64) TESTS 9 0 0
181550957 FangYifan A Nov. 19, 2022, 2:05 a.m. OK GNU C++17 (64) TESTS 9 0 0
181551248 Cat_Holic A Nov. 19, 2022, 2:12 a.m. OK GNU C++17 (64) TESTS 9 0 0
181553596 bobbytan A Nov. 19, 2022, 2:59 a.m. OK GNU C++17 (64) TESTS 9 0 0
181558695 anawdina A Nov. 19, 2022, 4:31 a.m. OK GNU C++17 (64) TESTS 9 0 0
181559236 linguini_ A Nov. 19, 2022, 4:40 a.m. OK GNU C++17 (64) TESTS 9 0 0
181559762 tonyli00000 A Nov. 19, 2022, 4:48 a.m. OK GNU C++17 (64) TESTS 9 0 0
181564116 TAoz1 A Nov. 19, 2022, 5:46 a.m. OK GNU C++17 (64) TESTS 9 0 0
181565098 NI-LOY A Nov. 19, 2022, 5:57 a.m. OK GNU C++20 (64) TESTS 9 0 0
181564557 __rm98 A Nov. 19, 2022, 5:51 a.m. OK GNU C++20 (64) TESTS 9 0 0
181562842 _Amantur_ A Nov. 19, 2022, 5:30 a.m. OK GNU C++20 (64) TESTS 9 0 0
181562487 pangyu A Nov. 19, 2022, 5:26 a.m. OK GNU C++20 (64) TESTS 9 0 0
181562130 Lansong A Nov. 19, 2022, 5:21 a.m. OK GNU C++20 (64) TESTS 9 0 0
181561909 aspireboy A Nov. 19, 2022, 5:18 a.m. OK GNU C++20 (64) TESTS 9 0 0
181561336 hustlerr A Nov. 19, 2022, 5:11 a.m. OK GNU C++20 (64) TESTS 9 0 0
181560628 eVacode1 A Nov. 19, 2022, 5 a.m. OK GNU C++20 (64) TESTS 9 0 0
181560420 Bulka423 A Nov. 19, 2022, 4:57 a.m. OK GNU C++20 (64) TESTS 9 0 0
181559766 fossette7 A Nov. 19, 2022, 4:48 a.m. OK GNU C++20 (64) TESTS 9 0 0
181558801 Yermanov A Nov. 19, 2022, 4:33 a.m. OK Go TESTS 9 15 102400
181552911 bkerrgoog A Nov. 19, 2022, 2:46 a.m. OK Go TESTS 9 15 102400
181554084 bkerrgoog A Nov. 19, 2022, 3:09 a.m. OK Go TESTS 9 15 204800
181565162 D05T0N A Nov. 19, 2022, 5:58 a.m. OK Go TESTS 9 31 34918400
181516966 princeayush04 A Nov. 18, 2022, 5:01 p.m. OK Java 11 TESTS 2 139 0
181538977 rajneesh.osho A Nov. 18, 2022, 8:35 p.m. OK Java 11 TESTS 9 155 0
181520798 aiyush007 A Nov. 18, 2022, 5:22 p.m. OK Java 11 TESTS 2 155 0
181518536 AyushS_cg170 A Nov. 18, 2022, 5:09 p.m. OK Java 11 TESTS 2 155 0
181522121 vijender_8601 A Nov. 18, 2022, 5:31 p.m. OK Java 11 TESTS 2 156 0
181532200 lock_infinity A Nov. 18, 2022, 7:11 p.m. OK Java 11 TESTS 7 170 0
181555989 TangM A Nov. 19, 2022, 3:44 a.m. OK Java 11 TESTS 9 171 0
181549238 white_harmony A Nov. 19, 2022, 1:23 a.m. OK Java 11 TESTS 9 171 0
181515227 __Serendipity A Nov. 18, 2022, 4:53 p.m. OK Java 11 TESTS 2 171 0
181562002 unknown_world A Nov. 19, 2022, 5:20 a.m. OK Java 11 TESTS 9 187 0
181522359 girdhar A Nov. 18, 2022, 5:33 p.m. OK Java 17 TESTS 2 171 409600
181518693 Developer-Pratik A Nov. 18, 2022, 5:10 p.m. OK Java 17 TESTS 2 171 614400
181520785 Sanskar0407 A Nov. 18, 2022, 5:22 p.m. OK Java 17 TESTS 2 202 0
181519629 Saw_you A Nov. 18, 2022, 5:15 p.m. OK Java 17 TESTS 2 202 0
181555810 code_my_way123 A Nov. 19, 2022, 3:41 a.m. OK Java 17 TESTS 9 202 204800
181553242 Code_Learner_18 A Nov. 19, 2022, 2:53 a.m. OK Java 17 TESTS 9 202 409600
181550295 DimasHN_04 A Nov. 19, 2022, 1:50 a.m. OK Java 17 TESTS 9 202 409600
181534854 Mihir05 A Nov. 18, 2022, 7:40 p.m. OK Java 17 TESTS 7 202 409600
181510193 kirtan_kp A Nov. 18, 2022, 4:42 p.m. OK Java 17 TESTS 2 217 0
181522475 balajirudrawar123 A Nov. 18, 2022, 5:34 p.m. OK Java 17 TESTS 2 233 0
181547125 Kisuke A Nov. 19, 2022, 12:12 a.m. OK Java 8 TESTS 9 93 0
181528101 P1011 A Nov. 18, 2022, 6:25 p.m. OK Java 8 TESTS 7 93 0
181523071 Zicode A Nov. 18, 2022, 5:38 p.m. OK Java 8 TESTS 2 93 0
181521989 aryamanhello A Nov. 18, 2022, 5:30 p.m. OK Java 8 TESTS 2 93 0
181559318 leonlian A Nov. 19, 2022, 4:41 a.m. OK Java 8 TESTS 9 109 0
181556002 TangM A Nov. 19, 2022, 3:44 a.m. OK Java 8 TESTS 9 109 0
181548863 iamJatinYadav A Nov. 19, 2022, 1:12 a.m. OK Java 8 TESTS 9 109 0
181528134 PaulaEssam11 A Nov. 18, 2022, 6:26 p.m. OK Java 8 TESTS 7 124 0
181525177 toufique_husein A Nov. 18, 2022, 5:57 p.m. OK Java 8 TESTS 7 124 0
181524461 Hoshikira A Nov. 18, 2022, 5:51 p.m. OK Java 8 TESTS 7 124 0
181545203 in_the_Air A Nov. 18, 2022, 10:58 p.m. OK Kotlin 1.6 TESTS 9 343 0
181516171 Soulmate_z A Nov. 18, 2022, 4:57 p.m. OK MS C++ 2017 TESTS 2 0 0
181511715 Timiich A Nov. 18, 2022, 4:45 p.m. OK MS C++ 2017 TESTS 2 0 0
181547945 slkrus A Nov. 19, 2022, 12:44 a.m. OK MS C++ 2017 TESTS 9 15 0
181553158 timelesscat007 A Nov. 19, 2022, 2:51 a.m. OK MS C++ 2017 TESTS 9 15 102400
181548006 Moinul01 A Nov. 19, 2022, 12:46 a.m. OK MS C++ 2017 TESTS 9 31 102400
181513659 Wishmaster-89 A Nov. 18, 2022, 4:48 p.m. OK Node.js TESTS 2 93 1126400
181524592 Noman3050 A Nov. 18, 2022, 5:51 p.m. OK PyPy 3 TESTS 7 93 1740800
181515696 hjk63 A Nov. 18, 2022, 4:55 p.m. OK PyPy 3 TESTS 2 108 2252800
181526628 ve77 A Nov. 18, 2022, 6:11 p.m. OK PyPy 3 TESTS 7 108 4096000
181523262 sw_enthusiast A Nov. 18, 2022, 5:40 p.m. OK PyPy 3 TESTS 2 108 67379200
181547056 ivaneo A Nov. 19, 2022, 12:09 a.m. OK PyPy 3 TESTS 9 124 2867200
181536180 Lammert0907 A Nov. 18, 2022, 7:55 p.m. OK PyPy 3 TESTS 7 124 3379200
181544733 vishnesh A Nov. 18, 2022, 10:42 p.m. OK PyPy 3 TESTS 9 155 2969600
181559591 Shishir.3xrd A Nov. 19, 2022, 4:45 a.m. OK PyPy 3 TESTS 9 156 2867200
181545774 zmonster8 A Nov. 18, 2022, 11:17 p.m. OK PyPy 3 TESTS 9 280 3788800
181553992 gubshig A Nov. 19, 2022, 3:07 a.m. OK PyPy 3-64 TESTS 9 61 2560000
181528472 hkwu6013 A Nov. 18, 2022, 6:29 p.m. OK PyPy 3-64 TESTS 7 61 2560000
181551384 bokunopicolo A Nov. 19, 2022, 2:15 a.m. OK PyPy 3-64 TESTS 9 62 1740800
181524665 FrozenKandy A Nov. 18, 2022, 5:52 p.m. OK PyPy 3-64 TESTS 7 62 1945600
181519668 crapcode A Nov. 18, 2022, 5:15 p.m. OK PyPy 3-64 TESTS 2 62 1945600
181553946 Ninym_ A Nov. 19, 2022, 3:06 a.m. OK PyPy 3-64 TESTS 9 77 2457600
181525021 biglunchdude A Nov. 18, 2022, 5:55 p.m. OK PyPy 3-64 TESTS 7 77 2560000
181563042 brimstone A Nov. 19, 2022, 5:33 a.m. OK PyPy 3-64 TESTS 9 78 2764800
181555848 SangeetaSingh A Nov. 19, 2022, 3:42 a.m. OK PyPy 3-64 TESTS 9 93 2457600
181511344 112101017 A Nov. 18, 2022, 4:44 p.m. OK PyPy 3-64 TESTS 2 93 3174400
181519090 Girish28 A Nov. 18, 2022, 5:12 p.m. OK Python 3 TESTS 2 15 0
181517233 micka A Nov. 18, 2022, 5:02 p.m. OK Python 3 TESTS 2 30 0
181515241 Asmat.S_SundarSTEM A Nov. 18, 2022, 4:53 p.m. OK Python 3 TESTS 2 30 0
181526071 loguwork1157 A Nov. 18, 2022, 6:05 p.m. OK Python 3 TESTS 7 31 0
181525068 hani.hd47 A Nov. 18, 2022, 5:56 p.m. OK Python 3 TESTS 7 31 0
181523597 Harshit2004 A Nov. 18, 2022, 5:43 p.m. OK Python 3 TESTS 7 31 0
181523533 dbit A Nov. 18, 2022, 5:42 p.m. OK Python 3 TESTS 7 31 0
181523054 MB8097 A Nov. 18, 2022, 5:38 p.m. OK Python 3 TESTS 2 31 0
181522471 madhu479 A Nov. 18, 2022, 5:34 p.m. OK Python 3 TESTS 2 31 0
181517173 milimurmu1995 A Nov. 18, 2022, 5:02 p.m. OK Python 3 TESTS 2 31 0
181540825 liut A Nov. 18, 2022, 9:07 p.m. OK Rust 2021 TESTS 9 15 0

remove filters

Back to search problems