Codeforces Round 784 (Div. 4)

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
1669 Codeforces Round 784 (Div. 4) FINISHED False 7200 86714663 April 21, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 19051 ) G Fall Down PROGRAMMING dfs and similar implementation 1200

B"There is a grid with n rows and m columns, and three types of cells: All stones fall down until they meet the floor (the bottom row), an obstacle, or other stone which is already immovable. (In other words, all the stones just fall down as long as they can fall.) Simulate the process. What does the resulting grid look like? The input consists of multiple test cases. The first line contains an integer t ( 1 <= q t <= q 100 ) -- the number of test cases. The description of the test cases follows. The first line of each test case contains two integers n and m ( 1 <= q n, m <= q 50 ) -- the number of rows and the number of columns in the grid, respectively. Then n lines follow, each containing m characters. Each of these characters is either '.', '*', or 'o' -- an empty cell, a stone, or an obstacle, respectively. For each test case, output a grid with n rows and m columns, showing the result of the process. You don't need to output a new line after each test, it is in the samples just for clarity. "...

Tutorials

102101

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
154719911 chenbxxx G April 23, 2022, 2:36 p.m. OK Clang++17 Diagnostics TESTS 15 124 0 1200
154825461 vjudge4 G April 24, 2022, 8:16 a.m. OK Clang++17 Diagnostics TESTS 15 124 0 1200
154497766 akshat211103 G April 22, 2022, 12:41 p.m. OK GNU C11 TESTS 15 951 0 1200
154850679 Dage. G April 24, 2022, 12:33 p.m. OK GNU C++14 TESTS 15 15 0 1200
154655682 bkifhr6 G April 23, 2022, 12:27 p.m. OK GNU C++14 TESTS 15 15 0 1200
154649721 xzachina G April 23, 2022, 11:18 a.m. OK GNU C++14 TESTS 15 15 0 1200
154647301 TetrisCandy G April 23, 2022, 10:50 a.m. OK GNU C++14 TESTS 15 15 0 1200
154642778 diandian2020 G April 23, 2022, 10 a.m. OK GNU C++14 TESTS 15 15 0 1200
154639255 Valters07 G April 23, 2022, 9:22 a.m. OK GNU C++14 TESTS 15 15 0 1200
154586205 i_not_taukir G April 22, 2022, 6:06 p.m. OK GNU C++14 TESTS 15 15 0 1200
154905828 Lotuses G April 25, 2022, 5:24 a.m. OK GNU C++14 TESTS 15 15 0 1200
154869598 AC_Wong G April 24, 2022, 3:45 p.m. OK GNU C++14 TESTS 15 15 0 1200
154903087 dev_2000 G April 25, 2022, 4:27 a.m. OK GNU C++14 TESTS 15 15 204800 1200
154644770 MeEk_0 G April 23, 2022, 10:23 a.m. OK GNU C++17 TESTS 15 15 0 1200
154881517 abhishek_090802 G April 24, 2022, 6:22 p.m. OK GNU C++17 TESTS 15 15 0 1200
154863268 thaizodak G April 24, 2022, 2:38 p.m. OK GNU C++17 TESTS 15 15 0 1200
154832191 tshikhar_20 G April 24, 2022, 9:28 a.m. OK GNU C++17 TESTS 15 15 0 1200
154779135 Ash_Ag G April 23, 2022, 6:20 p.m. OK GNU C++17 TESTS 15 15 0 1200
154727687 AbylaiNur G April 23, 2022, 2:50 p.m. OK GNU C++17 TESTS 15 15 0 1200
154648700 explorer_958 G April 23, 2022, 11:07 a.m. OK GNU C++17 TESTS 15 15 0 1200
154645440 Aurora__ G April 23, 2022, 10:30 a.m. OK GNU C++17 TESTS 15 15 0 1200
154645089 Jayanttiwari2002 G April 23, 2022, 10:26 a.m. OK GNU C++17 TESTS 15 15 0 1200
154643345 _ansii_ G April 23, 2022, 10:07 a.m. OK GNU C++17 TESTS 15 15 0 1200
154785090 houren G April 23, 2022, 7:45 p.m. OK GNU C++17 (64) TESTS 15 15 0 1200
154870849 fakhoury G April 24, 2022, 3:55 p.m. OK GNU C++17 (64) TESTS 15 15 0 1200
154870201 Inzam_Z G April 24, 2022, 3:50 p.m. OK GNU C++17 (64) TESTS 15 15 0 1200
154851331 pd_codes G April 24, 2022, 12:38 p.m. OK GNU C++17 (64) TESTS 15 15 0 1200
154847077 NFJJunior G April 24, 2022, noon OK GNU C++17 (64) TESTS 15 15 0 1200
154842963 ttttan G April 24, 2022, 11:27 a.m. OK GNU C++17 (64) TESTS 15 15 0 1200
154827168 Ash_Dr G April 24, 2022, 8:35 a.m. OK GNU C++17 (64) TESTS 15 15 0 1200
154785803 danielvitor23 G April 23, 2022, 7:56 p.m. OK GNU C++17 (64) TESTS 15 15 0 1200
154773382 Razum_nik G April 23, 2022, 5:27 p.m. OK GNU C++17 (64) TESTS 15 15 0 1200
154748335 TAM G April 23, 2022, 3:42 p.m. OK GNU C++17 (64) TESTS 15 15 0 1200
154821005 achvanov G April 24, 2022, 7:27 a.m. OK GNU C++20 (64) TESTS 15 0 0 1200
154891788 Mohamed-Omran G April 24, 2022, 9:33 p.m. OK GNU C++20 (64) TESTS 15 15 0 1200
154880396 KiaraTeAmo G April 24, 2022, 6:05 p.m. OK GNU C++20 (64) TESTS 15 15 0 1200
154875484 I_Remember_Olya_ashmelev G April 24, 2022, 4:52 p.m. OK GNU C++20 (64) TESTS 15 15 0 1200
154873754 bratezz G April 24, 2022, 4:25 p.m. OK GNU C++20 (64) TESTS 15 15 0 1200
154849117 panic_x G April 24, 2022, 12:18 p.m. OK GNU C++20 (64) TESTS 15 15 0 1200
154847860 Kali1314 G April 24, 2022, 12:07 p.m. OK GNU C++20 (64) TESTS 15 15 0 1200
154829371 endCoding G April 24, 2022, 8:56 a.m. OK GNU C++20 (64) TESTS 15 15 0 1200
154819437 stricks G April 24, 2022, 7:11 a.m. OK GNU C++20 (64) TESTS 15 15 0 1200
154828756 shihab4t G April 24, 2022, 8:50 a.m. OK GNU C++20 (64) TESTS 15 15 0 1200
154623384 sf14t G April 23, 2022, 6:22 a.m. OK Java 11 TESTS 15 171 0 1200
154876241 Eslam_Ahmed G April 24, 2022, 5:03 p.m. OK Java 11 TESTS 15 171 0 1200
154691136 Akash151101 G April 23, 2022, 1:29 p.m. OK Java 11 TESTS 15 171 0 1200
154636264 mayank.singh19 G April 23, 2022, 8:51 a.m. OK Java 11 TESTS 15 171 0 1200
154640864 Aaryendra G April 23, 2022, 9:39 a.m. OK Java 11 TESTS 15 187 0 1200
154880439 rainweep G April 24, 2022, 6:05 p.m. OK Java 11 TESTS 15 187 0 1200
154856279 mohamedsamirtkd G April 24, 2022, 1:27 p.m. OK Java 11 TESTS 15 187 0 1200
154773257 soujanya_06 G April 23, 2022, 5:23 p.m. OK Java 11 TESTS 15 202 0 1200
154496796 dhruvil8804 G April 22, 2022, 12:32 p.m. OK Java 11 TESTS 15 202 0 1200
154780296 soujanya_06 G April 23, 2022, 6:34 p.m. OK Java 11 TESTS 15 217 0 1200
154500631 govindrajput G April 22, 2022, 1:10 p.m. OK Java 8 TESTS 15 93 0 1200
154800454 ssingh0271 G April 24, 2022, 1:50 a.m. OK Java 8 TESTS 15 108 7782400 1200
154785166 DEMO23 G April 23, 2022, 7:46 p.m. OK Java 8 TESTS 15 109 0 1200
154627961 ND_ G April 23, 2022, 7:11 a.m. OK Java 8 TESTS 15 109 0 1200
154507917 Daly105 G April 22, 2022, 2:28 p.m. OK Java 8 TESTS 15 124 0 1200
154648819 ak_ankit G April 23, 2022, 11:08 a.m. OK Java 8 TESTS 15 124 0 1200
154857054 AbdelrahmanFathy G April 24, 2022, 1:35 p.m. OK Java 8 TESTS 15 124 37888000 1200
154719867 kanha5125 G April 23, 2022, 2:36 p.m. OK Java 8 TESTS 15 124 38195200 1200
154508241 ahmedTarek28 G April 22, 2022, 2:32 p.m. OK Java 8 TESTS 15 139 0 1200
154593475 leonlian G April 22, 2022, 7:52 p.m. OK Java 8 TESTS 15 140 0 1200
154876389 wbars G April 24, 2022, 5:06 p.m. OK Kotlin 1.5 TESTS 15 265 2048000 1200
154633489 noisegain G April 23, 2022, 8:20 a.m. OK Kotlin 1.6 TESTS 15 264 1024000 1200
154640680 wangjunchao G April 23, 2022, 9:37 a.m. OK MS C++ 2017 TESTS 15 31 0 1200
154501481 mikasamikoto G April 22, 2022, 1:19 p.m. OK MS C++ 2017 TESTS 15 62 0 1200
154655837 Tangerine G April 23, 2022, 12:28 p.m. OK MS C++ 2017 TESTS 15 77 0 1200
154630786 RealStarlight G April 23, 2022, 7:46 a.m. OK MS C++ 2017 TESTS 15 78 0 1200
154790432 theinvasian G April 23, 2022, 9:17 p.m. OK MS C++ 2017 TESTS 15 93 0 1200
154497364 markusb88 G April 22, 2022, 12:37 p.m. OK .NET Core C# TESTS 15 108 3072000 1200
154655249 edge555 G April 23, 2022, 12:22 p.m. OK .NET Core C# TESTS 15 748 3891200 1200
154792213 acorn11 G April 23, 2022, 9:53 p.m. OK PyPy 2 TESTS 15 156 2457600 1200
154626161 divyamkakkar24 G April 23, 2022, 6:51 a.m. OK PyPy 3 TESTS 15 218 9216000 1200
154638491 seraph14 G April 23, 2022, 9:15 a.m. OK PyPy 3 TESTS 15 218 9932800 1200
154778428 Marik007 G April 23, 2022, 6:12 p.m. OK PyPy 3 TESTS 15 233 9625600 1200
154498044 __J__ G April 22, 2022, 12:43 p.m. OK PyPy 3 TESTS 15 233 10547200 1200
154708270 osama_a_rehman G April 23, 2022, 2:21 p.m. OK PyPy 3 TESTS 15 280 8704000 1200
154837377 artifexbm G April 24, 2022, 10:30 a.m. OK PyPy 3 TESTS 15 280 74854400 1200
154558382 Anadi G April 22, 2022, 3:49 p.m. OK PyPy 3 TESTS 15 342 10444800 1200
154655961 swapnilsingh421 G April 23, 2022, 12:30 p.m. OK PyPy 3 TESTS 15 358 10649600 1200
154778353 pmarecki G April 23, 2022, 6:12 p.m. OK PyPy 3-64 TESTS 15 139 9932800 1200
154647700 De-Bug G April 23, 2022, 10:55 a.m. OK PyPy 3-64 TESTS 15 155 9830400 1200
154610310 EDCTY G April 23, 2022, 2:35 a.m. OK PyPy 3-64 TESTS 15 155 9830400 1200
154603249 MistaAsh G April 22, 2022, 11:09 p.m. OK PyPy 3-64 TESTS 15 171 9830400 1200
154498671 Dinoh_Sandys G April 22, 2022, 12:50 p.m. OK PyPy 3-64 TESTS 15 186 10854400 1200
154499380 Su_123 G April 22, 2022, 12:57 p.m. OK PyPy 3-64 TESTS 15 187 11878400 1200
154772471 Andrei_Kuz G April 23, 2022, 5:07 p.m. OK PyPy 3-64 TESTS 15 202 10444800 1200
154499150 Dinoh_Sandys G April 22, 2022, 12:55 p.m. OK PyPy 3-64 TESTS 15 202 10752000 1200
154617292 Kiri11 G April 23, 2022, 5:02 a.m. OK PyPy 3-64 TESTS 15 202 11673600 1200
154502068 nitish420 G April 22, 2022, 1:25 p.m. OK PyPy 3-64 TESTS 15 202 11980800 1200
154502220 koder_786 G April 22, 2022, 1:27 p.m. OK Python 3 TESTS 15 140 0 1200
154626195 divyamkakkar24 G April 23, 2022, 6:52 a.m. OK Python 3 TESTS 15 155 102400 1200
154656203 anishsan G April 23, 2022, 12:32 p.m. OK Python 3 TESTS 15 186 0 1200
154591728 coderbd G April 22, 2022, 7:24 p.m. OK Python 3 TESTS 15 187 0 1200
154796550 jamzz8 G April 23, 2022, 11:49 p.m. OK Python 3 TESTS 15 218 0 1200
154657367 karan_8082 G April 23, 2022, 12:37 p.m. OK Python 3 TESTS 15 218 0 1200
154651479 hnton211 G April 23, 2022, 11:38 a.m. OK Python 3 TESTS 15 420 307200 1200
154647119 sadikulsadi1500 G April 23, 2022, 10:49 a.m. OK Python 3 TESTS 15 467 0 1200
154652698 axe98 G April 23, 2022, 11:52 a.m. OK Python 3 TESTS 15 576 409600 1200
154809641 nutsjamie G April 24, 2022, 5:07 a.m. OK Python 3 TESTS 15 826 0 1200
154594521 DeadFox G April 22, 2022, 8:09 p.m. OK Rust 2021 TESTS 15 15 0 1200
154783670 RunGood G April 23, 2022, 7:23 p.m. OK Rust 2021 TESTS 15 15 307200 1200
154869575 mocobeta G April 24, 2022, 3:45 p.m. OK Rust 2021 TESTS 15 15 512000 1200
154878281 Hyrulia G April 24, 2022, 5:33 p.m. OK Rust 2021 TESTS 15 77 204800 1200

remove filters

Back to search problems