Codeforces Round 913 (Div. 3)

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
1907 Codeforces Round 913 (Div. 3) FINISHED False 8100 35392463 Dec. 5, 2023, 2:45 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 37588 ) A Rook PROGRAMMING implementation

B'As you probably know, chess is a game that is played on a board with 64 squares arranged in an 8 x 8 grid. Columns of this board are labeled with letters from a to h, and rows are labeled with digits from 1 to 8. Each square is described by the row and column it belongs to. The rook is a piece in the game of chess. During its turn, it may move any non-zero number of squares horizontally or vertically. Your task is to find all possible moves for a rook on an empty chessboard. The first line of input contains single integer t ( 1 <= t <= 64 ) -- the number of test cases. The descriptions of test cases follow. Each test case contains one string of two characters, description of the square where rook is positioned. The first character is a letter from a to h, the label of column, and the second character is a digit from 1 to 8, the label of row. The same position may occur in more than one test case. For each test case, output descriptions of all squares where the rook can move, in the same format as in the input. You can output squares in any order per test case. '...

Tutorials

Codeforces Round 913 (Div. 3) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
236000256 Mowind A Dec. 6, 2023, 5:46 a.m. OK C# 10 TESTS 3 124 0
235956703 _Hany_ A Dec. 5, 2023, 5:36 p.m. OK C# 8 TESTS 3 77 0
235956413 M.Hany. A Dec. 5, 2023, 5:34 p.m. OK C# 8 TESTS 3 77 0
235956619 M.Hany. A Dec. 5, 2023, 5:35 p.m. OK C# 8 TESTS 3 77 0
235992629 Taj025 A Dec. 6, 2023, 3:55 a.m. OK C# 8 TESTS 3 108 102400
235977722 bluemegane A Dec. 5, 2023, 9:59 p.m. OK C# 8 TESTS 3 124 307200
235967203 kaydantran5 A Dec. 5, 2023, 7:19 p.m. OK Clang++17 Diagnostics TESTS 3 31 0
235952223 sachin_3059 A Dec. 5, 2023, 5:08 p.m. OK Clang++17 Diagnostics TESTS 3 46 0
235959318 raka_04 A Dec. 5, 2023, 5:57 p.m. OK Clang++17 Diagnostics TESTS 3 46 0
235949126 fariha127 A Dec. 5, 2023, 4:58 p.m. OK GNU C11 TESTS 3 15 0
236000245 LUFEE666 A Dec. 6, 2023, 5:46 a.m. OK GNU C11 TESTS 3 15 0
235951392 Zihan_Manbit A Dec. 5, 2023, 5:04 p.m. OK GNU C11 TESTS 3 15 0
235961526 The_Variant A Dec. 5, 2023, 6:18 p.m. OK GNU C11 TESTS 3 15 0
235966345 shiva_usk A Dec. 5, 2023, 7:08 p.m. OK GNU C11 TESTS 3 15 0
235976573 Ronit5 A Dec. 5, 2023, 9:35 p.m. OK GNU C11 TESTS 3 15 0
235982314 suhita_aurthi A Dec. 6, 2023, 12:25 a.m. OK GNU C11 TESTS 3 15 0
235990982 lhcodo A Dec. 6, 2023, 3:25 a.m. OK GNU C11 TESTS 3 15 0
235993574 fatinfuad13 A Dec. 6, 2023, 4:12 a.m. OK GNU C11 TESTS 3 15 0
235994149 Humaira228 A Dec. 6, 2023, 4:22 a.m. OK GNU C11 TESTS 3 15 0
235998538 saurabh_16 A Dec. 6, 2023, 5:24 a.m. OK GNU C++14 TESTS 3 0 0
235997722 gurudevsingh_14 A Dec. 6, 2023, 5:13 a.m. OK GNU C++14 TESTS 3 0 0
235996768 yhylivedream A Dec. 6, 2023, 5:01 a.m. OK GNU C++14 TESTS 3 0 0
235995548 raghvendra98 A Dec. 6, 2023, 4:44 a.m. OK GNU C++14 TESTS 3 0 0
235992783 SWUST-SYC A Dec. 6, 2023, 3:58 a.m. OK GNU C++14 TESTS 3 0 0
235990607 tarunraj17 A Dec. 6, 2023, 3:18 a.m. OK GNU C++14 TESTS 3 0 0
235987439 Shreyas-R A Dec. 6, 2023, 2:29 a.m. OK GNU C++14 TESTS 3 0 0
235986115 param_1 A Dec. 6, 2023, 2:02 a.m. OK GNU C++14 TESTS 3 0 0
235985776 guohaonan A Dec. 6, 2023, 1:56 a.m. OK GNU C++14 TESTS 3 0 0
235984137 Darshansinghbisht A Dec. 6, 2023, 1:17 a.m. OK GNU C++14 TESTS 3 0 0
235999372 AreFin_Naeem A Dec. 6, 2023, 5:35 a.m. OK GNU C++17 TESTS 3 0 0
235999479 dv_0101 A Dec. 6, 2023, 5:36 a.m. OK GNU C++17 TESTS 3 0 0
235999618 nik.k.08 A Dec. 6, 2023, 5:38 a.m. OK GNU C++17 TESTS 3 0 0
235999754 sayantangain007 A Dec. 6, 2023, 5:40 a.m. OK GNU C++17 TESTS 3 0 0
236000449 LUFEE666 A Dec. 6, 2023, 5:48 a.m. OK GNU C++17 TESTS 3 0 0
236000545 Masrafi A Dec. 6, 2023, 5:50 a.m. OK GNU C++17 TESTS 3 0 0
236000629 The_MaGiCiaN_ A Dec. 6, 2023, 5:50 a.m. OK GNU C++17 TESTS 3 0 0
236000630 radhika11_11 A Dec. 6, 2023, 5:50 a.m. OK GNU C++17 TESTS 3 0 0
236000644 SunChengyu A Dec. 6, 2023, 5:51 a.m. OK GNU C++17 TESTS 3 0 0
236001023 freakin23 A Dec. 6, 2023, 5:55 a.m. OK GNU C++17 TESTS 3 0 0
235995001 zoldick A Dec. 6, 2023, 4:35 a.m. OK GNU C++17 (64) TESTS 3 0 0
236000534 lqj A Dec. 6, 2023, 5:49 a.m. OK GNU C++17 (64) TESTS 3 0 0
235999579 190123 A Dec. 6, 2023, 5:37 a.m. OK GNU C++17 (64) TESTS 3 0 0
235998815 fffffy A Dec. 6, 2023, 5:27 a.m. OK GNU C++17 (64) TESTS 3 0 0
235998693 xx003 A Dec. 6, 2023, 5:25 a.m. OK GNU C++17 (64) TESTS 3 0 0
235997792 pranjalcsk123 A Dec. 6, 2023, 5:14 a.m. OK GNU C++17 (64) TESTS 3 0 0
235997494 aluber A Dec. 6, 2023, 5:10 a.m. OK GNU C++17 (64) TESTS 3 0 0
235995929 lahari_11 A Dec. 6, 2023, 4:50 a.m. OK GNU C++17 (64) TESTS 3 0 0
235995644 amircodeforces A Dec. 6, 2023, 4:46 a.m. OK GNU C++17 (64) TESTS 3 0 0
235992174 Camellia_Tusbaki A Dec. 6, 2023, 3:47 a.m. OK GNU C++17 (64) TESTS 3 0 0
235999805 sherry456 A Dec. 6, 2023, 5:41 a.m. OK GNU C++20 (64) TESTS 3 0 0
235999843 kha420 A Dec. 6, 2023, 5:41 a.m. OK GNU C++20 (64) TESTS 3 0 0
236000526 baba.kapish A Dec. 6, 2023, 5:49 a.m. OK GNU C++20 (64) TESTS 3 0 0
236000681 shazaamm A Dec. 6, 2023, 5:51 a.m. OK GNU C++20 (64) TESTS 3 0 0
236000818 practice_kar_lavdya A Dec. 6, 2023, 5:52 a.m. OK GNU C++20 (64) TESTS 3 0 0
236000843 night_we_met A Dec. 6, 2023, 5:53 a.m. OK GNU C++20 (64) TESTS 3 0 0
236000942 Dicode A Dec. 6, 2023, 5:54 a.m. OK GNU C++20 (64) TESTS 3 0 0
236001394 pipo123 A Dec. 6, 2023, 5:59 a.m. OK GNU C++20 (64) TESTS 3 0 0
236001512 JokerKing_forever A Dec. 6, 2023, 6 a.m. OK GNU C++20 (64) TESTS 3 0 0
236001587 bhupesh_singh10 A Dec. 6, 2023, 6 a.m. OK GNU C++20 (64) TESTS 3 0 0
235981850 SadFriedRice A Dec. 6, 2023, 12:10 a.m. OK Go TESTS 3 15 0
235956727 CruellaDeVil A Dec. 5, 2023, 5:36 p.m. OK Go TESTS 3 15 0
235985023 drdilyor A Dec. 6, 2023, 1:39 a.m. OK Haskell TESTS 3 15 0
235979138 The_Science_Kid A Dec. 5, 2023, 10:39 p.m. OK Java 11 TESTS 3 186 0
235960753 Yousef_Badr A Dec. 5, 2023, 6:10 p.m. OK Java 11 TESTS 3 186 0
235994261 merp11 A Dec. 6, 2023, 4:24 a.m. OK Java 11 TESTS 3 187 0
235993556 diegoprada005 A Dec. 6, 2023, 4:12 a.m. OK Java 11 TESTS 3 202 0
235960192 akshit_75123 A Dec. 5, 2023, 6:05 p.m. OK Java 11 TESTS 3 202 0
235958287 druti6 A Dec. 5, 2023, 5:49 p.m. OK Java 11 TESTS 3 202 0
235949853 CMRIT25_21R01A0583 A Dec. 5, 2023, 4:59 p.m. OK Java 11 TESTS 3 202 0
235946521 CMRIT25_21R01A6766 A Dec. 5, 2023, 4:52 p.m. OK Java 11 TESTS 3 202 0
235964659 Kushagra8009 A Dec. 5, 2023, 6:49 p.m. OK Java 11 TESTS 3 217 0
235992836 brandonmejia A Dec. 6, 2023, 3:59 a.m. OK Java 11 TESTS 3 218 0
235951158 Nagendravarma A Dec. 5, 2023, 5:03 p.m. OK Java 17 TESTS 3 140 0
235986980 ktcat A Dec. 6, 2023, 2:20 a.m. OK Java 17 TESTS 3 171 0
235947373 tejaswiginjupalli A Dec. 5, 2023, 4:54 p.m. OK Java 17 TESTS 3 171 409600
235944677 BlackKnight3404 A Dec. 5, 2023, 4:48 p.m. OK Java 17 TESTS 3 186 512000
235950727 vinothraj8817 A Dec. 5, 2023, 5:01 p.m. OK Java 17 TESTS 3 202 409600
235959699 Yashraj_K A Dec. 5, 2023, 6 p.m. OK Java 17 TESTS 3 202 716800
235947966 psandy123 A Dec. 5, 2023, 4:55 p.m. OK Java 17 TESTS 3 217 614400
235958130 vyom_1225 A Dec. 5, 2023, 5:47 p.m. OK Java 17 TESTS 3 217 1331200
235976291 anand_mishra_ A Dec. 5, 2023, 9:30 p.m. OK Java 17 TESTS 3 218 409600
235948643 venugopaleddu A Dec. 5, 2023, 4:57 p.m. OK Java 17 TESTS 3 218 409600
235995477 darshanjan-entrepreneur A Dec. 6, 2023, 4:43 a.m. OK Java 21 TESTS 3 217 0
235943830 kg1718129 A Dec. 5, 2023, 4:46 p.m. OK Java 21 TESTS 3 218 0
235954437 teja_21 A Dec. 5, 2023, 5:20 p.m. OK Java 21 TESTS 3 218 307200
235999811 DDinle A Dec. 6, 2023, 5:41 a.m. OK Java 21 TESTS 3 249 409600
235957266 JAY___2 A Dec. 5, 2023, 5:41 p.m. OK Java 21 TESTS 3 249 614400
235959641 ajay_c A Dec. 5, 2023, 6 p.m. OK Java 21 TESTS 3 264 0
235956653 java_noob69 A Dec. 5, 2023, 5:36 p.m. OK Java 21 TESTS 3 264 16179200
235945410 aryansrivastava27897 A Dec. 5, 2023, 4:49 p.m. OK Java 21 TESTS 3 280 204800
235985120 nikesh1057 A Dec. 6, 2023, 1:42 a.m. OK Java 21 TESTS 3 280 409600
235950061 Samyajit125 A Dec. 5, 2023, 4:59 p.m. OK Java 21 TESTS 3 280 409600
235978324 A_Random_Guy898 A Dec. 5, 2023, 10:16 p.m. OK Java 8 TESTS 3 77 0
235949676 1091857051 A Dec. 5, 2023, 4:59 p.m. OK Java 8 TESTS 3 108 0
235966180 Sumitsingh7 A Dec. 5, 2023, 7:06 p.m. OK Java 8 TESTS 3 108 5734400
235958732 rawat_rishabh A Dec. 5, 2023, 5:52 p.m. OK Java 8 TESTS 3 109 0
235953620 21241a6712 A Dec. 5, 2023, 5:15 p.m. OK Java 8 TESTS 3 109 0
235991748 deepthecoder A Dec. 6, 2023, 3:38 a.m. OK Java 8 TESTS 3 124 0
235983604 yashdangar A Dec. 6, 2023, 1:03 a.m. OK Java 8 TESTS 3 124 0
235951291 harinireddy A Dec. 5, 2023, 5:04 p.m. OK Java 8 TESTS 3 124 0
235948518 pallantignanaprakash A Dec. 5, 2023, 4:56 p.m. OK Java 8 TESTS 3 124 0
235946117 sa7ya A Dec. 5, 2023, 4:51 p.m. OK Java 8 TESTS 3 124 0
235961315 _a253 A Dec. 5, 2023, 6:16 p.m. OK Kotlin 1.7 TESTS 3 186 0
235988946 craw_fish A Dec. 6, 2023, 2:53 a.m. OK Kotlin 1.7 TESTS 3 233 0
235960782 _a253 A Dec. 5, 2023, 6:11 p.m. OK Kotlin 1.7 TESTS 3 233 0
235943735 navaldidharia001 A Dec. 5, 2023, 4:45 p.m. OK Kotlin 1.7 TESTS 3 264 0
235991116 zhangkuo-2023211824 A Dec. 6, 2023, 3:27 a.m. OK MS C++ 2017 TESTS 3 0 0
235988165 shiwang_ar A Dec. 6, 2023, 2:41 a.m. OK MS C++ 2017 TESTS 3 0 0
235986912 qi4820 A Dec. 6, 2023, 2:18 a.m. OK MS C++ 2017 TESTS 3 0 0
235985157 Awake A Dec. 6, 2023, 1:43 a.m. OK MS C++ 2017 TESTS 3 0 0
235975866 maikh07 A Dec. 5, 2023, 9:21 p.m. OK MS C++ 2017 TESTS 3 0 0
235973559 Gadi A Dec. 5, 2023, 8:40 p.m. OK MS C++ 2017 TESTS 3 0 0
235946911 sadontseva.m A Dec. 5, 2023, 4:53 p.m. OK MS C++ 2017 TESTS 3 0 0
235945233 kartheek_95 A Dec. 5, 2023, 4:49 p.m. OK MS C++ 2017 TESTS 3 0 0
235988634 akshath07 A Dec. 6, 2023, 2:48 a.m. OK MS C++ 2017 TESTS 3 15 0
235970715 khalaf512 A Dec. 5, 2023, 8:02 p.m. OK MS C++ 2017 TESTS 3 15 0
235952773 akshaykumarpatil33 A Dec. 5, 2023, 5:11 p.m. OK Node.js TESTS 3 62 921600
235952541 _M-H-O_ A Dec. 5, 2023, 5:10 p.m. OK Node.js TESTS 3 109 0
235976171 rsFalse A Dec. 5, 2023, 9:28 p.m. OK Perl TESTS 3 15 0
235975183 rsFalse A Dec. 5, 2023, 9:08 p.m. OK Perl TESTS 3 30 0
235960266 dagmat A Dec. 5, 2023, 6:06 p.m. OK PyPy 3 TESTS 3 62 1331200
235994769 skim83 A Dec. 6, 2023, 4:32 a.m. OK PyPy 3 TESTS 3 77 409600
235974619 asamv A Dec. 5, 2023, 8:57 p.m. OK PyPy 3 TESTS 3 92 1331200
235944458 vedanjali2003 A Dec. 5, 2023, 4:47 p.m. OK PyPy 3 TESTS 3 92 1433600
235944027 geethapriyanka A Dec. 5, 2023, 4:46 p.m. OK PyPy 3 TESTS 3 92 1433600
235974266 khanter_ A Dec. 5, 2023, 8:51 p.m. OK PyPy 3 TESTS 3 93 2662400
235971179 micka A Dec. 5, 2023, 8:08 p.m. OK PyPy 3 TESTS 3 108 1433600
235970792 gardengnome A Dec. 5, 2023, 8:03 p.m. OK PyPy 3-64 TESTS 3 46 0
235964335 kenenisa A Dec. 5, 2023, 6:45 p.m. OK PyPy 3-64 TESTS 3 46 0
235962752 abeni505 A Dec. 5, 2023, 6:29 p.m. OK PyPy 3-64 TESTS 3 46 0
235992757 Adilkhan. A Dec. 6, 2023, 3:58 a.m. OK PyPy 3-64 TESTS 3 46 1536000
235974428 desarguess A Dec. 5, 2023, 8:54 p.m. OK PyPy 3-64 TESTS 3 46 1638400
235992330 Neclo A Dec. 6, 2023, 3:50 a.m. OK PyPy 3-64 TESTS 3 46 1740800
235978363 batbout A Dec. 5, 2023, 10:17 p.m. OK PyPy 3-64 TESTS 3 46 1843200
235994082 Alfa330 A Dec. 6, 2023, 4:21 a.m. OK PyPy 3-64 TESTS 3 61 1638400
235973736 voidfp A Dec. 5, 2023, 8:43 p.m. OK PyPy 3-64 TESTS 3 61 1638400
235971259 aspiringquant A Dec. 5, 2023, 8:09 p.m. OK PyPy 3-64 TESTS 3 61 1638400
235946810 21wh1a6617 A Dec. 5, 2023, 4:53 p.m. OK Python 2 TESTS 3 30 0
235997222 User250 A Dec. 6, 2023, 5:07 a.m. OK Python 3 TESTS 3 30 0
235987834 upwarder1 A Dec. 6, 2023, 2:36 a.m. OK Python 3 TESTS 3 30 0
235975513 Ivan_zharikov A Dec. 5, 2023, 9:14 p.m. OK Python 3 TESTS 3 30 0
235972660 ababu A Dec. 5, 2023, 8:27 p.m. OK Python 3 TESTS 3 30 0
235961791 matheuscoutinho20 A Dec. 5, 2023, 6:20 p.m. OK Python 3 TESTS 3 30 0
235959167 TheMatrix007 A Dec. 5, 2023, 5:56 p.m. OK Python 3 TESTS 3 30 0
235958150 shriram_iitm A Dec. 5, 2023, 5:47 p.m. OK Python 3 TESTS 3 30 0
235957598 Meghanareddy_18 A Dec. 5, 2023, 5:43 p.m. OK Python 3 TESTS 3 30 0
235957008 mahendrasai024 A Dec. 5, 2023, 5:39 p.m. OK Python 3 TESTS 3 30 0
235949777 V.Preethi A Dec. 5, 2023, 4:59 p.m. OK Python 3 TESTS 3 30 0
235960729 otintin A Dec. 5, 2023, 6:10 p.m. OK Rust 2021 TESTS 3 15 0
235949799 NotSpaceBoy A Dec. 5, 2023, 4:59 p.m. OK Rust 2021 TESTS 3 31 0

remove filters

Back to search problems