Codeforces Round 817 (Div. 4)

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
1722 Codeforces Round 817 (Div. 4) FINISHED False 8100 69952199 Aug. 30, 2022, 2:50 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 51747 ) A Spell Check PROGRAMMING implementation 800

B'Timur likes his name. As a spelling of his name, he allows any permutation of the letters of the name. For example, the following strings are valid spellings of his name: Timur, miurT, Trumi, mriTu. Note that the correct spelling must have uppercased T and lowercased other letters. Today he wrote string s of length n consisting only of uppercase or lowercase Latin letters. He asks you to check if s is the correct spelling of his name. The first line of the input contains an integer t ( 1 <= q t <= q 10^3 ) -- the number of test cases. The first line of each test case contains an integer n (1 <= q n <= q 10) -- the length of string s . The second line of each test case contains a string s consisting of only uppercase or lowercase Latin characters. For each test case, output "YES" (without quotes) if s satisfies the condition, and "NO" (without quotes) 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

106478

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
170440518 hieuhaui12 A Sept. 1, 2022, 3:32 a.m. OK C# 10 TESTS 5 46 102400 800
170349681 asutosh1998 A Aug. 31, 2022, 5:55 a.m. OK C# 10 TESTS 5 46 204800 800
170431089 Deksa A Aug. 31, 2022, 10:46 p.m. OK C# 8 TESTS 5 77 409600 800
170394353 Umangtrivedi2203 A Aug. 31, 2022, 1:59 p.m. OK Clang++17 Diagnostics TESTS 5 31 0 800
170443908 Shaharuk2210 A Sept. 1, 2022, 4:50 a.m. OK Clang++17 Diagnostics TESTS 5 31 0 800
170373224 vjudge1 A Aug. 31, 2022, 10:41 a.m. OK Clang++17 Diagnostics TESTS 5 46 0 800
170412873 string_abhi12 A Aug. 31, 2022, 5:25 p.m. OK Clang++17 Diagnostics TESTS 5 46 0 800
170438459 lizongjing997 A Sept. 1, 2022, 2:41 a.m. OK Clang++20 Diagnostics TESTS 5 30 0 800
170372015 realpt A Aug. 31, 2022, 10:29 a.m. OK Clang++20 Diagnostics TESTS 5 31 0 800
170365942 noobcityboy A Aug. 31, 2022, 9:13 a.m. OK FPC TESTS 5 15 102400 800
170439375 ht4779925 A Sept. 1, 2022, 3:05 a.m. OK FPC TESTS 5 15 102400 800
170418067 LizonLegend A Aug. 31, 2022, 6:26 p.m. OK GNU C11 TESTS 5 15 0 800
170404919 sohan.siras A Aug. 31, 2022, 3:51 p.m. OK GNU C11 TESTS 5 15 0 800
170410308 humayun200044 A Aug. 31, 2022, 4:54 p.m. OK GNU C11 TESTS 5 15 0 800
170412596 Mahfuj_SUST A Aug. 31, 2022, 5:22 p.m. OK GNU C11 TESTS 5 15 0 800
170414654 imshakibhasan A Aug. 31, 2022, 5:45 p.m. OK GNU C11 TESTS 5 15 0 800
170390993 axelnakata A Aug. 31, 2022, 1:27 p.m. OK GNU C11 TESTS 5 15 0 800
170418240 LizonLegend A Aug. 31, 2022, 6:28 p.m. OK GNU C11 TESTS 5 15 0 800
170420014 Vaishnavi. A Aug. 31, 2022, 6:53 p.m. OK GNU C11 TESTS 5 15 0 800
170424723 thenoobone A Aug. 31, 2022, 8:14 p.m. OK GNU C11 TESTS 5 15 0 800
170433380 kapil32 A Sept. 1, 2022, 12:10 a.m. OK GNU C11 TESTS 5 15 0 800
170446167 forg0t A Sept. 1, 2022, 5:34 a.m. OK GNU C++14 TESTS 5 0 0 800
170438890 Allen123 A Sept. 1, 2022, 2:52 a.m. OK GNU C++14 TESTS 5 0 0 800
170439030 pokefunc A Sept. 1, 2022, 2:55 a.m. OK GNU C++14 TESTS 5 0 0 800
170439494 Aniketcode A Sept. 1, 2022, 3:08 a.m. OK GNU C++14 TESTS 5 0 0 800
170441066 wudoulieqi A Sept. 1, 2022, 3:45 a.m. OK GNU C++14 TESTS 5 0 0 800
170443724 Qg5 A Sept. 1, 2022, 4:46 a.m. OK GNU C++14 TESTS 5 0 0 800
170444200 kaustubh_1806 A Sept. 1, 2022, 4:56 a.m. OK GNU C++14 TESTS 5 0 0 800
170444655 narc7x A Sept. 1, 2022, 5:05 a.m. OK GNU C++14 TESTS 5 0 0 800
170444732 _lzh A Sept. 1, 2022, 5:07 a.m. OK GNU C++14 TESTS 5 0 0 800
170445552 quannduc1404 A Sept. 1, 2022, 5:23 a.m. OK GNU C++14 TESTS 5 0 0 800
170447586 PerseverantHJ A Sept. 1, 2022, 6 a.m. OK GNU C++17 TESTS 5 0 0 800
170447408 ZHIRDILBILDIZ A Sept. 1, 2022, 5:56 a.m. OK GNU C++17 TESTS 5 0 0 800
170447005 nk3 A Sept. 1, 2022, 5:50 a.m. OK GNU C++17 TESTS 5 0 0 800
170446406 Rainbow_jzy A Sept. 1, 2022, 5:38 a.m. OK GNU C++17 TESTS 5 0 0 800
170445591 _shgupta A Sept. 1, 2022, 5:24 a.m. OK GNU C++17 TESTS 5 0 0 800
170445451 varun_iitbhu A Sept. 1, 2022, 5:21 a.m. OK GNU C++17 TESTS 5 0 0 800
170445217 binay0607 A Sept. 1, 2022, 5:16 a.m. OK GNU C++17 TESTS 5 0 0 800
170443118 detonator4460 A Sept. 1, 2022, 4:33 a.m. OK GNU C++17 TESTS 5 0 0 800
170443117 kritika_tripathi A Sept. 1, 2022, 4:33 a.m. OK GNU C++17 TESTS 5 0 0 800
170442697 sandesh_08 A Sept. 1, 2022, 4:23 a.m. OK GNU C++17 TESTS 5 0 0 800
170441142 nicolasalba A Sept. 1, 2022, 3:46 a.m. OK GNU C++17 (64) TESTS 5 0 0 800
170446756 suryam35 A Sept. 1, 2022, 5:45 a.m. OK GNU C++17 (64) TESTS 5 0 0 800
170445571 chenzhen1 A Sept. 1, 2022, 5:23 a.m. OK GNU C++17 (64) TESTS 5 0 0 800
170445259 arn_k A Sept. 1, 2022, 5:17 a.m. OK GNU C++17 (64) TESTS 5 0 0 800
170444104 DEATHWISHER21 A Sept. 1, 2022, 4:54 a.m. OK GNU C++17 (64) TESTS 5 0 0 800
170436821 cherry_su A Sept. 1, 2022, 1:55 a.m. OK GNU C++17 (64) TESTS 5 0 0 800
170435597 wtmn A Sept. 1, 2022, 1:20 a.m. OK GNU C++17 (64) TESTS 5 0 0 800
170432873 cheng1202 A Aug. 31, 2022, 11:55 p.m. OK GNU C++17 (64) TESTS 5 0 0 800
170412001 ossama1001 A Aug. 31, 2022, 5:14 p.m. OK GNU C++17 (64) TESTS 5 0 0 800
170411230 Somaditya02 A Aug. 31, 2022, 5:05 p.m. OK GNU C++17 (64) TESTS 5 0 0 800
170437941 Abdal-raoof2001 A Sept. 1, 2022, 2:25 a.m. OK GNU C++20 (64) TESTS 5 0 0 800
170438288 npoof A Sept. 1, 2022, 2:35 a.m. OK GNU C++20 (64) TESTS 5 0 0 800
170438640 1vs100000 A Sept. 1, 2022, 2:46 a.m. OK GNU C++20 (64) TESTS 5 0 0 800
170438985 YeWeiQiang A Sept. 1, 2022, 2:54 a.m. OK GNU C++20 (64) TESTS 5 0 0 800
170440482 Vipul11 A Sept. 1, 2022, 3:31 a.m. OK GNU C++20 (64) TESTS 5 0 0 800
170441380 jk-jung A Sept. 1, 2022, 3:52 a.m. OK GNU C++20 (64) TESTS 5 0 0 800
170442087 ueurwieuzzzzz A Sept. 1, 2022, 4:08 a.m. OK GNU C++20 (64) TESTS 5 0 0 800
170443700 ak1729 A Sept. 1, 2022, 4:46 a.m. OK GNU C++20 (64) TESTS 5 0 0 800
170443771 s_jaskaran_s A Sept. 1, 2022, 4:48 a.m. OK GNU C++20 (64) TESTS 5 0 0 800
170444406 Prof_Bat A Sept. 1, 2022, 5:01 a.m. OK GNU C++20 (64) TESTS 5 0 0 800
170390419 sazarov83 A Aug. 31, 2022, 1:22 p.m. OK Haskell TESTS 5 15 0 800
170372072 MrReDoX A Aug. 31, 2022, 10:30 a.m. OK Haskell TESTS 5 15 0 800
170436539 rajan44chauhan A Sept. 1, 2022, 1:47 a.m. OK Java 11 TESTS 5 171 0 800
170418913 Deepak4466 A Aug. 31, 2022, 6:38 p.m. OK Java 11 TESTS 5 171 0 800
170416847 blekinge A Aug. 31, 2022, 6:11 p.m. OK Java 11 TESTS 5 171 0 800
170389695 Yash9890 A Aug. 31, 2022, 1:16 p.m. OK Java 11 TESTS 5 171 0 800
170371158 Singlanavya A Aug. 31, 2022, 10:19 a.m. OK Java 11 TESTS 5 171 0 800
170355831 Bibhav_Shah A Aug. 31, 2022, 7:15 a.m. OK Java 11 TESTS 5 171 0 800
170441482 SanskarxRawat A Sept. 1, 2022, 3:54 a.m. OK Java 11 TESTS 5 171 204800 800
170406215 ChiNhan A Aug. 31, 2022, 4:06 p.m. OK Java 11 TESTS 5 187 0 800
170399824 MrShadow A Aug. 31, 2022, 2:54 p.m. OK Java 11 TESTS 5 187 0 800
170363969 dyxdxy A Aug. 31, 2022, 8:50 a.m. OK Java 11 TESTS 5 187 0 800
170387420 manimaran_s A Aug. 31, 2022, 12:55 p.m. OK Java 17 TESTS 5 155 0 800
170366905 Tumderbird A Aug. 31, 2022, 9:26 a.m. OK Java 17 TESTS 5 171 0 800
170352064 zhaoxuelong A Aug. 31, 2022, 6:27 a.m. OK Java 17 TESTS 5 171 0 800
170404914 tratotui A Aug. 31, 2022, 3:51 p.m. OK Java 17 TESTS 5 171 102400 800
170392689 harryzhengipsum A Aug. 31, 2022, 1:42 p.m. OK Java 17 TESTS 5 187 102400 800
170351082 sivakumar1538 A Aug. 31, 2022, 6:14 a.m. OK Java 17 TESTS 5 187 614400 800
170353456 Adarsh_Raj8 A Aug. 31, 2022, 6:44 a.m. OK Java 17 TESTS 5 202 204800 800
170356107 roohaande A Aug. 31, 2022, 7:19 a.m. OK Java 17 TESTS 5 202 307200 800
170348860 Tommy__Shelby08 A Aug. 31, 2022, 5:43 a.m. OK Java 17 TESTS 5 202 409600 800
170375465 prathmesh321 A Aug. 31, 2022, 11:04 a.m. OK Java 17 TESTS 5 217 0 800
170414286 Yousef_Badr A Aug. 31, 2022, 5:41 p.m. OK Java 8 TESTS 5 78 0 800
170413567 suyash.211.sn A Aug. 31, 2022, 5:33 p.m. OK Java 8 TESTS 5 78 0 800
170428695 leonlian A Aug. 31, 2022, 9:37 p.m. OK Java 8 TESTS 5 92 0 800
170401080 akarshanand2810 A Aug. 31, 2022, 3:08 p.m. OK Java 8 TESTS 5 92 0 800
170424496 Lyashenko A Aug. 31, 2022, 8:09 p.m. OK Java 8 TESTS 5 93 0 800
170405464 Sussykin A Aug. 31, 2022, 3:58 p.m. OK Java 8 TESTS 5 93 0 800
170399059 poopoop A Aug. 31, 2022, 2:46 p.m. OK Java 8 TESTS 5 93 0 800
170357686 Leetcode_Bro A Aug. 31, 2022, 7:38 a.m. OK Java 8 TESTS 5 93 0 800
170354603 frey4 A Aug. 31, 2022, 6:59 a.m. OK Java 8 TESTS 5 93 0 800
170411956 sagbis A Aug. 31, 2022, 5:14 p.m. OK Java 8 TESTS 5 108 0 800
170445095 Noobish A Sept. 1, 2022, 5:14 a.m. OK JavaScript TESTS 5 31 102400 800
170379346 aislanfgc A Aug. 31, 2022, 11:42 a.m. OK Kotlin 1.6 TESTS 5 186 0 800
170349397 ripity A Aug. 31, 2022, 5:51 a.m. OK Kotlin 1.6 TESTS 5 202 1126400 800
170414977 Darsa A Aug. 31, 2022, 5:48 p.m. OK Kotlin 1.6 TESTS 5 218 512000 800
170434896 gnu11111 A Sept. 1, 2022, 1 a.m. OK Kotlin 1.6 TESTS 5 233 819200 800
170353480 Ash_2k A Aug. 31, 2022, 6:44 a.m. OK MS C++ 2017 TESTS 5 0 0 800
170445715 coderanger_26 A Sept. 1, 2022, 5:26 a.m. OK MS C++ 2017 TESTS 5 15 0 800
170421355 Noureldean_2003 A Aug. 31, 2022, 7:14 p.m. OK MS C++ 2017 TESTS 5 15 0 800
170415744 Mover_R A Aug. 31, 2022, 5:57 p.m. OK MS C++ 2017 TESTS 5 15 0 800
170390523 lyqhh88 A Aug. 31, 2022, 1:23 p.m. OK MS C++ 2017 TESTS 5 15 0 800
170377967 MrB0NAN A Aug. 31, 2022, 11:29 a.m. OK MS C++ 2017 TESTS 5 15 0 800
170372061 AviAt A Aug. 31, 2022, 10:29 a.m. OK MS C++ 2017 TESTS 5 15 0 800
170367234 shayebuhui-shayebushi A Aug. 31, 2022, 9:31 a.m. OK MS C++ 2017 TESTS 5 15 0 800
170419936 Gabella A Aug. 31, 2022, 6:52 p.m. OK MS C++ 2017 TESTS 5 30 0 800
170421585 alyoshinkka A Aug. 31, 2022, 7:17 p.m. OK PascalABC.NET TESTS 5 249 0 800
170376275 Sourav___ A Aug. 31, 2022, 11:13 a.m. OK PyPy 3 TESTS 5 62 1945600 800
170413449 akimuuwu A Aug. 31, 2022, 5:32 p.m. OK PyPy 3 TESTS 5 124 3481600 800
170353087 dwen A Aug. 31, 2022, 6:39 a.m. OK PyPy 3 TESTS 5 124 3481600 800
170379180 Shawnizapple A Aug. 31, 2022, 11:40 a.m. OK PyPy 3 TESTS 5 139 3276800 800
170402823 why_am_I_cursed A Aug. 31, 2022, 3:27 p.m. OK PyPy 3 TESTS 5 139 4300800 800
170403327 m7md_isk A Aug. 31, 2022, 3:33 p.m. OK PyPy 3 TESTS 5 140 3584000 800
170434600 TianPingXing A Sept. 1, 2022, 12:51 a.m. OK PyPy 3 TESTS 5 155 3481600 800
170372923 PMagana A Aug. 31, 2022, 10:38 a.m. OK PyPy 3 TESTS 5 155 3584000 800
170423594 hodzhakhov A Aug. 31, 2022, 7:52 p.m. OK PyPy 3 TESTS 5 155 4812800 800
170363186 sushant66 A Aug. 31, 2022, 8:41 a.m. OK PyPy 3 TESTS 5 155 4812800 800
170403641 Kelk1 A Aug. 31, 2022, 3:36 p.m. OK PyPy 3-64 TESTS 5 46 1433600 800
170371838 flakepowders A Aug. 31, 2022, 10:27 a.m. OK PyPy 3-64 TESTS 5 46 1638400 800
170425577 oneku A Aug. 31, 2022, 8:29 p.m. OK PyPy 3-64 TESTS 5 61 2560000 800
170375192 TitaniumCube A Aug. 31, 2022, 11:02 a.m. OK PyPy 3-64 TESTS 5 62 0 800
170349488 hk10537 A Aug. 31, 2022, 5:53 a.m. OK PyPy 3-64 TESTS 5 62 2048000 800
170374734 dunkin_shepherd A Aug. 31, 2022, 10:57 a.m. OK PyPy 3-64 TESTS 5 62 2355200 800
170434497 NINGucas A Sept. 1, 2022, 12:47 a.m. OK PyPy 3-64 TESTS 5 62 2457600 800
170376248 Sourav___ A Aug. 31, 2022, 11:13 a.m. OK PyPy 3-64 TESTS 5 77 1843200 800
170388251 bjy A Aug. 31, 2022, 1:03 p.m. OK PyPy 3-64 TESTS 5 92 3072000 800
170413383 Skillful_Wanderer A Aug. 31, 2022, 5:31 p.m. OK PyPy 3-64 TESTS 5 93 1740800 800
170441536 shawongazi742 A Sept. 1, 2022, 3:55 a.m. OK Python 3 TESTS 5 30 0 800
170441349 Dour A Sept. 1, 2022, 3:51 a.m. OK Python 3 TESTS 5 30 0 800
170426048 Hunt40 A Aug. 31, 2022, 8:38 p.m. OK Python 3 TESTS 5 30 0 800
170445177 Raj_krishnan A Sept. 1, 2022, 5:16 a.m. OK Python 3 TESTS 5 31 0 800
170429805 Azmain_Adib A Aug. 31, 2022, 10:08 p.m. OK Python 3 TESTS 5 31 0 800
170426785 elistark A Aug. 31, 2022, 8:52 p.m. OK Python 3 TESTS 5 31 0 800
170421869 0Khaled A Aug. 31, 2022, 7:22 p.m. OK Python 3 TESTS 5 31 0 800
170408523 deepthireddy A Aug. 31, 2022, 4:34 p.m. OK Python 3 TESTS 5 31 0 800
170405928 likhitha_sriya A Aug. 31, 2022, 4:03 p.m. OK Python 3 TESTS 5 31 0 800
170386483 Azir_emperor A Aug. 31, 2022, 12:47 p.m. OK Python 3 TESTS 5 31 0 800
170444723 Spheniscine A Sept. 1, 2022, 5:07 a.m. OK Rust 2021 TESTS 5 15 102400 800
170435813 wrick A Sept. 1, 2022, 1:26 a.m. OK Scala TESTS 5 436 0 800

remove filters

Back to search problems