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 |
---|---|---|---|---|---|---|
1607 | Codeforces Round 753 (Div. 3) | FINISHED | False | 7200 | 101402663 | Nov. 2, 2021, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 9467 ) | E | Robot on the Board 1 | PROGRAMMING | implementation |
B'The robot is located on a checkered rectangular board of size n x m ( n rows, m columns). The rows in the board are numbered from 1 to n from top to bottom, and the columns -- from 1 to m from left to right. The robot is able to move from the current cell to one of the four cells adjacent by side. The sequence of commands s executed by the robot is given. Each command is denoted by one of the symbols 'L ', 'R ', 'D ' or 'U ', and triggers the movement to left, right, down or up, respectively. The robot can start its movement in any cell. The robot executes the commands starting from the first one, strictly in the order in which they are listed in s . If the robot moves beyond the edge of the board, it falls and breaks. A command that causes the robot to break is not considered successfully executed. The robot 's task is to execute as many commands as possible without falling off the board. For example, on board 3 x 3 , if the robot starts a sequence of actions s= "RRDLUU" ("right", "right", "down", "left", "up", "up") from the central cell, the robot will perform one command, then the next command will force him to cross the edge. If the robot starts moving from the cell (2, 1) (second row, first column) then all commands will be executed successfully and the robot will stop at the cell (1, 2) (first row, second column). Determine the cell from which the robot should start its movement in order to execute as many commands as possible. The first line contains an integer t ( 1 <= q t <= q 10^4 ) -- the number of test cases. The next 2t lines contain descriptions of the test cases. In the description of each test case, the first line contains two integers n and m ( 1 <= q n, m <= q 10^6 ) -- the height and width of the field that the robot is located on. The second line of the description is a string s consisting solely of characters 'L ','... |
Codeforces Round #753 (Div. 3) Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
134147957 | Gassa | E | Nov. 2, 2021, 7:19 p.m. | OK | D | TESTS | 10 | 78 | 7577600 | ||
134125736 | ruban | E | Nov. 2, 2021, 4:25 p.m. | OK | Delphi | TESTS | 9 | 280 | 108544000 | ||
134147864 | Lelouch-ViBritannia | E | Nov. 2, 2021, 7:17 p.m. | OK | GNU C11 | TESTS | 10 | 62 | 4710400 | ||
134133411 | langminjie | E | Nov. 2, 2021, 4:45 p.m. | OK | GNU C++14 | TESTS | 9 | 15 | 2048000 | ||
134156297 | smunteanu | E | Nov. 2, 2021, 9:53 p.m. | OK | GNU C++14 | TESTS | 10 | 15 | 2048000 | ||
134147787 | Charisma | E | Nov. 2, 2021, 7:16 p.m. | OK | GNU C++14 | TESTS | 10 | 15 | 2150400 | ||
134131796 | AlexRex0 | E | Nov. 2, 2021, 4:37 p.m. | OK | GNU C++14 | TESTS | 9 | 15 | 2867200 | ||
134156170 | smunteanu | E | Nov. 2, 2021, 9:50 p.m. | OK | GNU C++14 | TESTS | 10 | 30 | 2048000 | ||
134155968 | smunteanu | E | Nov. 2, 2021, 9:44 p.m. | OK | GNU C++14 | TESTS | 10 | 30 | 2048000 | ||
134157623 | smunteanu | E | Nov. 2, 2021, 10:34 p.m. | OK | GNU C++14 | TESTS | 10 | 30 | 2048000 | ||
134131965 | MAlexxiT | E | Nov. 2, 2021, 4:38 p.m. | OK | GNU C++14 | TESTS | 9 | 30 | 2150400 | ||
134155641 | smunteanu | E | Nov. 2, 2021, 9:36 p.m. | OK | GNU C++14 | TESTS | 10 | 30 | 2150400 | ||
134176119 | demonstrator | E | Nov. 3, 2021, 5:22 a.m. | OK | GNU C++14 | TESTS | 10 | 30 | 2662400 | ||
134177011 | pvzelyyds | E | Nov. 3, 2021, 5:34 a.m. | OK | GNU C++17 | TESTS | 10 | 15 | 2048000 | ||
134128326 | Waelz | E | Nov. 2, 2021, 4:30 p.m. | OK | GNU C++17 | TESTS | 9 | 15 | 2150400 | ||
134142044 | subha_nik | E | Nov. 2, 2021, 6:01 p.m. | OK | GNU C++17 | TESTS | 10 | 15 | 2662400 | ||
134140258 | reddotcheese13 | E | Nov. 2, 2021, 5:44 p.m. | OK | GNU C++17 | TESTS | 10 | 15 | 2662400 | ||
134131125 | Carbon | E | Nov. 2, 2021, 4:34 p.m. | OK | GNU C++17 | TESTS | 9 | 15 | 2662400 | ||
134130276 | techaddict | E | Nov. 2, 2021, 4:33 p.m. | OK | GNU C++17 | TESTS | 9 | 15 | 2662400 | ||
134129160 | Rogue33 | E | Nov. 2, 2021, 4:32 p.m. | OK | GNU C++17 | TESTS | 9 | 15 | 2662400 | ||
134168765 | shivam10025 | E | Nov. 3, 2021, 4:05 a.m. | OK | GNU C++17 | TESTS | 10 | 15 | 2662400 | ||
134128867 | 10_11_12 | E | Nov. 2, 2021, 4:31 p.m. | OK | GNU C++17 | TESTS | 9 | 15 | 18124800 | ||
134128665 | 1_2_3_4_5_9 | E | Nov. 2, 2021, 4:31 p.m. | OK | GNU C++17 | TESTS | 9 | 15 | 18124800 | ||
134147627 | smith_orz | E | Nov. 2, 2021, 7:14 p.m. | OK | GNU C++17 (64) | TESTS | 10 | 15 | 2252800 | ||
134125340 | danielvitor23 | E | Nov. 2, 2021, 4:24 p.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 2252800 | ||
134161911 | prottoyfuad | E | Nov. 3, 2021, 1:09 a.m. | OK | GNU C++17 (64) | TESTS | 10 | 15 | 3072000 | ||
134161408 | Maxwell01 | E | Nov. 3, 2021, 12:54 a.m. | OK | GNU C++17 (64) | TESTS | 10 | 15 | 3072000 | ||
134151048 | jesse_pinkman_619 | E | Nov. 2, 2021, 8:08 p.m. | OK | GNU C++17 (64) | TESTS | 10 | 15 | 3072000 | ||
134165426 | thusloop | E | Nov. 3, 2021, 2:47 a.m. | OK | GNU C++17 (64) | TESTS | 10 | 30 | 2252800 | ||
134157097 | haot1 | E | Nov. 2, 2021, 10:17 p.m. | OK | GNU C++17 (64) | TESTS | 10 | 30 | 2252800 | ||
134132071 | snroy | E | Nov. 2, 2021, 4:38 p.m. | OK | GNU C++17 (64) | TESTS | 9 | 30 | 2969600 | ||
134130449 | anubhav_kr | E | Nov. 2, 2021, 4:34 p.m. | OK | GNU C++17 (64) | TESTS | 9 | 30 | 2969600 | ||
134140805 | Akib_12 | E | Nov. 2, 2021, 5:49 p.m. | OK | GNU C++17 (64) | TESTS | 10 | 30 | 2969600 | ||
134146016 | Amir_Hossein_Farhadi | E | Nov. 2, 2021, 6:52 p.m. | OK | GNU C++20 (64) | TESTS | 10 | 15 | 2355200 | ||
134139251 | alif_cse_ju | E | Nov. 2, 2021, 5:33 p.m. | OK | GNU C++20 (64) | TESTS | 10 | 15 | 2355200 | ||
134169321 | danwuSBU | E | Nov. 3, 2021, 4:17 a.m. | OK | GNU C++20 (64) | TESTS | 10 | 15 | 2355200 | ||
134162841 | nxhieu | E | Nov. 3, 2021, 1:38 a.m. | OK | GNU C++20 (64) | TESTS | 10 | 15 | 3276800 | ||
134155619 | I_love_dp | E | Nov. 2, 2021, 9:35 p.m. | OK | GNU C++20 (64) | TESTS | 10 | 15 | 3276800 | ||
134153998 | _ForeRunner_ | E | Nov. 2, 2021, 8:59 p.m. | OK | GNU C++20 (64) | TESTS | 10 | 15 | 3276800 | ||
134137382 | robosapien | E | Nov. 2, 2021, 5:15 p.m. | OK | GNU C++20 (64) | TESTS | 9 | 15 | 3276800 | ||
134136904 | mohitsethia | E | Nov. 2, 2021, 5:11 p.m. | OK | GNU C++20 (64) | TESTS | 9 | 15 | 3276800 | ||
134136766 | kp1409 | E | Nov. 2, 2021, 5:09 p.m. | OK | GNU C++20 (64) | TESTS | 9 | 15 | 3276800 | ||
134166058 | no_words_to_sky | E | Nov. 3, 2021, 3:03 a.m. | OK | GNU C++20 (64) | TESTS | 10 | 15 | 3276800 | ||
134129913 | manav00 | E | Nov. 2, 2021, 4:33 p.m. | OK | Java 11 | TESTS | 9 | 202 | 24780800 | ||
134172591 | CrinklyGolem | E | Nov. 3, 2021, 4:26 a.m. | OK | Java 11 | TESTS | 10 | 202 | 24883200 | ||
134136248 | doing_cloth | E | Nov. 2, 2021, 5:05 p.m. | OK | Java 11 | TESTS | 9 | 202 | 24883200 | ||
134179007 | vaibhav_1710 | E | Nov. 3, 2021, 6 a.m. | OK | Java 11 | TESTS | 10 | 217 | 24883200 | ||
134129654 | ab5v | E | Nov. 2, 2021, 4:32 p.m. | OK | Java 11 | TESTS | 9 | 217 | 24883200 | ||
134147165 | tushar19280 | E | Nov. 2, 2021, 7:07 p.m. | OK | Java 11 | TESTS | 10 | 217 | 24985600 | ||
134128444 | dinosparton_013 | E | Nov. 2, 2021, 4:30 p.m. | OK | Java 11 | TESTS | 9 | 218 | 24678400 | ||
134175432 | ayush__1411 | E | Nov. 3, 2021, 5:12 a.m. | OK | Java 11 | TESTS | 10 | 218 | 24883200 | ||
134155763 | bittubittu | E | Nov. 2, 2021, 9:39 p.m. | OK | Java 11 | TESTS | 10 | 218 | 24883200 | ||
134132700 | kartheek542 | E | Nov. 2, 2021, 4:41 p.m. | OK | Java 11 | TESTS | 9 | 218 | 24883200 | ||
134134975 | nitinrishab2000 | E | Nov. 2, 2021, 4:55 p.m. | OK | Java 8 | TESTS | 9 | 108 | 18841600 | ||
134126562 | ZiadASadek | E | Nov. 2, 2021, 4:26 p.m. | OK | Java 8 | TESTS | 9 | 109 | 18944000 | ||
134135021 | Adi_7861 | E | Nov. 2, 2021, 4:55 p.m. | OK | Java 8 | TESTS | 9 | 109 | 18944000 | ||
134165844 | 201502010200 | E | Nov. 3, 2021, 2:58 a.m. | OK | Java 8 | TESTS | 10 | 124 | 18841600 | ||
134135760 | NerfThis | E | Nov. 2, 2021, 5:01 p.m. | OK | Java 8 | TESTS | 9 | 124 | 18841600 | ||
134178974 | vaibhav_1710 | E | Nov. 3, 2021, 6 a.m. | OK | Java 8 | TESTS | 10 | 124 | 18944000 | ||
134142836 | ChiMasterBing | E | Nov. 2, 2021, 6:10 p.m. | OK | Java 8 | TESTS | 10 | 124 | 18944000 | ||
134129744 | invincible777 | E | Nov. 2, 2021, 4:33 p.m. | OK | Java 8 | TESTS | 9 | 124 | 18944000 | ||
134142317 | sanjayram21 | E | Nov. 2, 2021, 6:04 p.m. | OK | Java 8 | TESTS | 10 | 140 | 18841600 | ||
134128464 | Akram-Adel | E | Nov. 2, 2021, 4:30 p.m. | OK | Java 8 | TESTS | 9 | 155 | 18944000 | ||
134142154 | noisegain | E | Nov. 2, 2021, 6:02 p.m. | OK | Kotlin 1.5 | TESTS | 10 | 420 | 27136000 | ||
134127326 | noisegain | E | Nov. 2, 2021, 4:28 p.m. | OK | Kotlin 1.5 | TESTS | 9 | 451 | 27136000 | ||
134173191 | httohu | E | Nov. 3, 2021, 4:36 a.m. | OK | MS C++ 2017 | TESTS | 10 | 62 | 11980800 | ||
134131848 | 2516633174 | E | Nov. 2, 2021, 4:37 p.m. | OK | MS C++ 2017 | TESTS | 9 | 77 | 2048000 | ||
134142802 | dino_merlin | E | Nov. 2, 2021, 6:10 p.m. | OK | MS C++ 2017 | TESTS | 10 | 77 | 2560000 | ||
134152545 | Flyheck | E | Nov. 2, 2021, 8:32 p.m. | OK | MS C++ 2017 | TESTS | 10 | 93 | 2560000 | ||
134129215 | Tangerine | E | Nov. 2, 2021, 4:32 p.m. | OK | MS C++ 2017 | TESTS | 9 | 109 | 2560000 | ||
134125266 | YaMi506 | E | Nov. 2, 2021, 4:24 p.m. | OK | MS C++ 2017 | TESTS | 9 | 109 | 12185600 | ||
134173155 | OLOGY | E | Nov. 3, 2021, 4:35 a.m. | OK | PyPy 2 | TESTS | 10 | 451 | 27340800 | ||
134169395 | OLOGY | E | Nov. 3, 2021, 4:18 a.m. | OK | PyPy 2 | TESTS | 10 | 467 | 29081600 | ||
134139300 | wandrer | E | Nov. 2, 2021, 5:34 p.m. | OK | PyPy 3 | TESTS | 10 | 170 | 26316800 | ||
134127776 | sw_enthusiast | E | Nov. 2, 2021, 4:29 p.m. | OK | PyPy 3 | TESTS | 9 | 217 | 92467200 | ||
134172417 | IceKnight1093 | E | Nov. 3, 2021, 4:23 a.m. | OK | PyPy 3 | TESTS | 10 | 233 | 27648000 | ||
134141512 | Munchy_1 | E | Nov. 2, 2021, 5:56 p.m. | OK | PyPy 3 | TESTS | 10 | 233 | 27648000 | ||
134148388 | hxu10 | E | Nov. 2, 2021, 7:25 p.m. | OK | PyPy 3 | TESTS | 10 | 249 | 27545600 | ||
134133108 | Bad_day_toCode | E | Nov. 2, 2021, 4:44 p.m. | OK | PyPy 3 | TESTS | 9 | 249 | 50995200 | ||
134178083 | BingHa | E | Nov. 3, 2021, 5:48 a.m. | OK | PyPy 3 | TESTS | 10 | 264 | 45875200 | ||
134126366 | akshitm16 | E | Nov. 2, 2021, 4:26 p.m. | OK | PyPy 3 | TESTS | 9 | 280 | 27852800 | ||
134150445 | cybsbbb | E | Nov. 2, 2021, 7:58 p.m. | OK | PyPy 3 | TESTS | 10 | 280 | 40755200 | ||
134142760 | shubh67678 | E | Nov. 2, 2021, 6:10 p.m. | OK | PyPy 3 | TESTS | 10 | 295 | 27238400 | ||
134142431 | lemiao12 | E | Nov. 2, 2021, 6:05 p.m. | OK | PyPy 3-64 | TESTS | 10 | 202 | 38297600 | ||
134156370 | iambabo | E | Nov. 2, 2021, 9:55 p.m. | OK | PyPy 3-64 | TESTS | 10 | 264 | 83456000 | ||
134137679 | Skillful_Wanderer | E | Nov. 2, 2021, 5:18 p.m. | OK | PyPy 3-64 | TESTS | 9 | 265 | 39321600 | ||
134129125 | roee | E | Nov. 2, 2021, 4:32 p.m. | OK | PyPy 3-64 | TESTS | 9 | 265 | 39731200 | ||
134142204 | _aadiupadhyay_ | E | Nov. 2, 2021, 6:03 p.m. | OK | PyPy 3-64 | TESTS | 10 | 295 | 70553600 | ||
134133477 | sushmanth.dampur8780 | E | Nov. 2, 2021, 4:45 p.m. | OK | PyPy 3-64 | TESTS | 9 | 296 | 39833600 | ||
134125767 | innocent_SINNER | E | Nov. 2, 2021, 4:25 p.m. | OK | PyPy 3-64 | TESTS | 9 | 311 | 49152000 | ||
134139497 | tesSer16 | E | Nov. 2, 2021, 5:36 p.m. | OK | PyPy 3-64 | TESTS | 10 | 311 | 83353600 | ||
134130074 | bjy | E | Nov. 2, 2021, 4:33 p.m. | OK | PyPy 3-64 | TESTS | 9 | 326 | 39424000 | ||
134128307 | jerinjoseantony | E | Nov. 2, 2021, 4:30 p.m. | OK | PyPy 3-64 | TESTS | 9 | 326 | 39628800 | ||
134165781 | OLOGY | E | Nov. 3, 2021, 2:56 a.m. | OK | Python 2 | TESTS | 10 | 327 | 5120000 | ||
134166135 | OLOGY | E | Nov. 3, 2021, 3:05 a.m. | OK | Python 2 | TESTS | 10 | 389 | 5120000 | ||
134167675 | OLOGY | E | Nov. 3, 2021, 3:40 a.m. | OK | Python 2 | TESTS | 10 | 530 | 5120000 | ||
134166402 | OLOGY | E | Nov. 3, 2021, 3:12 a.m. | OK | Python 2 | TESTS | 10 | 546 | 5120000 | ||
134169320 | OLOGY | E | Nov. 3, 2021, 4:17 a.m. | OK | Python 2 | TESTS | 10 | 842 | 5222400 | ||
134168900 | OLOGY | E | Nov. 3, 2021, 4:08 a.m. | OK | Python 2 | TESTS | 10 | 1278 | 5222400 | ||
134132091 | orazbek | E | Nov. 2, 2021, 4:38 p.m. | OK | Python 3 | TESTS | 9 | 467 | 6451200 | ||
134140863 | SlavikYurIv | E | Nov. 2, 2021, 5:50 p.m. | OK | Python 3 | TESTS | 10 | 545 | 6246400 | ||
134137196 | titanalpha | E | Nov. 2, 2021, 5:13 p.m. | OK | Python 3 | TESTS | 9 | 655 | 6758400 | ||
134128844 | AshrafSustS19 | E | Nov. 2, 2021, 4:31 p.m. | OK | Python 3 | TESTS | 9 | 810 | 6758400 | ||
134128744 | mohittkkumar | E | Nov. 2, 2021, 4:31 p.m. | OK | Python 3 | TESTS | 9 | 919 | 7065600 | ||
134146472 | shikhabhat16 | E | Nov. 2, 2021, 6:58 p.m. | OK | Python 3 | TESTS | 10 | 1044 | 6860800 | ||
134129566 | deepcoder1 | E | Nov. 2, 2021, 4:32 p.m. | OK | Python 3 | TESTS | 9 | 1106 | 6758400 | ||
134177504 | MilitiaKing | E | Nov. 3, 2021, 5:41 a.m. | OK | Python 3 | TESTS | 10 | 1263 | 7270400 | ||
134176722 | tusharjain0022 | E | Nov. 3, 2021, 5:30 a.m. | OK | Python 3 | TESTS | 10 | 1871 | 6758400 | ||
134163944 | Bambam_Shivam | E | Nov. 3, 2021, 2:10 a.m. | OK | Python 3 | TESTS | 10 | 1996 | 7475200 | ||
134138952 | 725973 | E | Nov. 2, 2021, 5:31 p.m. | OK | Rust | TESTS | 10 | 124 | 18329600 |
Back to search problems