Educational Codeforces Round 136 (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
1739 Educational Codeforces Round 136 (Rated for Div. 2) FINISHED False 7200 67361099 Sept. 29, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 22858 ) A Immobile Knight PROGRAMMING implementation

B"There is a chess board of size n x m . The rows are numbered from 1 to n , the columns are numbered from 1 to m . Let's call a cell isolated if a knight placed in that cell can't move to any other cell on the board. Recall that a chess knight moves two cells in one direction and one cell in a perpendicular direction: Find any isolated cell on the board. If there are no such cells, print any cell on the board. The first line contains a single integer t ( 1 <= t <= 64 ) -- the number of testcases. The only line of each testcase contains two integers n and m ( 1 <= n, m <= 8 ) -- the number of rows and columns of the board. For each testcase, print two integers -- the row and the column of any isolated cell on the board. If there are no such cells, print any cell on the board. In the first testcase, all cells are isolated. A knight can't move from any cell of the board to any other one. Thus, any cell on board is a correct answer. In the second testcase, there are no isolated cells. On a normal chess board, a knight has at least two moves from any cell. Thus, again, any cell is a correct answer. In the third testcase, only the middle cell of the board is isolated. The knight can move freely around the border of the board, but can't escape the middle. "...

Tutorials

Educational Codeforces Round 136 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
174004388 chrisfcoder A Sept. 29, 2022, 5:30 p.m. OK C# 10 TESTS 4 46 614400
174184325 arafamin A Oct. 1, 2022, 12:12 a.m. OK C# 8 TESTS 4 77 102400
174030419 bluemegane A Sept. 30, 2022, 12:48 a.m. OK C# 8 TESTS 4 92 0
174030482 bluemegane A Sept. 30, 2022, 12:49 a.m. OK C# 8 TESTS 4 155 102400
174000413 Saharsh A Sept. 29, 2022, 4:56 p.m. OK Clang++17 Diagnostics TESTS 4 15 0
174012527 diegodaco08 A Sept. 29, 2022, 6:57 p.m. OK Clang++17 Diagnostics TESTS 4 15 0
174030294 MoMo2022 A Sept. 30, 2022, 12:45 a.m. OK Clang++17 Diagnostics TESTS 4 15 0
174039613 jay_adhikrut A Sept. 30, 2022, 4:12 a.m. OK Clang++17 Diagnostics TESTS 4 31 0
174028838 mohamed.ramadan__ A Sept. 30, 2022, 12:04 a.m. OK Clang++20 Diagnostics TESTS 4 30 0
174040221 igl318706 A Sept. 30, 2022, 4:23 a.m. OK Clang++20 Diagnostics TESTS 4 30 0
174112926 string_abhi12 A Sept. 30, 2022, 3:21 p.m. OK Clang++20 Diagnostics TESTS 4 31 0
174040376 igl318706 A Sept. 30, 2022, 4:27 a.m. OK Clang++20 Diagnostics TESTS 4 31 0
173997690 Abdul_Raashid A Sept. 29, 2022, 4:39 p.m. OK Clang++20 Diagnostics TESTS 4 31 0
174194110 zeena-kotowaza A Oct. 1, 2022, 3:24 a.m. OK FPC TESTS 4 0 0
174045833 lifelike01 A Sept. 30, 2022, 6:11 a.m. OK GNU C11 TESTS 4 15 0
174001590 saikrishnaallamsetti2003 A Sept. 29, 2022, 5:05 p.m. OK GNU C11 TESTS 4 15 0
174004806 Libuvoty A Sept. 29, 2022, 5:34 p.m. OK GNU C11 TESTS 4 15 0
174022284 Electron1997 A Sept. 29, 2022, 9:27 p.m. OK GNU C11 TESTS 4 15 0
174035263 MR23 A Sept. 30, 2022, 2:37 a.m. OK GNU C11 TESTS 4 15 0
174000317 karas591 A Sept. 29, 2022, 4:56 p.m. OK GNU C11 TESTS 4 15 0
174045857 Cloud09 A Sept. 30, 2022, 6:11 a.m. OK GNU C11 TESTS 4 15 0
174079601 Shahjalal2075 A Sept. 30, 2022, 12:51 p.m. OK GNU C11 TESTS 4 15 0
174160699 sshehan A Sept. 30, 2022, 6:09 p.m. OK GNU C11 TESTS 4 15 0
174163935 ag2003 A Sept. 30, 2022, 6:27 p.m. OK GNU C11 TESTS 4 15 0
174205587 ali.alnahhas.22 A Oct. 1, 2022, 5:56 a.m. OK GNU C++14 TESTS 4 0 0
174188700 chuanyu.fan A Oct. 1, 2022, 1:51 a.m. OK GNU C++14 TESTS 4 0 0
174189485 Monster.c A Oct. 1, 2022, 2:04 a.m. OK GNU C++14 TESTS 4 0 0
174191575 alkalisalt A Oct. 1, 2022, 2:41 a.m. OK GNU C++14 TESTS 4 0 0
174193299 The_4th_floor A Oct. 1, 2022, 3:11 a.m. OK GNU C++14 TESTS 4 0 0
174193597 yfzxxf A Oct. 1, 2022, 3:16 a.m. OK GNU C++14 TESTS 4 0 0
174196455 rajkamal10 A Oct. 1, 2022, 4:02 a.m. OK GNU C++14 TESTS 4 0 0
174202056 rahulprasady A Oct. 1, 2022, 5:18 a.m. OK GNU C++14 TESTS 4 0 0
174202407 elvenblade A Oct. 1, 2022, 5:22 a.m. OK GNU C++14 TESTS 4 0 0
174204256 zeyuanliu A Oct. 1, 2022, 5:42 a.m. OK GNU C++14 TESTS 4 0 0
174205566 Swarnim_1_2_3 A Oct. 1, 2022, 5:56 a.m. OK GNU C++17 TESTS 4 0 0
174201833 Vivek1998299 A Oct. 1, 2022, 5:15 a.m. OK GNU C++17 TESTS 4 0 0
174200878 adnan00_20 A Oct. 1, 2022, 5:03 a.m. OK GNU C++17 TESTS 4 0 0
174200839 bitthal04 A Oct. 1, 2022, 5:02 a.m. OK GNU C++17 TESTS 4 0 0
174200634 Shrey_Bansal A Oct. 1, 2022, 4:59 a.m. OK GNU C++17 TESTS 4 0 0
174198849 sumit_ag2002 A Oct. 1, 2022, 4:36 a.m. OK GNU C++17 TESTS 4 0 0
174197913 Sultana90 A Oct. 1, 2022, 4:24 a.m. OK GNU C++17 TESTS 4 0 0
174197745 __alim_ A Oct. 1, 2022, 4:21 a.m. OK GNU C++17 TESTS 4 0 0
174197564 cool_bud A Oct. 1, 2022, 4:18 a.m. OK GNU C++17 TESTS 4 0 0
174197352 asma_chy A Oct. 1, 2022, 4:16 a.m. OK GNU C++17 TESTS 4 0 0
174088443 xiaoyiru7 A Sept. 30, 2022, 2:22 p.m. OK GNU C++17 (64) TESTS 4 0 0
174205750 _stOrz_ A Oct. 1, 2022, 5:58 a.m. OK GNU C++17 (64) TESTS 4 0 0
174201419 8xin A Oct. 1, 2022, 5:10 a.m. OK GNU C++17 (64) TESTS 4 0 0
174197256 zero096 A Oct. 1, 2022, 4:14 a.m. OK GNU C++17 (64) TESTS 4 0 0
174196276 bunny1024 A Oct. 1, 2022, 3:59 a.m. OK GNU C++17 (64) TESTS 4 0 0
174196089 paopaooux A Oct. 1, 2022, 3:56 a.m. OK GNU C++17 (64) TESTS 4 0 0
174190570 Hisham_Hagag A Oct. 1, 2022, 2:24 a.m. OK GNU C++17 (64) TESTS 4 0 0
174148387 noz2006 A Sept. 30, 2022, 4:46 p.m. OK GNU C++17 (64) TESTS 4 0 0
174117339 gr523 A Sept. 30, 2022, 3:30 p.m. OK GNU C++17 (64) TESTS 4 0 0
174080238 dmga44 A Sept. 30, 2022, 12:58 p.m. OK GNU C++17 (64) TESTS 4 0 0
174193258 HuParry A Oct. 1, 2022, 3:10 a.m. OK GNU C++20 (64) TESTS 4 0 0
174193511 htrung.ptnk A Oct. 1, 2022, 3:15 a.m. OK GNU C++20 (64) TESTS 4 0 0
174193623 xiaoxing666 A Oct. 1, 2022, 3:16 a.m. OK GNU C++20 (64) TESTS 4 0 0
174197338 Temp_1 A Oct. 1, 2022, 4:15 a.m. OK GNU C++20 (64) TESTS 4 0 0
174198058 himanshu_jadon A Oct. 1, 2022, 4:26 a.m. OK GNU C++20 (64) TESTS 4 0 0
174198857 vm.smurf A Oct. 1, 2022, 4:36 a.m. OK GNU C++20 (64) TESTS 4 0 0
174201151 Pravendra_235 A Oct. 1, 2022, 5:06 a.m. OK GNU C++20 (64) TESTS 4 0 0
174201508 A__S A Oct. 1, 2022, 5:11 a.m. OK GNU C++20 (64) TESTS 4 0 0
174201646 vvish A Oct. 1, 2022, 5:12 a.m. OK GNU C++20 (64) TESTS 4 0 0
174205339 SidharthSura A Oct. 1, 2022, 5:54 a.m. OK GNU C++20 (64) TESTS 4 0 0
174034968 pepradere A Sept. 30, 2022, 2:30 a.m. OK Go TESTS 4 15 0
174054419 eshan18.09 A Sept. 30, 2022, 8:01 a.m. OK Java 11 TESTS 4 156 0
174054393 faang_wale A Sept. 30, 2022, 8:01 a.m. OK Java 11 TESTS 4 156 0
174050391 T_PAVAN_NAGARAJU A Sept. 30, 2022, 7:10 a.m. OK Java 11 TESTS 4 156 0
174034723 oneafter A Sept. 30, 2022, 2:25 a.m. OK Java 11 TESTS 4 170 0
174000836 __Serendipity A Sept. 29, 2022, 4:59 p.m. OK Java 11 TESTS 4 170 0
174081976 kencho A Sept. 30, 2022, 1:16 p.m. OK Java 11 TESTS 4 171 0
174007566 Sniper654 A Sept. 29, 2022, 6:02 p.m. OK Java 11 TESTS 4 171 0
174000938 Spidey2182 A Sept. 29, 2022, 5 p.m. OK Java 11 TESTS 4 171 0
174082889 amitmandal A Sept. 30, 2022, 1:26 p.m. OK Java 11 TESTS 4 186 0
174041673 25_5_2022 A Sept. 30, 2022, 4:49 a.m. OK Java 11 TESTS 4 186 0
174026389 freehandle A Sept. 29, 2022, 11:02 p.m. OK Java 17 TESTS 4 171 0
174009741 Hitesh_Ahuja A Sept. 29, 2022, 6:25 p.m. OK Java 17 TESTS 4 171 0
174072381 starskolya A Sept. 30, 2022, 11:33 a.m. OK Java 17 TESTS 4 171 204800
174027519 IceWolf898 A Sept. 29, 2022, 11:31 p.m. OK Java 17 TESTS 4 171 512000
174058922 agarwalmanas212001 A Sept. 30, 2022, 8:55 a.m. OK Java 17 TESTS 4 202 102400
174076742 goalboy A Sept. 30, 2022, 12:20 p.m. OK Java 17 TESTS 4 202 204800
174022107 chaosdevil A Sept. 29, 2022, 9:24 p.m. OK Java 17 TESTS 4 202 307200
174151956 5park A Sept. 30, 2022, 4:56 p.m. OK Java 17 TESTS 4 202 409600
174148864 d_Arshad A Sept. 30, 2022, 4:47 p.m. OK Java 17 TESTS 4 202 512000
174061588 dracarys_1105 A Sept. 30, 2022, 9:22 a.m. OK Java 17 TESTS 4 217 0
174063616 Push_back7 A Sept. 30, 2022, 9:44 a.m. OK Java 8 TESTS 4 78 0
174013873 Diaa12360 A Sept. 29, 2022, 7:14 p.m. OK Java 8 TESTS 4 78 0
174167795 dharmiksuchak7755 A Sept. 30, 2022, 6:58 p.m. OK Java 8 TESTS 4 93 0
174143484 ElectronicsEngineer A Sept. 30, 2022, 4:32 p.m. OK Java 8 TESTS 4 93 0
174070978 shuitishashou A Sept. 30, 2022, 11:16 a.m. OK Java 8 TESTS 4 93 0
174068335 Ibrahimovic_The_Lion A Sept. 30, 2022, 10:43 a.m. OK Java 8 TESTS 4 93 0
174066559 BhargavModha A Sept. 30, 2022, 10:21 a.m. OK Java 8 TESTS 4 93 0
174050521 C_P_T_N A Sept. 30, 2022, 7:12 a.m. OK Java 8 TESTS 4 93 0
174048874 Parth_Pandey A Sept. 30, 2022, 6:50 a.m. OK Java 8 TESTS 4 93 0
174047177 Otepbergen A Sept. 30, 2022, 6:28 a.m. OK Java 8 TESTS 4 93 0
174166940 andy.gusev A Sept. 30, 2022, 6:50 p.m. OK Kotlin 1.4 TESTS 4 93 102400
174174495 gastivy A Sept. 30, 2022, 8:21 p.m. OK MS C++ 2017 TESTS 4 0 0
174108450 laquendi A Sept. 30, 2022, 3:13 p.m. OK MS C++ 2017 TESTS 4 0 0
174089643 123ducanhanhduc123 A Sept. 30, 2022, 2:33 p.m. OK MS C++ 2017 TESTS 4 0 0
174079747 FranJ A Sept. 30, 2022, 12:53 p.m. OK MS C++ 2017 TESTS 4 0 0
174076654 Asadashino1 A Sept. 30, 2022, 12:20 p.m. OK MS C++ 2017 TESTS 4 0 0
174047701 advait61 A Sept. 30, 2022, 6:35 a.m. OK MS C++ 2017 TESTS 4 0 0
174029218 lyy3605 A Sept. 30, 2022, 12:15 a.m. OK MS C++ 2017 TESTS 4 0 0
174022150 whiteReboot A Sept. 29, 2022, 9:25 p.m. OK MS C++ 2017 TESTS 4 0 0
174009787 Abdulhadi-mr A Sept. 29, 2022, 6:25 p.m. OK MS C++ 2017 TESTS 4 0 0
174008690 himanshu2002goyal A Sept. 29, 2022, 6:14 p.m. OK MS C++ 2017 TESTS 4 0 0
174190375 ahasan_ A Oct. 1, 2022, 2:20 a.m. OK PyPy 3 TESTS 4 61 0
174022326 NotGil A Sept. 29, 2022, 9:28 p.m. OK PyPy 3 TESTS 4 61 0
174064695 planets_and_stars A Sept. 30, 2022, 9:58 a.m. OK PyPy 3 TESTS 4 62 0
174087531 P_oldNik A Sept. 30, 2022, 2:14 p.m. OK PyPy 3 TESTS 4 77 0
174057126 naveenKSoma A Sept. 30, 2022, 8:35 a.m. OK PyPy 3 TESTS 4 77 0
174029828 hxu10 A Sept. 30, 2022, 12:33 a.m. OK PyPy 3 TESTS 4 77 0
174022305 Multibala A Sept. 29, 2022, 9:28 p.m. OK PyPy 3 TESTS 4 77 0
174008592 vivek_zadokar A Sept. 29, 2022, 6:13 p.m. OK PyPy 3 TESTS 4 77 0
174026007 dagmat A Sept. 29, 2022, 10:52 p.m. OK PyPy 3 TESTS 4 108 0
174174911 jasmineheart A Sept. 30, 2022, 8:27 p.m. OK PyPy 3-64 TESTS 4 46 0
174150095 babushkin_ A Sept. 30, 2022, 4:51 p.m. OK PyPy 3-64 TESTS 4 46 0
174084591 noobsatish A Sept. 30, 2022, 1:44 p.m. OK PyPy 3-64 TESTS 4 46 0
174069531 21bec036 A Sept. 30, 2022, 10:59 a.m. OK PyPy 3-64 TESTS 4 46 0
174067428 L5von A Sept. 30, 2022, 10:31 a.m. OK PyPy 3-64 TESTS 4 46 0
174045766 valentk777 A Sept. 30, 2022, 6:10 a.m. OK PyPy 3-64 TESTS 4 46 0
174033944 Ice_Bear521 A Sept. 30, 2022, 2:09 a.m. OK PyPy 3-64 TESTS 4 46 0
174030032 samchen123 A Sept. 30, 2022, 12:39 a.m. OK PyPy 3-64 TESTS 4 46 0
174021736 khue1996 A Sept. 29, 2022, 9:17 p.m. OK PyPy 3-64 TESTS 4 46 0
174007821 ChiltonX A Sept. 29, 2022, 6:05 p.m. OK PyPy 3-64 TESTS 4 46 0
174032488 OLOGY A Sept. 30, 2022, 1:36 a.m. OK Python 2 TESTS 4 46 0
174160182 IITDG-CODER A Sept. 30, 2022, 6:01 p.m. OK Python 3 TESTS 4 30 0
174067830 sky_coder_ A Sept. 30, 2022, 10:37 a.m. OK Python 3 TESTS 4 30 0
174031651 kd_angie A Sept. 30, 2022, 1:17 a.m. OK Python 3 TESTS 4 30 0
174031073 curious600171 A Sept. 30, 2022, 1:03 a.m. OK Python 3 TESTS 4 30 0
174020553 alaa81313 A Sept. 29, 2022, 8:55 p.m. OK Python 3 TESTS 4 30 0
174009011 Abh1 A Sept. 29, 2022, 6:17 p.m. OK Python 3 TESTS 4 30 0
174180072 lucifer_delco A Sept. 30, 2022, 10:02 p.m. OK Python 3 TESTS 4 31 0
174075505 baloon8 A Sept. 30, 2022, 12:07 p.m. OK Python 3 TESTS 4 31 0
174064583 kgBolt A Sept. 30, 2022, 9:56 a.m. OK Python 3 TESTS 4 31 0
174047099 incosistent A Sept. 30, 2022, 6:27 a.m. OK Python 3 TESTS 4 31 0
174089753 cottoncotton A Sept. 30, 2022, 2:34 p.m. OK Rust 2021 TESTS 4 31 67276800

remove filters

Back to search problems