Codeforces Round 823 (Div. 2)

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
1730 Codeforces Round 823 (Div. 2) FINISHED False 7200 73063463 Sept. 25, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2759 ) D Prefixes and Suffixes PROGRAMMING constructive algorithms ds strings 2200

B'You have two strings s_1 and s_2 of length n , consisting of lowercase English letters. You can perform the following operation any (possibly zero) number of times: Is it possible to make these two strings equal by doing described operations? The first line contains a single integer t ( 1 <= t <= 10^4 ) -- the number of test cases. Then the test cases follow. Each test case consists of three lines. The first line contains a single integer n ( 1 <= n <= 10^5 ) -- the length of the strings s_1 and s_2 . The second line contains the string s_1 of length n , consisting of lowercase English letters. The third line contains the string s_2 of length n , consisting of lowercase English letters. It is guaranteed that the sum of n for all test cases does not exceed 2 cdot 10^5 . For each test case, print "YES" if it is possible to make the strings equal, and "NO" otherwise. In the first test case: In the second test case: In the third test case, it 's impossible to make strings equal. '...

Tutorials

Codeforces Round #823 — editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
173489203 LOOP0 D Sept. 25, 2022, 4:26 p.m. OK GNU C11 TESTS 25 78 204800 2200
173484718 Goodbye_XB D Sept. 25, 2022, 4:13 p.m. OK GNU C++14 TESTS 25 30 18022400 2200
173530263 2019wangminxiao D Sept. 26, 2022, 2:04 a.m. OK GNU C++14 TESTS 25 31 204800 2200
173528553 Cstream D Sept. 26, 2022, 1:28 a.m. OK GNU C++14 TESTS 25 31 204800 2200
173527701 QQH D Sept. 26, 2022, 1:09 a.m. OK GNU C++14 TESTS 25 31 204800 2200
173492104 themoon D Sept. 25, 2022, 4:33 p.m. OK GNU C++14 TESTS 25 31 204800 2200
173538131 John_zyj D Sept. 26, 2022, 4:38 a.m. OK GNU C++14 TESTS 25 31 204800 2200
173532970 Daniel777 D Sept. 26, 2022, 2:59 a.m. OK GNU C++14 TESTS 25 31 204800 2200
173542553 HLY111 D Sept. 26, 2022, 5:57 a.m. OK GNU C++14 TESTS 25 31 204800 2200
173541517 Xu_Hongxi D Sept. 26, 2022, 5:41 a.m. OK GNU C++14 TESTS 25 31 409600 2200
173526381 gbk002 D Sept. 26, 2022, 12:32 a.m. OK GNU C++14 TESTS 25 31 512000 2200
173490340 ROBINL D Sept. 25, 2022, 4:29 p.m. OK GNU C++17 TESTS 25 15 204800 2200
173484164 Cabbage03 D Sept. 25, 2022, 4:12 p.m. OK GNU C++17 TESTS 25 30 1433600 2200
173530457 s39202972 D Sept. 26, 2022, 2:07 a.m. OK GNU C++17 TESTS 25 31 204800 2200
173526551 BenjaminPMLee D Sept. 26, 2022, 12:37 a.m. OK GNU C++17 TESTS 25 31 204800 2200
173531837 15owzLy1 D Sept. 26, 2022, 2:37 a.m. OK GNU C++17 TESTS 25 31 204800 2200
173530022 ty_bj_sty D Sept. 26, 2022, 1:59 a.m. OK GNU C++17 TESTS 25 31 409600 2200
173533920 Redcrown D Sept. 26, 2022, 3:17 a.m. OK GNU C++17 TESTS 25 31 409600 2200
173533629 brightboyz D Sept. 26, 2022, 3:12 a.m. OK GNU C++17 TESTS 25 31 512000 2200
173527221 Menna-Allah05 D Sept. 26, 2022, 12:56 a.m. OK GNU C++17 TESTS 25 31 512000 2200
173536710 enermynoname D Sept. 26, 2022, 4:09 a.m. OK GNU C++17 TESTS 25 31 512000 2200
173534129 fictitious_love D Sept. 26, 2022, 3:21 a.m. OK GNU C++17 (64) TESTS 25 30 512000 2200
173523248 cuiaoxiang D Sept. 25, 2022, 10:53 p.m. OK GNU C++17 (64) TESTS 25 30 819200 2200
173496163 wyh D Sept. 25, 2022, 5:08 p.m. OK GNU C++17 (64) TESTS 25 30 1331200 2200
173496251 Ac_love_QWQ D Sept. 25, 2022, 5:09 p.m. OK GNU C++17 (64) TESTS 25 30 1331200 2200
173499434 panyaoyu D Sept. 25, 2022, 5:28 p.m. OK GNU C++17 (64) TESTS 25 31 204800 2200
173538060 basicecho D Sept. 26, 2022, 4:37 a.m. OK GNU C++17 (64) TESTS 25 31 204800 2200
173499275 panyaoyu D Sept. 25, 2022, 5:27 p.m. OK GNU C++17 (64) TESTS 25 31 204800 2200
173531774 propane D Sept. 26, 2022, 2:36 a.m. OK GNU C++17 (64) TESTS 25 31 204800 2200
173541353 Superposition D Sept. 26, 2022, 5:37 a.m. OK GNU C++17 (64) TESTS 25 31 512000 2200
173540917 guud222 D Sept. 26, 2022, 5:29 a.m. OK GNU C++17 (64) TESTS 25 31 512000 2200
173529833 chanyoung05 D Sept. 26, 2022, 1:55 a.m. OK GNU C++20 (64) TESTS 25 15 204800 2200
173504189 Mc3X D Sept. 25, 2022, 6:04 p.m. OK GNU C++20 (64) TESTS 25 15 512000 2200
173531627 Dog_food_is_me D Sept. 26, 2022, 2:32 a.m. OK GNU C++20 (64) TESTS 25 15 512000 2200
173527183 QwQcOrZ D Sept. 26, 2022, 12:55 a.m. OK GNU C++20 (64) TESTS 25 15 512000 2200
173508493 arbuzick D Sept. 25, 2022, 6:47 p.m. OK GNU C++20 (64) TESTS 25 15 512000 2200
173503831 Mc3X D Sept. 25, 2022, 6:01 p.m. OK GNU C++20 (64) TESTS 25 15 512000 2200
173502151 Mc3X D Sept. 25, 2022, 5:48 p.m. OK GNU C++20 (64) TESTS 25 15 512000 2200
173486048 TimeWarp101 D Sept. 25, 2022, 4:17 p.m. OK GNU C++20 (64) TESTS 25 15 512000 2200
173509570 Igor_2017 D Sept. 25, 2022, 6:59 p.m. OK GNU C++20 (64) TESTS 25 15 716800 2200
173538688 nurlybek-ye-019-2025 D Sept. 26, 2022, 4:50 a.m. OK GNU C++20 (64) TESTS 25 30 512000 2200
173503238 merlin_ D Sept. 25, 2022, 5:56 p.m. OK Java 11 TESTS 25 187 0 2200
173507132 ekwek D Sept. 25, 2022, 6:32 p.m. OK Java 11 TESTS 25 202 0 2200
173492306 Nicolas125841 D Sept. 25, 2022, 4:34 p.m. OK Java 11 TESTS 25 249 0 2200
173519090 IanISam D Sept. 25, 2022, 9:13 p.m. OK Java 11 TESTS 25 264 0 2200
173521096 profchi D Sept. 25, 2022, 9:54 p.m. OK Java 11 TESTS 25 280 0 2200
173519921 dzhi D Sept. 25, 2022, 9:29 p.m. OK Java 11 TESTS 25 373 0 2200
173531550 freehandle D Sept. 26, 2022, 2:31 a.m. OK Java 17 TESTS 25 264 1024000 2200
173531443 freehandle D Sept. 26, 2022, 2:29 a.m. OK Java 17 TESTS 25 421 409600 2200
173534480 AlgoTurtle D Sept. 26, 2022, 3:27 a.m. OK Mono C# TESTS 25 77 3379200 2200
173488514 PMPuns D Sept. 25, 2022, 4:24 p.m. OK MS C++ 2017 TESTS 25 31 204800 2200
173513684 andreyDagger D Sept. 25, 2022, 7:52 p.m. OK MS C++ 2017 TESTS 25 46 409600 2200
173511930 Darooha D Sept. 25, 2022, 7:29 p.m. OK Ocaml TESTS 25 46 2560000 2200
173489115 mkawa2 D Sept. 25, 2022, 4:26 p.m. OK PyPy 3-64 TESTS 25 155 9216000 2200
173485786 samchen123 D Sept. 25, 2022, 4:17 p.m. OK PyPy 3-64 TESTS 25 171 8499200 2200
173520889 biglunchdude D Sept. 25, 2022, 9:49 p.m. OK PyPy 3-64 TESTS 25 171 15360000 2200
173500821 sushmanth.dampur8780 D Sept. 25, 2022, 5:37 p.m. OK PyPy 3-64 TESTS 25 187 9420800 2200
173501651 samchen123 D Sept. 25, 2022, 5:43 p.m. OK PyPy 3-64 TESTS 25 202 9420800 2200
173484316 Wooly18 D Sept. 25, 2022, 4:12 p.m. OK PyPy 3-64 TESTS 25 202 9932800 2200
173533397 mikeac D Sept. 26, 2022, 3:08 a.m. OK PyPy 3-64 TESTS 25 264 10137600 2200
173500195 roaris D Sept. 25, 2022, 5:33 p.m. OK PyPy 3-64 TESTS 25 280 10035200 2200
173515561 Issin D Sept. 25, 2022, 8:18 p.m. OK PyPy 3-64 TESTS 25 373 19968000 2200
173516564 Issin D Sept. 25, 2022, 8:33 p.m. OK PyPy 3-64 TESTS 25 389 19968000 2200
173536674 Ragn8rok D Sept. 26, 2022, 4:08 a.m. OK Python 3 TESTS 25 296 4608000 2200
173541434 Mr.Krishna D Sept. 26, 2022, 5:39 a.m. OK Python 3 TESTS 25 327 4812800 2200
173487032 suvam0451 D Sept. 25, 2022, 4:20 p.m. OK Python 3 TESTS 25 358 716800 2200
173528324 liut D Sept. 26, 2022, 1:22 a.m. OK Rust 2021 TESTS 25 31 409600 2200
173490595 Unwise D Sept. 25, 2022, 4:29 p.m. OK Rust 2021 TESTS 25 31 2355200 2200
173484930 ArchUser84 D Sept. 25, 2022, 4:14 p.m. OK Rust 2021 TESTS 25 46 1638400 2200

remove filters

Back to search problems