Codeforces Round 619 (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
1301 Codeforces Round 619 (Div. 2) FINISHED False 7200 150218699 Feb. 13, 2020, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 19431 ) A Three Strings PROGRAMMING implementation strings 800

B'You are given three strings a , b and c of the same length n . The strings consist of lowercase English letters only. The i -th letter of a is a_i , the i -th letter of b is b_i , the i -th letter of c is c_i . For every i ( 1 <= q i <= q n ) you must swap (i.e. exchange) c_i with either a_i or b_i . So in total you 'll perform exactly n swap operations, each of them either c_i <= ftrightarrow a_i or c_i <= ftrightarrow b_i ( i iterates over all integers between 1 and n , inclusive). For example, if a is "code", b is "true", and c is "help", you can make c equal to "crue" taking the 1 -st and the 4 -th letters from a and the others from b . In this way a becomes "hodp" and b becomes "tele". Is it possible that after these swaps the string a becomes exactly the same as the string b ? The input consists of multiple test cases. The first line contains a single integer t ( 1 <= q t <= q 100 ) -- the number of test cases. The description of the test cases follows. The first line of each test case contains a string of lowercase English letters a . The second line of each test case contains a string of lowercase English letters b . The third line of each test case contains a string of lowercase English letters c . It is guaranteed that in each test case these three strings are non-empty and have the same length, which is not exceeding 100 . Print t lines with answers for all test cases. For each test case: If it is possible to make string a equal to string b print "YES" (without quotes), otherwise print "NO" (without quotes). You can print either lowercase or uppercase letters in the answers. In the first test case, it is impossible to do the swaps so that string a becomes exactly the same as string b . In t'...

Tutorials

Codeforces Round #619 (Div. 2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
71051658 hunbk11 A Feb. 14, 2020, 10:11 a.m. OK Clang++17 Diagnostics TESTS 16 46 1024000 800
70974674 PAG A Feb. 13, 2020, 3 p.m. OK FPC TESTS 15 30 204800 800
70991234 Lummy A Feb. 13, 2020, 3:44 p.m. OK FPC TESTS 15 31 512000 800
70972636 hnust_wangshunli A Feb. 13, 2020, 2:55 p.m. OK GNU C11 TESTS 15 15 0 800
70981721 imtiaj.zero A Feb. 13, 2020, 3:17 p.m. OK GNU C11 TESTS 15 15 0 800
70995762 Roman_Emper0r A Feb. 13, 2020, 3:57 p.m. OK GNU C11 TESTS 15 15 0 800
71032016 frank1586 A Feb. 14, 2020, 3:44 a.m. OK GNU C11 TESTS 16 15 0 800
71041098 mrittunjoysarkerakash A Feb. 14, 2020, 6:57 a.m. OK GNU C11 TESTS 16 15 0 800
70984402 hnust_zengwei1 A Feb. 13, 2020, 3:24 p.m. OK GNU C11 TESTS 15 15 0 800
70971457 hnust_hourunlong A Feb. 13, 2020, 2:52 p.m. OK GNU C11 TESTS 15 15 0 800
70972606 hnust_tanzhongsheng A Feb. 13, 2020, 2:55 p.m. OK GNU C11 TESTS 15 15 0 800
70985675 saichander_5g8 A Feb. 13, 2020, 3:27 p.m. OK GNU C11 TESTS 15 15 204800 800
71079178 Probot A Feb. 14, 2020, 6:24 p.m. OK GNU C11 TESTS 16 30 0 800
71000070 Naweed A Feb. 13, 2020, 4:11 p.m. OK GNU C++11 TESTS 15 15 0 800
71090589 IAT14 A Feb. 15, 2020, 1:12 a.m. OK GNU C++11 TESTS 16 15 0 800
71086448 cugel A Feb. 14, 2020, 9:34 p.m. OK GNU C++11 TESTS 16 15 0 800
71031619 vjudge2 A Feb. 14, 2020, 3:33 a.m. OK GNU C++11 TESTS 16 15 0 800
71027565 rOhaS0rL4Q5 A Feb. 14, 2020, 1:10 a.m. OK GNU C++11 TESTS 16 15 0 800
71002669 cjoa A Feb. 13, 2020, 4:20 p.m. OK GNU C++11 TESTS 15 15 0 800
70992982 MOAE A Feb. 13, 2020, 3:49 p.m. OK GNU C++11 TESTS 15 15 0 800
70980493 NoobM A Feb. 13, 2020, 3:14 p.m. OK GNU C++11 TESTS 15 15 0 800
70975855 yyyuanxian A Feb. 13, 2020, 3:03 p.m. OK GNU C++11 TESTS 15 15 0 800
70975384 DD1 A Feb. 13, 2020, 3:01 p.m. OK GNU C++11 TESTS 15 15 0 800
71064211 cloud3019 A Feb. 14, 2020, 2:08 p.m. OK GNU C++14 TESTS 16 15 0 800
71064315 crackersamdjam A Feb. 14, 2020, 2:09 p.m. OK GNU C++14 TESTS 16 15 0 800
71064369 Abdulfatah A Feb. 14, 2020, 2:10 p.m. OK GNU C++14 TESTS 16 15 0 800
71064533 akshat705 A Feb. 14, 2020, 2:13 p.m. OK GNU C++14 TESTS 16 15 0 800
71069133 JhonRayo A Feb. 14, 2020, 3:25 p.m. OK GNU C++14 TESTS 16 15 0 800
71079313 ninjacoder665 A Feb. 14, 2020, 6:26 p.m. OK GNU C++14 TESTS 16 15 0 800
71090643 Mendokusaiii A Feb. 15, 2020, 1:16 a.m. OK GNU C++14 TESTS 16 15 0 800
71092226 tcm A Feb. 15, 2020, 2:34 a.m. OK GNU C++14 TESTS 16 15 0 800
71095029 AC_MATION A Feb. 15, 2020, 4:24 a.m. OK GNU C++14 TESTS 16 15 0 800
71096466 Rishabh09 A Feb. 15, 2020, 5:07 a.m. OK GNU C++14 TESTS 16 15 0 800
71095134 UUUnmei A Feb. 15, 2020, 4:28 a.m. OK GNU C++17 TESTS 16 15 0 800
71094692 harsha314 A Feb. 15, 2020, 4:13 a.m. OK GNU C++17 TESTS 16 15 0 800
71094637 182cx A Feb. 15, 2020, 4:10 a.m. OK GNU C++17 TESTS 16 15 0 800
71092672 wayyeah A Feb. 15, 2020, 2:52 a.m. OK GNU C++17 TESTS 16 15 0 800
71085381 nayeem1707064 A Feb. 14, 2020, 8:54 p.m. OK GNU C++17 TESTS 16 15 0 800
71081997 Norhan_Ehab A Feb. 14, 2020, 7:26 p.m. OK GNU C++17 TESTS 16 15 0 800
71081804 iamxlr8 A Feb. 14, 2020, 7:22 p.m. OK GNU C++17 TESTS 16 15 0 800
71081409 Anynomous A Feb. 14, 2020, 7:12 p.m. OK GNU C++17 TESTS 16 15 0 800
71075842 Skolfide A Feb. 14, 2020, 5:17 p.m. OK GNU C++17 TESTS 16 15 0 800
71073451 singhmanu A Feb. 14, 2020, 4:36 p.m. OK GNU C++17 TESTS 16 15 0 800
71029976 synapse A Feb. 14, 2020, 2:41 a.m. OK Go TESTS 16 31 0 800
71016298 Jughead A Feb. 13, 2020, 6:42 p.m. OK Go TESTS 16 31 0 800
71032572 coyorkdow A Feb. 14, 2020, 4 a.m. OK Go TESTS 16 109 0 800
71082837 diegoasencio96 A Feb. 14, 2020, 7:46 p.m. OK Go TESTS 16 124 0 800
71096686 Vatsal53 A Feb. 15, 2020, 5:13 a.m. OK Java 11 TESTS 16 171 0 800
71083748 1NVAL1D A Feb. 14, 2020, 8:09 p.m. OK Java 11 TESTS 16 171 0 800
70984567 1a_u_x1 A Feb. 13, 2020, 3:24 p.m. OK Java 11 TESTS 15 187 0 800
71084254 _lucho A Feb. 14, 2020, 8:21 p.m. OK Java 11 TESTS 16 202 0 800
71076676 __Wind__ A Feb. 14, 2020, 5:33 p.m. OK Java 11 TESTS 16 202 0 800
71026053 griez7 A Feb. 13, 2020, 11:42 p.m. OK Java 11 TESTS 16 202 0 800
71020325 joshi_vishrut A Feb. 13, 2020, 8:05 p.m. OK Java 11 TESTS 16 202 0 800
71013128 ManAn9801 A Feb. 13, 2020, 5:57 p.m. OK Java 11 TESTS 15 202 0 800
71001394 Dukkha A Feb. 13, 2020, 4:15 p.m. OK Java 11 TESTS 15 202 0 800
70996699 JHLee00 A Feb. 13, 2020, 4 p.m. OK Java 11 TESTS 15 202 0 800
71061993 luchy0120 A Feb. 14, 2020, 1:37 p.m. OK Java 8 TESTS 16 93 0 800
71059838 manish_98 A Feb. 14, 2020, 1:08 p.m. OK Java 8 TESTS 16 109 0 800
71033878 mckee11223 A Feb. 14, 2020, 4:36 a.m. OK Java 8 TESTS 16 109 0 800
71029410 nicoella A Feb. 14, 2020, 2:22 a.m. OK Java 8 TESTS 16 109 0 800
71024962 bluesky111 A Feb. 13, 2020, 10:43 p.m. OK Java 8 TESTS 16 109 0 800
71017284 Agnimandur A Feb. 13, 2020, 7:01 p.m. OK Java 8 TESTS 16 109 0 800
71010778 desp__beginner A Feb. 13, 2020, 5:35 p.m. OK Java 8 TESTS 15 109 0 800
70990055 Me146 A Feb. 13, 2020, 3:40 p.m. OK Java 8 TESTS 15 109 0 800
70990016 Private_RaMa A Feb. 13, 2020, 3:40 p.m. OK Java 8 TESTS 15 109 0 800
70983819 arsh1598 A Feb. 13, 2020, 3:22 p.m. OK Java 8 TESTS 15 109 0 800
70971343 watarimaycry2 A Feb. 13, 2020, 2:52 p.m. OK JavaScript TESTS 15 31 307200 800
71030372 Spheniscine A Feb. 14, 2020, 2:52 a.m. OK Kotlin TESTS 16 109 0 800
71048908 formalist A Feb. 14, 2020, 9:18 a.m. OK Kotlin TESTS 16 124 0 800
71034862 cmplx-xyttmt A Feb. 14, 2020, 5:01 a.m. OK Kotlin TESTS 16 140 0 800
71018252 akikrasic A Feb. 13, 2020, 7:20 p.m. OK Kotlin TESTS 16 140 0 800
70982064 igormaslov123 A Feb. 13, 2020, 3:18 p.m. OK Mono C# TESTS 15 46 0 800
70974831 75number A Feb. 13, 2020, 3 p.m. OK Mono C# TESTS 15 46 0 800
71049982 TRR A Feb. 14, 2020, 9:38 a.m. OK Mono C# TESTS 16 46 0 800
70999302 Ruban_Denic A Feb. 13, 2020, 4:08 p.m. OK Mono C# TESTS 15 46 0 800
70986911 geronimo00 A Feb. 13, 2020, 3:31 p.m. OK Mono C# TESTS 15 46 0 800
71085304 kaminoikari A Feb. 14, 2020, 8:51 p.m. OK Mono C# TESTS 16 46 102400 800
70972563 Azizxon_uz A Feb. 13, 2020, 2:55 p.m. OK Mono C# TESTS 15 61 0 800
70975987 1champ10n A Feb. 13, 2020, 3:03 p.m. OK Mono C# TESTS 15 61 0 800
70996679 riantkb A Feb. 13, 2020, 4 p.m. OK Mono C# TESTS 15 61 0 800
70971359 htspur A Feb. 13, 2020, 2:52 p.m. OK Mono C# TESTS 15 62 102400 800
71039184 vjudge3 A Feb. 14, 2020, 6:24 a.m. OK MS C++ TESTS 16 31 0 800
71048803 moody.khalil511 A Feb. 14, 2020, 9:16 a.m. OK MS C++ TESTS 16 31 0 800
70971498 NaGuT A Feb. 13, 2020, 2:52 p.m. OK MS C++ TESTS 15 31 0 800
70989160 LebArt A Feb. 13, 2020, 3:37 p.m. OK MS C++ TESTS 15 31 0 800
70977047 negor48 A Feb. 13, 2020, 3:05 p.m. OK MS C++ TESTS 15 46 0 800
70972308 Yidaibajun A Feb. 13, 2020, 2:54 p.m. OK MS C++ TESTS 15 46 0 800
70973077 ltnotfty A Feb. 13, 2020, 2:56 p.m. OK MS C++ TESTS 15 46 0 800
71003783 saymasimu15 A Feb. 13, 2020, 4:23 p.m. OK MS C++ 2017 TESTS 15 30 0 800
71043614 vjudge5 A Feb. 14, 2020, 7:43 a.m. OK MS C++ 2017 TESTS 16 30 0 800
70980628 chen123456 A Feb. 13, 2020, 3:14 p.m. OK MS C++ 2017 TESTS 15 30 0 800
70974773 abajan01 A Feb. 13, 2020, 3 p.m. OK MS C++ 2017 TESTS 15 30 307200 800
71016308 dimasidorenko A Feb. 13, 2020, 6:42 p.m. OK MS C++ 2017 TESTS 16 30 307200 800
70976689 XlalalaX A Feb. 13, 2020, 3:05 p.m. OK MS C++ 2017 TESTS 15 30 307200 800
70972765 kjmin622 A Feb. 13, 2020, 2:55 p.m. OK MS C++ 2017 TESTS 15 30 307200 800
71077991 Boryan07 A Feb. 14, 2020, 5:59 p.m. OK MS C++ 2017 TESTS 16 31 0 800
71090121 agrawalS A Feb. 15, 2020, 12:40 a.m. OK MS C++ 2017 TESTS 16 31 0 800
71092536 psn2706 A Feb. 15, 2020, 2:46 a.m. OK MS C++ 2017 TESTS 16 31 0 800
71019486 Taran106 A Feb. 13, 2020, 7:46 p.m. OK Node.js TESTS 16 171 1228800 800
71022279 Nidavellir A Feb. 13, 2020, 8:58 p.m. OK PascalABC.NET TESTS 16 311 102400 800
71036570 Kapaseker A Feb. 14, 2020, 5:38 a.m. OK Perl TESTS 16 46 0 800
71055510 mayakin A Feb. 14, 2020, 11:34 a.m. OK PHP TESTS 16 46 409600 800
70971477 hritik3878 A Feb. 13, 2020, 2:52 p.m. OK PyPy 2 TESTS 15 124 409600 800
70971569 jolt.tks A Feb. 13, 2020, 2:52 p.m. OK PyPy 2 TESTS 15 140 512000 800
71050973 aberent A Feb. 14, 2020, 9:58 a.m. OK PyPy 3 TESTS 16 140 1433600 800
70971405 pineriver A Feb. 13, 2020, 2:52 p.m. OK PyPy 3 TESTS 15 140 1638400 800
70997742 ComradeAndrew A Feb. 13, 2020, 4:03 p.m. OK PyPy 3 TESTS 15 155 1433600 800
71003201 PC_4299 A Feb. 13, 2020, 4:21 p.m. OK PyPy 3 TESTS 15 155 1433600 800
71000533 suryansh.singh23610 A Feb. 13, 2020, 4:13 p.m. OK PyPy 3 TESTS 15 155 1433600 800
70985850 darkon A Feb. 13, 2020, 3:28 p.m. OK PyPy 3 TESTS 15 155 1433600 800
70976258 crescent_yadav A Feb. 13, 2020, 3:04 p.m. OK PyPy 3 TESTS 15 155 1433600 800
70974727 vaisnav A Feb. 13, 2020, 3 p.m. OK PyPy 3 TESTS 15 155 1433600 800
71079198 yoweiqing A Feb. 14, 2020, 6:24 p.m. OK PyPy 3 TESTS 16 155 1536000 800
71078662 vcubingx A Feb. 14, 2020, 6:12 p.m. OK PyPy 3 TESTS 16 155 1536000 800
70991489 sum55 A Feb. 13, 2020, 3:44 p.m. OK Python 2 TESTS 15 171 0 800
70971187 elistark A Feb. 13, 2020, 2:51 p.m. OK Python 2 TESTS 15 171 0 800
71073497 bsr011 A Feb. 14, 2020, 4:37 p.m. OK Python 2 TESTS 16 186 0 800
70993131 Mike10 A Feb. 13, 2020, 3:49 p.m. OK Python 2 TESTS 15 187 0 800
70972046 clandestine_ A Feb. 13, 2020, 2:53 p.m. OK Python 2 TESTS 15 202 0 800
71096176 Karunakar888 A Feb. 15, 2020, 4:59 a.m. OK Python 3 TESTS 16 93 0 800
70977097 3chandrakant A Feb. 13, 2020, 3:06 p.m. OK Python 3 TESTS 15 93 0 800
71055175 Ibutskhrikidze A Feb. 14, 2020, 11:27 a.m. OK Python 3 TESTS 16 108 0 800
71032967 Prishu156 A Feb. 14, 2020, 4:11 a.m. OK Python 3 TESTS 16 108 0 800
70997863 BlackBear A Feb. 13, 2020, 4:04 p.m. OK Python 3 TESTS 15 108 0 800
70982739 pidepipers A Feb. 13, 2020, 3:20 p.m. OK Python 3 TESTS 15 108 0 800
70975883 airongopal2529 A Feb. 13, 2020, 3:03 p.m. OK Python 3 TESTS 15 108 0 800
70975202 Ardyen A Feb. 13, 2020, 3:01 p.m. OK Python 3 TESTS 15 108 307200 800
70974177 TheMisfits A Feb. 13, 2020, 2:59 p.m. OK Python 3 TESTS 15 108 307200 800
70973440 Achilles221B A Feb. 13, 2020, 2:57 p.m. OK Python 3 TESTS 15 108 307200 800
71012320 Jughead A Feb. 13, 2020, 5:48 p.m. OK Ruby TESTS 15 77 0 800
71029820 MstrPikachu A Feb. 14, 2020, 2:36 a.m. OK Ruby TESTS 16 78 102400 800
71004913 kobae964 A Feb. 13, 2020, 4:26 p.m. OK Rust TESTS 15 30 512000 800
71049404 kushwaha_vi A Feb. 14, 2020, 9:27 a.m. OK Scala TESTS 16 171 0 800

remove filters

Back to search problems