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
( 49886 ) B Blank Space PROGRAMMING implementation 800

B'You are given a binary array a of n elements, a binary array is an array consisting only of 0 s and 1 s. A blank space is a segment of consecutive elements consisting of only 0 s. Your task is to find the length of the longest blank space. The first line contains a single integer t ( 1 <= q t <= q 1000 ) -- the number of test cases. The first line of each test case contains a single integer n ( 1 <= q n <= q 100 ) -- the length of the array. The second line of each test case contains n space-separated integers a_i ( 0 <= q a_i <= q 1 ) -- the elements of the array. For each test case, output a single integer -- the length of the longest blank space. '...

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
206380831 m1_k3 B May 18, 2023, 7:22 p.m. OK C# 10 TESTS 5 46 204800 800
206382060 mumiakk B May 18, 2023, 7:39 p.m. OK C# 10 TESTS 5 46 716800 800
206329099 ayoya.98 B May 18, 2023, 10:59 a.m. OK C# 8 TESTS 5 155 2867200 800
205802593 dogface B May 14, 2023, 7:58 a.m. OK Clang++17 Diagnostics TESTS 5 31 0 800
205669585 vjudge2 B May 13, 2023, 4:52 a.m. OK Clang++17 Diagnostics TESTS 5 46 0 800
205670184 vjudge4 B May 13, 2023, 5:01 a.m. OK Clang++17 Diagnostics TESTS 5 46 0 800
205670197 bkifhr9 B May 13, 2023, 5:01 a.m. OK Clang++17 Diagnostics TESTS 5 124 0 800
206013105 bkifhr10 B May 15, 2023, 5:15 p.m. OK Clang++17 Diagnostics TESTS 5 249 0 800
205668521 vjudge3 B May 13, 2023, 4:37 a.m. OK Clang++17 Diagnostics TESTS 5 264 0 800
205668463 vjudge2 B May 13, 2023, 4:36 a.m. OK Clang++17 Diagnostics TESTS 5 264 0 800
205668093 2000031101_Satwika B May 13, 2023, 4:31 a.m. OK Clang++17 Diagnostics TESTS 5 264 2048000 800
206448921 zerobyzeroe B May 19, 2023, 1:02 p.m. OK Clang++17 Diagnostics TESTS 5 280 0 800
206011043 vjudge3 B May 15, 2023, 4:54 p.m. OK Clang++17 Diagnostics TESTS 5 280 0 800
205695423 vjudge5 B May 13, 2023, 8:54 a.m. OK Clang++20 Diagnostics TESTS 5 46 0 800
205669935 vjudge1 B May 13, 2023, 4:57 a.m. OK Clang++20 Diagnostics TESTS 5 93 2048000 800
205669629 vjudge1 B May 13, 2023, 4:53 a.m. OK Clang++20 Diagnostics TESTS 5 108 0 800
206003460 visitor031 B May 15, 2023, 3:35 p.m. OK Clang++20 Diagnostics TESTS 5 218 0 800
206003396 visitor031 B May 15, 2023, 3:34 p.m. OK Clang++20 Diagnostics TESTS 5 249 0 800
206360484 bkifhr6 B May 18, 2023, 3:43 p.m. OK Clang++20 Diagnostics TESTS 5 264 0 800
206450138 Agin B May 19, 2023, 1:14 p.m. OK Clang++20 Diagnostics TESTS 5 280 0 800
206101406 ersan B May 16, 2023, 2:45 p.m. OK Clang++20 Diagnostics TESTS 5 280 0 800
205668810 bkifhr9 B May 13, 2023, 4:41 a.m. OK Clang++20 Diagnostics TESTS 5 280 0 800
205668632 vjudge3 B May 13, 2023, 4:39 a.m. OK Clang++20 Diagnostics TESTS 5 280 0 800
206433643 weda9117 B May 19, 2023, 10:25 a.m. OK GNU C11 TESTS 5 15 0 800
206074205 rockstarman957 B May 16, 2023, 10:33 a.m. OK GNU C11 TESTS 5 15 0 800
206343095 antu21 B May 18, 2023, 1:06 p.m. OK GNU C11 TESTS 5 15 0 800
206380511 arafathridit2004 B May 18, 2023, 7:17 p.m. OK GNU C11 TESTS 5 15 0 800
206430205 Divya_Kumar B May 19, 2023, 9:50 a.m. OK GNU C11 TESTS 5 15 0 800
205909734 noobnocap B May 14, 2023, 6:21 p.m. OK GNU C11 TESTS 5 15 0 800
206547142 softslayer B May 19, 2023, 5:06 p.m. OK GNU C11 TESTS 5 15 0 800
206554487 samudramazumder B May 19, 2023, 5:38 p.m. OK GNU C11 TESTS 5 15 0 800
206312032 sahmanojkumar1976 B May 18, 2023, 8:06 a.m. OK GNU C11 TESTS 5 30 0 800
206449925 sami38596 B May 19, 2023, 1:12 p.m. OK GNU C11 TESTS 5 30 0 800
205783036 vjudge5 B May 14, 2023, 4:39 a.m. OK GNU C++14 TESTS 5 0 0 800
206221174 qqyyll-29 B May 17, 2023, 2:13 p.m. OK GNU C++14 TESTS 5 15 0 800
206250371 B2Tyson B May 17, 2023, 4:26 p.m. OK GNU C++14 TESTS 5 15 0 800
206193188 2000030090 B May 17, 2023, 9:48 a.m. OK GNU C++14 TESTS 5 15 0 800
206450732 adhm157 B May 19, 2023, 1:21 p.m. OK GNU C++14 TESTS 5 15 0 800
206561164 redashabbir00 B May 19, 2023, 6:49 p.m. OK GNU C++14 TESTS 5 15 0 800
206574439 wyh20110413 B May 19, 2023, 11:04 p.m. OK GNU C++14 TESTS 5 15 0 800
206290813 azusa0215 B May 18, 2023, 2:30 a.m. OK GNU C++14 TESTS 5 15 0 800
206175786 luogu_bot4 B May 17, 2023, 6:33 a.m. OK GNU C++14 TESTS 5 15 0 800
206211164 Royo B May 17, 2023, 12:42 p.m. OK GNU C++14 TESTS 5 15 0 800
205987691 Nutarum B May 15, 2023, 1:21 p.m. OK GNU C++17 TESTS 5 0 0 800
206575079 akashrajnitrr B May 19, 2023, 11:26 p.m. OK GNU C++17 TESTS 5 0 102400 800
206353271 CrescentX B May 18, 2023, 2:36 p.m. OK GNU C++17 TESTS 5 15 0 800
206435858 LogicFlowz B May 19, 2023, 10:50 a.m. OK GNU C++17 TESTS 5 15 0 800
206426577 xuhe B May 19, 2023, 9:15 a.m. OK GNU C++17 TESTS 5 15 0 800
206411210 mkt123456 B May 19, 2023, 6:33 a.m. OK GNU C++17 TESTS 5 15 0 800
206409170 rajeev_r_6656 B May 19, 2023, 6:07 a.m. OK GNU C++17 TESTS 5 15 0 800
206382444 MacAndCheese29 B May 18, 2023, 7:45 p.m. OK GNU C++17 TESTS 5 15 0 800
206330857 GoodPlusPlus B May 18, 2023, 11:15 a.m. OK GNU C++17 TESTS 5 15 0 800
206291501 Truro07 B May 18, 2023, 2:46 a.m. OK GNU C++17 TESTS 5 15 0 800
206338382 SyruLoveNewTechnology B May 18, 2023, 12:20 p.m. OK GNU C++17 (64) TESTS 5 0 0 800
206294630 Hangbust B May 18, 2023, 3:53 a.m. OK GNU C++17 (64) TESTS 5 15 0 800
206295149 Aldiyar-A-27-OSK-BIL B May 18, 2023, 4:05 a.m. OK GNU C++17 (64) TESTS 5 15 0 800
206378127 mircea_007 B May 18, 2023, 6:45 p.m. OK GNU C++17 (64) TESTS 5 15 0 800
206444812 arpitblagan27 B May 19, 2023, 12:23 p.m. OK GNU C++17 (64) TESTS 5 15 0 800
206441949 ZzMK B May 19, 2023, 11:54 a.m. OK GNU C++17 (64) TESTS 5 15 0 800
206432023 ThePhysicistOrg B May 19, 2023, 10:08 a.m. OK GNU C++17 (64) TESTS 5 15 0 800
206425870 Chinayz B May 19, 2023, 9:08 a.m. OK GNU C++17 (64) TESTS 5 15 0 800
206251967 tranducphuc B May 17, 2023, 4:44 p.m. OK GNU C++17 (64) TESTS 5 15 0 800
206410579 bkifhr9 B May 19, 2023, 6:25 a.m. OK GNU C++17 (64) TESTS 5 15 0 800
206439131 sharmalokesh B May 19, 2023, 11:25 a.m. OK GNU C++20 (64) TESTS 5 0 0 800
206285566 The_President B May 17, 2023, 11:36 p.m. OK GNU C++20 (64) TESTS 5 0 0 800
206284063 ShenodaAdel B May 17, 2023, 10:32 p.m. OK GNU C++20 (64) TESTS 5 0 0 800
205906492 _Ahmed_Maher_ B May 14, 2023, 5:42 p.m. OK GNU C++20 (64) TESTS 5 0 0 800
206208278 c1120231020 B May 17, 2023, 12:15 p.m. OK GNU C++20 (64) TESTS 5 0 4096000 800
206442111 awskhalil999 B May 19, 2023, 11:56 a.m. OK GNU C++20 (64) TESTS 5 15 0 800
206451630 Chaitanyasambangi B May 19, 2023, 1:29 p.m. OK GNU C++20 (64) TESTS 5 15 0 800
206517555 Platon_rumilov B May 19, 2023, 3:53 p.m. OK GNU C++20 (64) TESTS 5 15 0 800
206576858 Jorge_slime B May 20, 2023, 12:35 a.m. OK GNU C++20 (64) TESTS 5 15 0 800
206578084 N_Speed B May 20, 2023, 1:12 a.m. OK GNU C++20 (64) TESTS 5 15 0 800
206214317 KreanXie B May 17, 2023, 1:10 p.m. OK Go TESTS 5 30 921600 800
205909820 akulenok B May 14, 2023, 6:22 p.m. OK Go TESTS 5 545 4300800 800
206445638 1091796968XZY B May 19, 2023, 12:30 p.m. OK Go TESTS 5 592 4198400 800
206557048 Ziyao B May 19, 2023, 6:03 p.m. OK Haskell TESTS 5 30 0 800
206552530 DarkMatter1905 B May 19, 2023, 5:21 p.m. OK Java 11 TESTS 5 155 0 800
206453863 grandeur19919 B May 19, 2023, 1:52 p.m. OK Java 11 TESTS 5 171 0 800
206425709 kocko B May 19, 2023, 9:07 a.m. OK Java 11 TESTS 5 171 0 800
205821915 Anuj4072 B May 14, 2023, 10:44 a.m. OK Java 11 TESTS 5 186 0 800
206099545 lujay7 B May 16, 2023, 2:27 p.m. OK Java 11 TESTS 5 202 0 800
205806400 johnny16 B May 14, 2023, 8:30 a.m. OK Java 11 TESTS 5 202 0 800
206081353 jiudge4 B May 16, 2023, 11:45 a.m. OK Java 11 TESTS 5 264 0 800
205758201 vaibhav20257 B May 13, 2023, 7:12 p.m. OK Java 11 TESTS 5 264 0 800
205628073 Kamal_Kumar11 B May 12, 2023, 5:37 p.m. OK Java 11 TESTS 5 264 0 800
205770889 HarshitaJ B May 13, 2023, 10:45 p.m. OK Java 11 TESTS 5 265 0 800
206220230 Vrutik_2809 B May 17, 2023, 2:03 p.m. OK Java 17 TESTS 5 155 204800 800
206004661 varunsh17 B May 15, 2023, 3:47 p.m. OK Java 17 TESTS 5 156 0 800
206445265 OBrutus B May 19, 2023, 12:27 p.m. OK Java 17 TESTS 5 187 307200 800
206216684 burning_summer B May 17, 2023, 1:30 p.m. OK Java 17 TESTS 5 202 512000 800
206100777 pavelputin03 B May 16, 2023, 2:39 p.m. OK Java 17 TESTS 5 218 102400 800
206559327 law.18IC B May 19, 2023, 6:27 p.m. OK Java 17 TESTS 5 264 0 800
205676578 Eshan_Karia B May 13, 2023, 6:11 a.m. OK Java 17 TESTS 5 264 0 800
205840757 mikko_mikust B May 14, 2023, 2:10 p.m. OK Java 17 TESTS 5 264 409600 800
205756566 boberbober8083 B May 13, 2023, 6:54 p.m. OK Java 17 TESTS 5 264 409600 800
206290584 sbarreto B May 18, 2023, 2:25 a.m. OK Java 17 TESTS 5 264 819200 800
206434830 Yi_ling233 B May 19, 2023, 10:38 a.m. OK Java 8 TESTS 5 109 0 800
206165315 madhav2800 B May 17, 2023, 2:16 a.m. OK Java 8 TESTS 5 109 0 800
206170941 Sadler_H B May 17, 2023, 4:41 a.m. OK Java 8 TESTS 5 124 0 800
206076664 tgd1115 B May 16, 2023, 10:57 a.m. OK Java 8 TESTS 5 124 0 800
205681201 kkyb B May 13, 2023, 6:50 a.m. OK Java 8 TESTS 5 124 0 800
205618259 scor32k B May 12, 2023, 4:35 p.m. OK Java 8 TESTS 5 124 0 800
205748551 Superarash B May 13, 2023, 5:33 p.m. OK Java 8 TESTS 5 156 0 800
206132006 zeelpokar1234 B May 16, 2023, 4:09 p.m. OK Java 8 TESTS 5 186 0 800
206577452 bkifhr7 B May 20, 2023, 12:54 a.m. OK Java 8 TESTS 5 202 0 800
206574810 vjudge3 B May 19, 2023, 11:16 p.m. OK Java 8 TESTS 5 202 0 800
205839693 sanaz B May 14, 2023, 1:58 p.m. OK JavaScript TESTS 5 31 1331200 800
205916562 oowoo B May 14, 2023, 7:26 p.m. OK JavaScript TESTS 5 46 1228800 800
205766675 kerbes B May 13, 2023, 9:04 p.m. OK JavaScript TESTS 5 46 1536000 800
205790513 lungualex00 B May 14, 2023, 6:13 a.m. OK Kotlin 1.7 TESTS 5 327 19660800 800
205537817 starHamster B May 12, 2023, 12:55 p.m. OK Kotlin 1.7 TESTS 5 373 22220800 800
206448827 1733 B May 19, 2023, 1:01 p.m. OK MS C++ 2017 TESTS 5 15 0 800
206365165 KarkiAayush01 B May 18, 2023, 4:30 p.m. OK MS C++ 2017 TESTS 5 46 0 800
206356187 tiaugusto B May 18, 2023, 3:03 p.m. OK MS C++ 2017 TESTS 5 46 0 800
206052002 Pranay32 B May 16, 2023, 6:12 a.m. OK MS C++ 2017 TESTS 5 46 0 800
206408738 vjudge1 B May 19, 2023, 6:01 a.m. OK MS C++ 2017 TESTS 5 62 0 800
206408722 tiaugusto B May 19, 2023, 6:01 a.m. OK MS C++ 2017 TESTS 5 62 0 800
206338128 _jriitd B May 18, 2023, 12:18 p.m. OK MS C++ 2017 TESTS 5 62 0 800
205955422 Rafie78 B May 15, 2023, 8:07 a.m. OK MS C++ 2017 TESTS 5 62 0 800
205922759 hellomet B May 14, 2023, 8:53 p.m. OK MS C++ 2017 TESTS 5 62 0 800
205920101 InterstellarGuo B May 14, 2023, 8:12 p.m. OK MS C++ 2017 TESTS 5 62 0 800
206193911 vjudge3 B May 17, 2023, 9:56 a.m. OK Node.js TESTS 5 77 4198400 800
206197328 bkifhr9 B May 17, 2023, 10:34 a.m. OK Node.js TESTS 5 77 4300800 800
206194448 vjudge2 B May 17, 2023, 10:02 a.m. OK Node.js TESTS 5 78 4198400 800
206175614 vjudge5 B May 17, 2023, 6:32 a.m. OK Node.js TESTS 5 108 2560000 800
205939611 neerajam B May 15, 2023, 4:18 a.m. OK PyPy 3 TESTS 5 92 3072000 800
206316430 soudhamini_2000031088 B May 18, 2023, 8:52 a.m. OK PyPy 3 TESTS 5 109 3072000 800
206389531 Liberator187 B May 18, 2023, 10:08 p.m. OK PyPy 3 TESTS 5 124 2662400 800
205541721 bluexleoxgreen B May 12, 2023, 1:29 p.m. OK PyPy 3 TESTS 5 155 5017600 800
205641464 SlayerOfShit B May 12, 2023, 7:36 p.m. OK PyPy 3 TESTS 5 155 5120000 800
205763395 ipip B May 13, 2023, 8:16 p.m. OK PyPy 3 TESTS 5 170 5120000 800
206409830 Kudonix B May 19, 2023, 6:15 a.m. OK PyPy 3 TESTS 5 170 5734400 800
205826465 ashwaththama B May 14, 2023, 11:35 a.m. OK PyPy 3 TESTS 5 170 5836800 800
206220531 a007tosh_ B May 17, 2023, 2:06 p.m. OK PyPy 3 TESTS 5 171 5632000 800
205929793 whoami096 B May 15, 2023, 12:13 a.m. OK PyPy 3 TESTS 5 171 5632000 800
206390417 voicon B May 18, 2023, 10:40 p.m. OK PyPy 3-64 TESTS 5 77 2969600 800
206313842 klu2000031511 B May 18, 2023, 8:26 a.m. OK PyPy 3-64 TESTS 5 77 3072000 800
206046233 Mc_mulyanskyi B May 16, 2023, 4:43 a.m. OK PyPy 3-64 TESTS 5 77 3072000 800
206102864 practiceaccount76 B May 16, 2023, 2:59 p.m. OK PyPy 3-64 TESTS 5 77 3174400 800
206281649 pygasuss B May 17, 2023, 9:15 p.m. OK PyPy 3-64 TESTS 5 92 4403200 800
206293576 rowl_of_bice B May 18, 2023, 3:32 a.m. OK PyPy 3-64 TESTS 5 93 4198400 800
206404185 ZaeThrix B May 19, 2023, 4:51 a.m. OK PyPy 3-64 TESTS 5 93 4505600 800
205758625 sangeeta B May 13, 2023, 7:17 p.m. OK PyPy 3-64 TESTS 5 93 5939200 800
205624803 s945958 B May 12, 2023, 5:13 p.m. OK PyPy 3-64 TESTS 5 108 4403200 800
206387325 xccn B May 18, 2023, 9:06 p.m. OK PyPy 3-64 TESTS 5 109 6246400 800
206577090 abhinavu B May 20, 2023, 12:43 a.m. OK Python 3 TESTS 5 31 0 800
205880732 xlk B May 14, 2023, 3:29 p.m. OK Python 3 TESTS 5 31 0 800
205837499 ingus-t B May 14, 2023, 1:34 p.m. OK Python 3 TESTS 5 31 0 800
206443400 2100030666.cseh B May 19, 2023, 12:08 p.m. OK Python 3 TESTS 5 31 102400 800
206318713 2000031264 B May 18, 2023, 9:14 a.m. OK Python 3 TESTS 5 31 102400 800
206077734 2000030996-akanksha B May 16, 2023, 11:09 a.m. OK Python 3 TESTS 5 31 102400 800
205943571 sasisushma B May 15, 2023, 5:25 a.m. OK Python 3 TESTS 5 31 102400 800
205844441 srinija_chowdary9 B May 14, 2023, 2:37 p.m. OK Python 3 TESTS 5 31 102400 800
206184368 sergeantsnape B May 17, 2023, 8:16 a.m. OK Python 3 TESTS 5 31 204800 800
206440290 Xluuuu B May 19, 2023, 11:37 a.m. OK Python 3 TESTS 5 46 0 800
206189270 amazing-hash B May 17, 2023, 9:08 a.m. OK Rust 2021 TESTS 5 0 102400 800
206024829 zeth48 B May 15, 2023, 7:34 p.m. OK Rust 2021 TESTS 5 15 0 800
205987609 5I7Coding B May 15, 2023, 1:20 p.m. OK Rust 2021 TESTS 5 15 0 800
206089263 vjudge4 B May 16, 2023, 12:54 p.m. OK Rust 2021 TESTS 5 31 0 800
205641911 TeeJay_0 B May 12, 2023, 7:41 p.m. OK Rust 2021 TESTS 5 31 0 800

remove filters

Back to search problems