Educational Codeforces Round 163 (Rated for 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
1948 Educational Codeforces Round 163 (Rated for Div. 2) FINISHED False 7200 26666663 March 15, 2024, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 17547 ) C Arrow Path PROGRAMMING dfs and similar graphs shortest paths

B'There is a grid, consisting of 2 rows and n columns. The rows are numbered from 1 to 2 from top to bottom. The columns are numbered from 1 to n from left to right. Each cell of the grid contains an arrow pointing either to the left or to the right. No arrow points outside the grid. There is a robot that starts in a cell (1, 1) . Every second, the following two actions happen one after another: Your task is to determine whether the robot can reach the cell (2, n) . The first line contains a single integer t ( 1 <= t <= 10^4 ) -- the number of test cases. The first line of each test case contains a single integer ( 2 <= n <= 2 cdot 10^5 ). The second line contains a string consisting of exactly n characters < and/or > -- the first row of the grid. The third line contains a string consisting of exactly n characters < and/or > -- the second row of the grid. Additional constraints on the input: For each test case, print YES if the robot can reach the cell (2, n) ; otherwise, print NO. You can print each letter in any case. For example, yes, Yes, YeS will all be recognized as positive answer. In the first example, one of the possible paths looks as follows: (1, 1) rightarrow (1, 2) rightarrow (1, 3) rightarrow (2, 3) rightarrow (2, 4) . In the second example, one of the possible paths looks as follows: (1, 1) rightarrow (2, 1) rightarrow (2, 2) . In the third example, there is no way to reach the cell (2, 4) . In the fourth example, one of the possible paths looks as follows: (1, 1) rightarrow (2, 1) rightarrow (2, 2) rightarrow (1, 2) rightarrow (1, 3) rightarrow (2, 3) rightarrow (2, 4) rightarrow (2, 5) rightarrow (2, 6) . '...

Tutorials

Educational Codeforces Round 163 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
251574834 manyu19 C March 15, 2024, 8:35 p.m. OK C++14 (GCC 6-32) TESTS 5 0 716800
251613163 cc_yuan C March 16, 2024, 5:12 a.m. OK C++14 (GCC 6-32) TESTS 5 15 614400
251607866 luogu_bot4 C March 16, 2024, 4:19 a.m. OK C++14 (GCC 6-32) TESTS 5 15 614400
251596673 ankitlal.mail C March 16, 2024, 1:47 a.m. OK C++14 (GCC 6-32) TESTS 5 15 614400
251601749 fuxiangyuxcpc C March 16, 2024, 3:01 a.m. OK C++14 (GCC 6-32) TESTS 5 15 716800
251590092 pian_zhu C March 15, 2024, 11:45 p.m. OK C++14 (GCC 6-32) TESTS 5 15 716800
251582735 slime100 C March 15, 2024, 9:48 p.m. OK C++14 (GCC 6-32) TESTS 5 15 716800
251606858 PiKaQiu6 C March 16, 2024, 4:06 a.m. OK C++14 (GCC 6-32) TESTS 5 15 716800
251606144 I_am_big_SB C March 16, 2024, 3:57 a.m. OK C++14 (GCC 6-32) TESTS 5 15 716800
251601848 Vageto C March 16, 2024, 3:02 a.m. OK C++14 (GCC 6-32) TESTS 5 15 716800
251603008 yangsonghan C March 16, 2024, 3:17 a.m. OK C++17 (GCC 7-32) TESTS 5 0 614400
251605464 xiaossr C March 16, 2024, 3:49 a.m. OK C++17 (GCC 7-32) TESTS 5 0 716800
251550962 CangShuV C March 15, 2024, 5:30 p.m. OK C++17 (GCC 7-32) TESTS 5 0 716800
251546114 Tadashii C March 15, 2024, 5:03 p.m. OK C++17 (GCC 7-32) TESTS 5 0 819200
251617370 irfan_aiubCSE C March 16, 2024, 5:39 a.m. OK C++17 (GCC 7-32) TESTS 5 0 921600
251581309 rlghirsrifhbp C March 15, 2024, 9:33 p.m. OK C++17 (GCC 7-32) TESTS 5 0 2048000
251605324 Kolkas C March 16, 2024, 3:47 a.m. OK C++17 (GCC 7-32) TESTS 5 15 204800
251614337 AarushiAgarwal515 C March 16, 2024, 5:20 a.m. OK C++17 (GCC 7-32) TESTS 5 15 409600
251618632 Lcaokai C March 16, 2024, 5:47 a.m. OK C++17 (GCC 7-32) TESTS 5 15 409600
251606196 Uhine C March 16, 2024, 3:57 a.m. OK C++17 (GCC 7-32) TESTS 5 15 409600
251597592 bluemegane C March 16, 2024, 2:02 a.m. OK C# 8 TESTS 5 155 3276800
251545841 .Jay C March 15, 2024, 5:02 p.m. OK GNU C11 TESTS 5 61 409600
251603160 nguyenquocthao00 C March 16, 2024, 3:19 a.m. OK Go TESTS 5 77 37068800
251611302 yang_wei C March 16, 2024, 4:58 a.m. OK Java 21 TESTS 5 217 0
251608073 priyaroy3370 C March 16, 2024, 4:21 a.m. OK Java 21 TESTS 5 217 0
251575180 HiddenBliz C March 15, 2024, 8:38 p.m. OK Java 21 TESTS 5 218 102400
251602059 Switch9 C March 16, 2024, 3:05 a.m. OK Java 21 TESTS 5 249 0
251553517 dineshchandran311 C March 15, 2024, 5:48 p.m. OK Java 21 TESTS 5 249 0
251577637 susvant C March 15, 2024, 8:59 p.m. OK Java 21 TESTS 5 249 12083200
251554174 Nekronishe C March 15, 2024, 5:52 p.m. OK Java 21 TESTS 5 264 34816000
251612745 yang_wei C March 16, 2024, 5:09 a.m. OK Java 21 TESTS 5 265 0
251607790 priyaroy3370 C March 16, 2024, 4:18 a.m. OK Java 21 TESTS 5 265 0
251553511 priyaroy3370 C March 15, 2024, 5:48 p.m. OK Java 21 TESTS 5 265 0
251618925 alibaba C March 16, 2024, 5:48 a.m. OK Java 8 TESTS 5 108 0
251620076 nis1234 C March 16, 2024, 5:56 a.m. OK Java 8 TESTS 5 109 0
251580947 KaiboHuang C March 15, 2024, 9:29 p.m. OK Java 8 TESTS 5 109 0
251619761 AlterAccount C March 16, 2024, 5:54 a.m. OK Java 8 TESTS 5 124 0
251579790 mada-mada C March 15, 2024, 9:18 p.m. OK Java 8 TESTS 5 124 0
251554841 formidablechief27 C March 15, 2024, 5:56 p.m. OK Java 8 TESTS 5 155 38707200
251567694 MagentaCobra C March 15, 2024, 7:39 p.m. OK Java 8 TESTS 5 170 0
251546061 Nagendravarma C March 15, 2024, 5:03 p.m. OK Java 8 TESTS 5 171 14438400
251609115 qepsilon C March 16, 2024, 4:34 a.m. OK Java 8 TESTS 5 202 0
251554775 kubik127 C March 15, 2024, 5:55 p.m. OK Java 8 TESTS 5 202 0
251560276 crapcode C March 15, 2024, 6:37 p.m. OK PHP TESTS 5 171 37785600
251559241 ow3nL C March 15, 2024, 6:28 p.m. OK PyPy 3 TESTS 5 140 4198400
251580894 DeepJ C March 15, 2024, 9:29 p.m. OK PyPy 3-64 TESTS 5 77 7782400
251555637 RobinFromTheHood C March 15, 2024, 6:02 p.m. OK PyPy 3-64 TESTS 5 108 9011200
251606647 gardengnome C March 16, 2024, 4:03 a.m. OK PyPy 3-64 TESTS 5 124 7884800
251595868 pennymagic156 C March 16, 2024, 1:33 a.m. OK PyPy 3-64 TESTS 5 124 9011200
251592511 voicon C March 16, 2024, 12:34 a.m. OK PyPy 3-64 TESTS 5 139 9216000
251556870 sorcerer_21 C March 15, 2024, 6:11 p.m. OK PyPy 3-64 TESTS 5 139 26316800
251573418 pramana C March 15, 2024, 8:24 p.m. OK PyPy 3-64 TESTS 5 155 8908800
251585589 _aadiupadhyay_ C March 15, 2024, 10:25 p.m. OK PyPy 3-64 TESTS 5 156 26009600
251606179 GG_boy C March 16, 2024, 3:57 a.m. OK PyPy 3-64 TESTS 5 170 12390400
251582722 Skam_ C March 15, 2024, 9:48 p.m. OK PyPy 3-64 TESTS 5 170 25600000
251548213 OLOGY C March 15, 2024, 5:14 p.m. OK Python 2 TESTS 5 46 1433600
251547426 OLOGY C March 15, 2024, 5:10 p.m. OK Python 2 TESTS 5 61 1433600
251548230 Novasaki C March 15, 2024, 5:14 p.m. OK Python 3 TESTS 5 61 716800
251558387 Sabuj_arif C March 15, 2024, 6:22 p.m. OK Python 3 TESTS 5 108 819200
251552115 ArafHasan C March 15, 2024, 5:38 p.m. OK Python 3 TESTS 5 108 6553600
251553797 mengxinzcl C March 15, 2024, 5:49 p.m. OK Python 3 TESTS 5 109 716800
251552131 ghazaryanmikael C March 15, 2024, 5:38 p.m. OK Python 3 TESTS 5 109 716800
251617695 shauryabisht C March 16, 2024, 5:41 a.m. OK Python 3 TESTS 5 124 819200
251564481 Kustov_Vadim_533 C March 15, 2024, 7:13 p.m. OK Python 3 TESTS 5 124 7475200
251571929 sahil.joshi C March 15, 2024, 8:13 p.m. OK Python 3 TESTS 5 265 7168000
251551919 rajbatti C March 15, 2024, 5:37 p.m. OK Python 3 TESTS 5 265 23654400
251566794 vishruth_21 C March 15, 2024, 7:32 p.m. OK Python 3 TESTS 5 358 45875200

remove filters

Back to search problems