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 |
---|---|---|---|---|---|---|
1623 | Codeforces Round 763 (Div. 2) | FINISHED | False | 7200 | 91124699 | Dec. 28, 2021, 1:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 1384 ) | D | Robot Cleaner Revisit | PROGRAMMING | dp implementation math probabilities |
B"The statement of this problem shares a lot with problem A. The differences are that in this problem, the probability is introduced, and the constraint is different. A robot cleaner is placed on the floor of a rectangle room, surrounded by walls. The floor consists of n rows and m columns. The rows of the floor are numbered from 1 to n from top to bottom, and columns of the floor are numbered from 1 to m from left to right. The cell on the intersection of the r -th row and the c -th column is denoted as (r,c) . The initial position of the robot is (r_b, c_b) . In one second, the robot moves by dr rows and dc columns, that is, after one second, the robot moves from the cell (r, c) to (r + dr, c + dc) . Initially dr = 1 , dc = 1 . If there is a vertical wall (the left or the right walls) in the movement direction, dc is reflected before the movement, so the new value of dc is -dc . And if there is a horizontal wall (the upper or lower walls), dr is reflected before the movement, so the new value of dr is -dr . Each second (including the moment before the robot starts moving), the robot cleans every cell lying in the same row or the same column as its position. There is only one dirty cell at (r_d, c_d) . The job of the robot is to clean that dirty cell. After a lot of testings in problem A, the robot is now broken. It cleans the floor as described above, but at each second the cleaning operation is performed with probability frac p {100} only, and not performed with probability 1 - frac p {100} . The cleaning or not cleaning outcomes are independent each second. Given the floor size n and m , the robot's initial position (r_b, c_b) and the dirty cell's position (r_d, c_d) , find the expected time for the robot to do its job. It can be shown that the answer can be expressed as an irreducible fractio"... |
Codeforces Round #763 (Div. 2) Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
140969014 | darkkcyan | D | Dec. 28, 2021, 10:04 p.m. | OK | FPC | TESTS | 78 | 46 | 102400 | ||
140937611 | rainboy | D | Dec. 28, 2021, 3:16 p.m. | OK | GNU C11 | TESTS | 78 | 31 | 204800 | ||
140947735 | thealgosniper | D | Dec. 28, 2021, 4:25 p.m. | OK | GNU C++14 | TESTS | 78 | 31 | 0 | ||
140935701 | mehrzad_minaie | D | Dec. 28, 2021, 3:08 p.m. | OK | GNU C++14 | TESTS | 78 | 31 | 0 | ||
140973112 | vjudge3 | D | Dec. 29, 2021, 1:26 a.m. | OK | GNU C++14 | TESTS | 78 | 31 | 0 | ||
140973069 | Suzumiya_Haruhi | D | Dec. 29, 2021, 1:24 a.m. | OK | GNU C++14 | TESTS | 78 | 31 | 0 | ||
140975039 | XueYJ | D | Dec. 29, 2021, 2:39 a.m. | OK | GNU C++14 | TESTS | 78 | 31 | 0 | ||
140929780 | eecs | D | Dec. 28, 2021, 2:47 p.m. | OK | GNU C++14 | TESTS | 78 | 31 | 204800 | ||
140941418 | t98slider | D | Dec. 28, 2021, 3:30 p.m. | OK | GNU C++14 | TESTS | 78 | 31 | 307200 | ||
140984027 | GennadyTran | D | Dec. 29, 2021, 5:53 a.m. | OK | GNU C++14 | TESTS | 78 | 31 | 307200 | ||
140941095 | buko | D | Dec. 28, 2021, 3:29 p.m. | OK | GNU C++14 | TESTS | 78 | 31 | 614400 | ||
140963263 | prarie | D | Dec. 28, 2021, 7:40 p.m. | OK | GNU C++14 | TESTS | 78 | 31 | 716800 | ||
140956737 | warner1129 | D | Dec. 28, 2021, 6:04 p.m. | OK | GNU C++17 | TESTS | 78 | 15 | 0 | ||
140936878 | izlyforever | D | Dec. 28, 2021, 3:13 p.m. | OK | GNU C++17 | TESTS | 78 | 30 | 0 | ||
140979542 | sephera009 | D | Dec. 29, 2021, 4:33 a.m. | OK | GNU C++17 | TESTS | 78 | 31 | 0 | ||
140974921 | hotavn.com | D | Dec. 29, 2021, 2:35 a.m. | OK | GNU C++17 | TESTS | 78 | 31 | 0 | ||
140971132 | Solstice | D | Dec. 28, 2021, 11:28 p.m. | OK | GNU C++17 | TESTS | 78 | 31 | 0 | ||
140970901 | Suru007 | D | Dec. 28, 2021, 11:18 p.m. | OK | GNU C++17 | TESTS | 78 | 31 | 0 | ||
140970098 | SharpEdged | D | Dec. 28, 2021, 10:44 p.m. | OK | GNU C++17 | TESTS | 78 | 31 | 0 | ||
140969025 | darkkcyan | D | Dec. 28, 2021, 10:04 p.m. | OK | GNU C++17 | TESTS | 78 | 31 | 0 | ||
140968434 | zidder | D | Dec. 28, 2021, 9:44 p.m. | OK | GNU C++17 | TESTS | 78 | 31 | 0 | ||
140978814 | werus23 | D | Dec. 29, 2021, 4:17 a.m. | OK | GNU C++17 | TESTS | 78 | 31 | 0 | ||
140931922 | m_99 | D | Dec. 28, 2021, 2:55 p.m. | OK | GNU C++17 (64) | TESTS | 78 | 15 | 0 | ||
140947324 | ewirlan | D | Dec. 28, 2021, 4:22 p.m. | OK | GNU C++17 (64) | TESTS | 78 | 15 | 0 | ||
140937807 | DOngPH19 | D | Dec. 28, 2021, 3:17 p.m. | OK | GNU C++17 (64) | TESTS | 78 | 30 | 0 | ||
140973877 | Sooh31 | D | Dec. 29, 2021, 1:59 a.m. | OK | GNU C++17 (64) | TESTS | 78 | 30 | 0 | ||
140940875 | kulmak41 | D | Dec. 28, 2021, 3:28 p.m. | OK | GNU C++17 (64) | TESTS | 78 | 30 | 0 | ||
140977507 | gqf123 | D | Dec. 29, 2021, 3:46 a.m. | OK | GNU C++17 (64) | TESTS | 78 | 31 | 0 | ||
140938149 | kipa00 | D | Dec. 28, 2021, 3:18 p.m. | OK | GNU C++17 (64) | TESTS | 78 | 31 | 0 | ||
140982890 | panyaoyu | D | Dec. 29, 2021, 5:34 a.m. | OK | GNU C++17 (64) | TESTS | 78 | 31 | 0 | ||
140937643 | Fysty | D | Dec. 28, 2021, 3:16 p.m. | OK | GNU C++17 (64) | TESTS | 78 | 31 | 0 | ||
140972787 | Thallium54 | D | Dec. 29, 2021, 1:12 a.m. | OK | GNU C++17 (64) | TESTS | 78 | 31 | 0 | ||
140953105 | Kregor | D | Dec. 28, 2021, 5:21 p.m. | OK | GNU C++20 (64) | TESTS | 78 | 15 | 0 | ||
140944212 | Soumya1 | D | Dec. 28, 2021, 4:01 p.m. | OK | GNU C++20 (64) | TESTS | 78 | 15 | 0 | ||
140944163 | windu | D | Dec. 28, 2021, 4:01 p.m. | OK | GNU C++20 (64) | TESTS | 78 | 15 | 0 | ||
140937110 | Farhan132 | D | Dec. 28, 2021, 3:14 p.m. | OK | GNU C++20 (64) | TESTS | 78 | 15 | 0 | ||
140956173 | Bruteforcer101 | D | Dec. 28, 2021, 5:57 p.m. | OK | GNU C++20 (64) | TESTS | 78 | 15 | 0 | ||
140953285 | Kregor | D | Dec. 28, 2021, 5:23 p.m. | OK | GNU C++20 (64) | TESTS | 78 | 30 | 0 | ||
140967574 | dp_1 | D | Dec. 28, 2021, 9:18 p.m. | OK | GNU C++20 (64) | TESTS | 78 | 30 | 0 | ||
140936389 | 229zzz | D | Dec. 28, 2021, 3:11 p.m. | OK | GNU C++20 (64) | TESTS | 78 | 30 | 0 | ||
140931351 | flukehn | D | Dec. 28, 2021, 2:53 p.m. | OK | GNU C++20 (64) | TESTS | 78 | 30 | 614400 | ||
140937880 | ovd0312 | D | Dec. 28, 2021, 3:17 p.m. | OK | GNU C++20 (64) | TESTS | 78 | 30 | 1126400 | ||
140945903 | 0x3F | D | Dec. 28, 2021, 4:10 p.m. | OK | Go | TESTS | 78 | 62 | 102400 | ||
140970710 | mphillotry | D | Dec. 28, 2021, 11:10 p.m. | OK | Java 11 | TESTS | 78 | 592 | 0 | ||
140940358 | Dukkha | D | Dec. 28, 2021, 3:26 p.m. | OK | Java 11 | TESTS | 78 | 701 | 8601600 | ||
140965189 | dzhi | D | Dec. 28, 2021, 8:20 p.m. | OK | Java 11 | TESTS | 78 | 1653 | 40038400 | ||
140953678 | Ste | D | Dec. 28, 2021, 5:28 p.m. | OK | Java 11 | TESTS | 78 | 2417 | 0 | ||
140959880 | ZerooCool | D | Dec. 28, 2021, 6:46 p.m. | OK | Java 8 | TESTS | 78 | 124 | 0 | ||
140934769 | machine_solution | D | Dec. 28, 2021, 3:05 p.m. | OK | MS C++ 2017 | TESTS | 78 | 93 | 2457600 | ||
140950853 | OLOGY | D | Dec. 28, 2021, 4:56 p.m. | OK | PyPy 2 | TESTS | 78 | 171 | 2252800 | ||
140934785 | SPD_9X2 | D | Dec. 28, 2021, 3:05 p.m. | OK | PyPy 3 | TESTS | 78 | 296 | 13004800 | ||
140944182 | kyoran | D | Dec. 28, 2021, 4:01 p.m. | OK | PyPy 3 | TESTS | 78 | 436 | 19456000 | ||
140981325 | mouryasatyam | D | Dec. 29, 2021, 5:06 a.m. | OK | PyPy 3 | TESTS | 78 | 1341 | 252313600 | ||
140965458 | Cristiano07 | D | Dec. 28, 2021, 8:25 p.m. | OK | PyPy 3-64 | TESTS | 78 | 155 | 9011200 | ||
140937257 | kento_maeda | D | Dec. 28, 2021, 3:14 p.m. | OK | PyPy 3-64 | TESTS | 78 | 311 | 8704000 | ||
140946505 | kyoran | D | Dec. 28, 2021, 4:15 p.m. | OK | PyPy 3-64 | TESTS | 78 | 342 | 19968000 | ||
140934340 | titia | D | Dec. 28, 2021, 3:04 p.m. | OK | PyPy 3-64 | TESTS | 78 | 670 | 18432000 | ||
140944132 | oadey89 | D | Dec. 28, 2021, 4:01 p.m. | OK | PyPy 3-64 | TESTS | 78 | 732 | 17920000 | ||
140952713 | acfinity | D | Dec. 28, 2021, 5:16 p.m. | OK | PyPy 3-64 | TESTS | 78 | 1075 | 0 | ||
140963269 | acfinity | D | Dec. 28, 2021, 7:40 p.m. | OK | PyPy 3-64 | TESTS | 78 | 1091 | 0 | ||
140944120 | lucifer1004 | D | Dec. 28, 2021, 4:01 p.m. | OK | PyPy 3-64 | TESTS | 78 | 1793 | 93388800 | ||
140939391 | eepsilon | D | Dec. 28, 2021, 3:23 p.m. | OK | PyPy 3-64 | TESTS | 78 | 2261 | 48435200 | ||
140950877 | OLOGY | D | Dec. 28, 2021, 4:56 p.m. | OK | Python 2 | TESTS | 78 | 733 | 0 | ||
140965511 | whatshisbucket | D | Dec. 28, 2021, 8:26 p.m. | OK | Python 3 | TESTS | 78 | 1559 | 9216000 | ||
140929717 | qwerty787788 | D | Dec. 28, 2021, 2:47 p.m. | OK | Rust 2021 | TESTS | 78 | 31 | 0 | ||
140944407 | Spheniscine | D | Dec. 28, 2021, 4:01 p.m. | OK | Rust 2021 | TESTS | 78 | 31 | 102400 | ||
140941382 | Spheniscine | D | Dec. 28, 2021, 3:30 p.m. | OK | Rust 2021 | TESTS | 78 | 202 | 9011200 |
Back to search problems