Codeforces Round 871 (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
1829 Codeforces Round 871 (Div. 4) FINISHED False 8100 53882663 May 6, 2023, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 20971 ) E The Lakes PROGRAMMING dfs and similar ds graphs implementation 1100

B'You are given an n x m grid a of non-negative integers. The value a_{i,j} represents the depth of water at the i -th row and j -th column. A lake is a set of cells such that: The volume of a lake is the sum of depths of all the cells in the lake. Find the largest volume of a lake in the grid. The first line contains a single integer t ( 1 <= q t <= q 10^4 ) -- the number of test cases. The first line of each test case contains two integers n, m ( 1 <= q n, m <= q 1000 ) -- the number of rows and columns of the grid, respectively. Then n lines follow each with m integers a_{i,j} ( 0 <= q a_{i,j} <= q 1000 ) -- the depth of the water at each cell. It is guaranteed that the sum of n cdot m over all test cases does not exceed 10^6 . For each test case, output a single integer -- the largest volume of a lake in the grid. '...

Tutorials

Codeforces Round 871 (Div. 4) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
205842568 Chio E May 14, 2023, 2:31 p.m. OK C# 10 TESTS 29 233 73113600 1100
206091367 ApocalHyps E May 16, 2023, 1:13 p.m. OK GNU C11 TESTS 29 265 100864000 1100
205538317 Tom66 E May 12, 2023, 12:59 p.m. OK GNU C++14 TESTS 29 93 52121600 1100
206457301 Hypotenuse_legs E May 19, 2023, 2:28 p.m. OK GNU C++14 TESTS 29 249 4300800 1100
205731676 yzh007 E May 13, 2023, 2:48 p.m. OK GNU C++14 TESTS 29 249 9318400 1100
205913896 Amireza E May 14, 2023, 6:56 p.m. OK GNU C++14 TESTS 29 249 37068800 1100
205544252 fqEason E May 12, 2023, 1:52 p.m. OK GNU C++14 TESTS 29 264 20070400 1100
205819665 Badhon_1 E May 14, 2023, 10:24 a.m. OK GNU C++14 TESTS 29 264 68710400 1100
205794890 SirodgevAlexander_ E May 14, 2023, 6:52 a.m. OK GNU C++14 TESTS 29 264 88473600 1100
206456610 Spawnpoint E May 19, 2023, 2:21 p.m. OK GNU C++14 TESTS 29 264 112537600 1100
205731852 yzh007 E May 13, 2023, 2:50 p.m. OK GNU C++14 TESTS 29 265 9318400 1100
206303575 suru_korlam E May 18, 2023, 6:26 a.m. OK GNU C++14 TESTS 29 265 53043200 1100
206380694 Git17 E May 18, 2023, 7:20 p.m. OK GNU C++17 TESTS 29 217 13107200 1100
206184100 QWasERdf E May 17, 2023, 8:12 a.m. OK GNU C++17 TESTS 29 218 13312000 1100
206219754 MoeHammoud E May 17, 2023, 1:58 p.m. OK GNU C++17 TESTS 29 233 15974400 1100
206162260 UncleBobbyB E May 17, 2023, 12:38 a.m. OK GNU C++17 TESTS 29 234 8294400 1100
206329410 Git17 E May 18, 2023, 11:02 a.m. OK GNU C++17 TESTS 29 248 13107200 1100
206154952 Nayem_SWE_19 E May 16, 2023, 8:44 p.m. OK GNU C++17 TESTS 29 248 68505600 1100
206568934 AngrySeal E May 19, 2023, 8:39 p.m. OK GNU C++17 TESTS 29 249 4300800 1100
205695226 sashyko6343 E May 13, 2023, 8:52 a.m. OK GNU C++17 TESTS 29 249 7577600 1100
206218948 ihabawad757 E May 17, 2023, 1:51 p.m. OK GNU C++17 TESTS 29 249 15974400 1100
205984568 aniketabhiraj2004 E May 15, 2023, 1:07 p.m. OK GNU C++17 TESTS 29 249 33382400 1100
205742500 ABarnawal E May 13, 2023, 4:33 p.m. OK GNU C++17 (64) TESTS 29 155 8192000 1100
206222858 Zyras E May 17, 2023, 2:28 p.m. OK GNU C++17 (64) TESTS 29 156 24576000 1100
205719416 M-uwu E May 13, 2023, 12:48 p.m. OK GNU C++17 (64) TESTS 29 170 16076800 1100
206296880 Wmic. E May 18, 2023, 4:41 a.m. OK GNU C++17 (64) TESTS 29 171 8089600 1100
205528699 tan1shqc E May 12, 2023, 11:24 a.m. OK GNU C++17 (64) TESTS 29 186 5017600 1100
206324041 ZzMK E May 18, 2023, 10:08 a.m. OK GNU C++17 (64) TESTS 29 202 24166400 1100
205658616 Kamisora_cf E May 13, 2023, 1:45 a.m. OK GNU C++17 (64) TESTS 29 217 4505600 1100
206082455 vjudge4 E May 16, 2023, 11:55 a.m. OK GNU C++17 (64) TESTS 29 217 84070400 1100
206277274 RH_Shaudho E May 17, 2023, 7:40 p.m. OK GNU C++17 (64) TESTS 29 218 80179200 1100
206279789 mattagar6 E May 17, 2023, 8:29 p.m. OK GNU C++17 (64) TESTS 29 218 101068800 1100
206211944 c1120231020 E May 17, 2023, 12:49 p.m. OK GNU C++20 (64) TESTS 29 62 10342400 1100
206296835 Yanz E May 18, 2023, 4:41 a.m. OK GNU C++20 (64) TESTS 29 124 12288000 1100
205926498 juniorcompressor E May 14, 2023, 10:18 p.m. OK GNU C++20 (64) TESTS 29 139 12083200 1100
206180813 SolarRabbit E May 17, 2023, 7:34 a.m. OK GNU C++20 (64) TESTS 29 140 5017600 1100
205726947 sorry_xiaohuli E May 13, 2023, 2:01 p.m. OK GNU C++20 (64) TESTS 29 140 16384000 1100
206358125 Bhavesh_gurnani E May 18, 2023, 3:22 p.m. OK GNU C++20 (64) TESTS 29 140 22732800 1100
205771330 bkifhr6 E May 13, 2023, 11 p.m. OK GNU C++20 (64) TESTS 29 155 8089600 1100
206164525 nihaoakeke1 E May 17, 2023, 1:54 a.m. OK GNU C++20 (64) TESTS 29 155 32051200 1100
206209475 hubei_L E May 17, 2023, 12:27 p.m. OK GNU C++20 (64) TESTS 29 156 4710400 1100
206208863 cslgZ09322220 E May 17, 2023, 12:21 p.m. OK GNU C++20 (64) TESTS 29 156 5120000 1100
205814058 johnny16 E May 14, 2023, 9:35 a.m. OK Java 11 TESTS 29 296 0 1100
205826230 Anuj4072 E May 14, 2023, 11:32 a.m. OK Java 11 TESTS 29 311 62873600 1100
206075136 bhargavpoosa E May 16, 2023, 10:43 a.m. OK Java 11 TESTS 29 358 0 1100
206450067 kocko E May 19, 2023, 1:14 p.m. OK Java 11 TESTS 29 358 62771200 1100
206089446 tgd1115 E May 16, 2023, 12:56 p.m. OK Java 11 TESTS 29 421 62976000 1100
206391435 SriniV E May 18, 2023, 11:19 p.m. OK Java 11 TESTS 29 1185 47513600 1100
206071150 mikko_mikust E May 16, 2023, 10 a.m. OK Java 11 TESTS 29 1247 47616000 1100
205688264 autra_weiliu E May 13, 2023, 7:52 a.m. OK Java 11 TESTS 29 1310 0 1100
206254429 Vrutik_2809 E May 17, 2023, 5:12 p.m. OK Java 17 TESTS 29 265 6656000 1100
206284655 burning_summer E May 17, 2023, 10:57 p.m. OK Java 17 TESTS 29 467 614400 1100
206048645 Srisaivamshi E May 16, 2023, 5:21 a.m. OK Java 17 TESTS 29 483 819200 1100
205907924 mcrash12 E May 14, 2023, 5:59 p.m. OK Java 17 TESTS 29 623 512000 1100
206255749 pavelputin03 E May 17, 2023, 5:29 p.m. OK Java 17 TESTS 29 1154 116633600 1100
206168115 hai.le E May 17, 2023, 3:29 a.m. OK Java 17 TESTS 29 1450 1024000 1100
205734556 palak_05 E May 13, 2023, 3:15 p.m. OK Java 17 TESTS 29 1466 48640000 1100
206042158 rorito_199 E May 16, 2023, 3:20 a.m. OK Java 17 TESTS 29 1497 921600 1100
205725591 goalboy E May 13, 2023, 1:45 p.m. OK Java 17 TESTS 29 1559 614400 1100
205816093 vjudge5 E May 14, 2023, 9:54 a.m. OK Java 8 TESTS 29 342 61542400 1100
205696580 kkyb E May 13, 2023, 9:04 a.m. OK Java 8 TESTS 29 482 54784000 1100
206410911 arun_coder E May 19, 2023, 6:29 a.m. OK Java 8 TESTS 29 1153 0 1100
206071116 mikko_mikust E May 16, 2023, 10 a.m. OK Java 8 TESTS 29 1216 46489600 1100
206199168 _its.abhinav_ E May 17, 2023, 10:54 a.m. OK Java 8 TESTS 29 1216 62464000 1100
205836933 pandoomanda E May 14, 2023, 1:27 p.m. OK Kotlin 1.6 TESTS 29 686 20992000 1100
205868793 lungualex00 E May 14, 2023, 3:05 p.m. OK Kotlin 1.7 TESTS 29 1013 168448000 1100
205867071 lungualex00 E May 14, 2023, 3:02 p.m. OK Kotlin 1.7 TESTS 29 1045 167014400 1100
205851328 lungualex00 E May 14, 2023, 2:42 p.m. OK Kotlin 1.7 TESTS 29 1169 163328000 1100
205865665 lungualex00 E May 14, 2023, 3 p.m. OK Kotlin 1.7 TESTS 29 1325 165171200 1100
205697784 stillnotyet E May 13, 2023, 9:15 a.m. OK Kotlin 1.7 TESTS 29 1450 185344000 1100
206375860 GusztavSzmolik E May 18, 2023, 6:20 p.m. OK Mono C# TESTS 29 342 5324800 1100
205909906 helenmie E May 14, 2023, 6:23 p.m. OK MS C++ 2017 TESTS 29 655 8089600 1100
206054026 minhazn088 E May 16, 2023, 6:38 a.m. OK MS C++ 2017 TESTS 29 701 33075200 1100
205778600 bkifhr8 E May 14, 2023, 3:10 a.m. OK MS C++ 2017 TESTS 29 1309 96563200 1100
205778630 vjudge1 E May 14, 2023, 3:11 a.m. OK MS C++ 2017 TESTS 29 1310 96563200 1100
205742919 bkifhr10 E May 13, 2023, 4:38 p.m. OK MS C++ 2017 TESTS 29 1341 96563200 1100
205684568 vjudge5 E May 13, 2023, 7:18 a.m. OK MS C++ 2017 TESTS 29 1341 96563200 1100
205930613 whoami096 E May 15, 2023, 12:41 a.m. OK PyPy 3 TESTS 29 1294 53555200 1100
206390337 Liberator187 E May 18, 2023, 10:37 p.m. OK PyPy 3 TESTS 29 1965 162406400 1100
205701472 thuonguyenvan E May 13, 2023, 9:51 a.m. OK PyPy 3-64 TESTS 29 514 56115200 1100
206391195 voicon E May 18, 2023, 11:09 p.m. OK PyPy 3-64 TESTS 29 546 184422400 1100
206381768 pygasuss E May 18, 2023, 7:34 p.m. OK PyPy 3-64 TESTS 29 576 47923200 1100
205824307 poornaTheja E May 14, 2023, 11:08 a.m. OK PyPy 3-64 TESTS 29 592 31232000 1100
205819271 Arnoob2120 E May 14, 2023, 10:20 a.m. OK PyPy 3-64 TESTS 29 592 102297600 1100
206058799 AyuAnchor E May 16, 2023, 7:40 a.m. OK PyPy 3-64 TESTS 29 607 158003200 1100
206037439 s_prateek26 E May 16, 2023, 1:14 a.m. OK PyPy 3-64 TESTS 29 686 90316800 1100
205669476 AAE E May 13, 2023, 4:51 a.m. OK PyPy 3-64 TESTS 29 935 250163200 1100
206018035 mars4 E May 15, 2023, 6:09 p.m. OK PyPy 3-64 TESTS 29 1403 41574400 1100
206365204 yohanse_mehabaw E May 18, 2023, 4:30 p.m. OK PyPy 3-64 TESTS 29 1418 129331200 1100
205533642 wzl722 E May 12, 2023, 12:17 p.m. OK Python 3 TESTS 29 1543 44953600 1100
205910576 mohammadfrp E May 14, 2023, 6:28 p.m. OK Python 3 TESTS 29 1606 75776000 1100
206155694 Jopson E May 16, 2023, 8:58 p.m. OK Python 3 TESTS 29 2105 43315200 1100
205774907 vjudge3 E May 14, 2023, 1:24 a.m. OK Python 3 TESTS 29 2215 52121600 1100
205629951 beautifulworld E May 12, 2023, 5:51 p.m. OK Python 3 TESTS 29 2230 52019200 1100
205769839 vjudge1 E May 13, 2023, 10:12 p.m. OK Python 3 TESTS 29 2245 52121600 1100
205965095 ernanu1 E May 15, 2023, 9:55 a.m. OK Python 3 TESTS 29 2246 52121600 1100
206077412 2000030996-akanksha E May 16, 2023, 11:06 a.m. OK Python 3 TESTS 29 2261 76492800 1100
205543377 mohsen.pers E May 12, 2023, 1:44 p.m. OK Python 3 TESTS 29 2262 52428800 1100
205890806 xlk E May 14, 2023, 3:58 p.m. OK Python 3 TESTS 29 2293 76492800 1100

remove filters

Back to search problems