Codeforces Round 476 (Div. 2) [Thanks, Telegram!]

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
965 Codeforces Round 476 (Div. 2) [Thanks, Telegram!] FINISHED False 7200 207145499 April 25, 2018, 5:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3116 ) D Single-use Stones PROGRAMMING binary search flows greedy two pointers #secret#secret santa#Division by Two and Permutation 1900

B"A lot of frogs want to cross a river. A river is w units width, but frogs can only jump l units long, where l < w . Frogs can also jump on lengths shorter than l . but can't jump longer. Hopefully, there are some stones in the river to help them. The stones are located at integer distances from the banks. There are a_i stones at the distance of i units from the bank the frogs are currently at. Each stone can only be used once by one frog, after that it drowns in the water. What is the maximum number of frogs that can cross the river, given that then can only jump on the stones? The first line contains two integers w and l ( 1 <= l < w <= 10^5 ) -- the width of the river and the maximum length of a frog's jump. The second line contains w - 1 integers a_1, a_2, ldots, a_{w-1} ( 0 <= a_i <= 10^4 ), where a_i is the number of stones at the distance i from the bank the frogs are currently at. Print a single integer -- the maximum number of frogs that can cross the river. In the first sample two frogs can use the different stones at the distance 5 , and one frog can use the stones at the distances 3 and then 8 . In the second sample although there are two stones at the distance 5 , that does not help. The three paths are: 0 to 3 to 6 to 9 to 10 , 0 to 2 to 5 to 8 to 10 , 0 to 1 to 4 to 7 to 10 . "...

Tutorials

Analysis of Codeforces Round #476 (Div. 2) [Thanks, Telegram!]

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
38313608 admire.japan D May 16, 2018, 8:10 a.m. OK D TESTS 16 31 8601600 1900
69550121 rr_ D Jan. 26, 2020, 6:01 a.m. OK D TESTS 16 46 4198400 1900
37622349 cen D April 26, 2018, 1:06 a.m. OK D TESTS 16 46 4812800 1900
37617013 Glushen D April 25, 2018, 7:34 p.m. OK D TESTS 16 46 8601600 1900
37623781 ruban D April 26, 2018, 3:37 a.m. OK Delphi TESTS 16 31 32870400 1900
52486931 chaorenhaha D April 8, 2019, 9:32 a.m. OK FPC TESTS 16 30 819200 1900
52486922 chaorenhaha D April 8, 2019, 9:32 a.m. OK FPC TESTS 16 31 819200 1900
52486911 chaorenhaha D April 8, 2019, 9:31 a.m. OK FPC TESTS 16 31 1024000 1900
41566329 TShT D Aug. 13, 2018, 5:42 p.m. OK FPC TESTS 16 31 2457600 1900
46203503 ndhuy D Nov. 25, 2018, 12:54 p.m. OK FPC TESTS 16 46 921600 1900
44062670 chaorenhaha D Oct. 10, 2018, 7:05 a.m. OK FPC TESTS 16 46 1638400 1900
37613897 sansen D April 25, 2018, 7:03 p.m. OK GNU C TESTS 16 31 3686400 1900
37618578 _pepperoni D April 25, 2018, 8:24 p.m. OK GNU C TESTS 16 31 3891200 1900
37618407 _pepperoni D April 25, 2018, 8:18 p.m. OK GNU C TESTS 16 31 4403200 1900
37661090 boad D April 27, 2018, 12:47 p.m. OK GNU C TESTS 16 46 3686400 1900
37638561 MYNAMEISSHARIFUL D April 26, 2018, 1:50 p.m. OK GNU C TESTS 16 46 3686400 1900
37651100 Hardict D April 27, 2018, 4:43 a.m. OK GNU C TESTS 16 93 7475200 1900
39328141 menjiantong D June 17, 2018, 7:35 a.m. OK GNU C++ TESTS 16 15 409600 1900
38008549 vjudge4 D May 8, 2018, 12:08 a.m. OK GNU C++ TESTS 16 15 3891200 1900
37738418 stevenzheng2002 D April 30, 2018, 3:36 a.m. OK GNU C++ TESTS 16 15 3891200 1900
37616660 divakar_tomar D April 25, 2018, 7:31 p.m. OK GNU C++ TESTS 16 15 4300800 1900
39256349 vjudge1 D June 15, 2018, 3:15 a.m. OK GNU C++ TESTS 16 30 409600 1900
38564513 redbag D May 23, 2018, 2:08 p.m. OK GNU C++ TESTS 16 30 819200 1900
38339319 ILLENIUM D May 17, 2018, 6 a.m. OK GNU C++ TESTS 16 30 1843200 1900
37635643 JHD20052008 D April 26, 2018, 12:31 p.m. OK GNU C++ TESTS 16 30 3788800 1900
37623228 201502010200 D April 26, 2018, 2:35 a.m. OK GNU C++ TESTS 16 30 3891200 1900
37622186 HIT_Attacker D April 26, 2018, 12:48 a.m. OK GNU C++ TESTS 16 30 3891200 1900
54513615 sabbir006 D May 23, 2019, 8:33 a.m. OK GNU C11 TESTS 16 31 409600 1900
47839892 Sempr D Jan. 2, 2019, 11:12 a.m. OK GNU C11 TESTS 16 31 921600 1900
54513518 sabbir006 D May 23, 2019, 8:30 a.m. OK GNU C11 TESTS 16 46 409600 1900
39047708 vjudge3 D June 8, 2018, 1:43 p.m. OK GNU C++11 TESTS 16 15 1228800 1900
37643498 KSkun D April 26, 2018, 5:03 p.m. OK GNU C++11 TESTS 16 15 3788800 1900
37675207 251 D April 28, 2018, 3:07 a.m. OK GNU C++11 TESTS 16 30 3686400 1900
37690290 jumman11 D April 28, 2018, 3:50 p.m. OK GNU C++11 TESTS 16 30 3686400 1900
37738609 251 D April 30, 2018, 3:48 a.m. OK GNU C++11 TESTS 16 30 3686400 1900
37610026 Gioto D April 25, 2018, 6:20 p.m. OK GNU C++11 TESTS 16 30 3891200 1900
37815530 repstd D May 1, 2018, 3:25 p.m. OK GNU C++11 TESTS 16 30 3891200 1900
37683220 Lytning D April 28, 2018, 11:05 a.m. OK GNU C++11 TESTS 16 30 3891200 1900
37662349 Belgacem D April 27, 2018, 1:22 p.m. OK GNU C++11 TESTS 16 30 3891200 1900
37660990 skmonir D April 27, 2018, 12:43 p.m. OK GNU C++11 TESTS 16 30 4300800 1900
37706455 cuibst2 D April 29, 2018, 10:58 a.m. OK GNU C++14 TESTS 16 30 3788800 1900
37691436 Linkus D April 28, 2018, 4:40 p.m. OK GNU C++14 TESTS 16 30 6758400 1900
52551677 uccoa D April 10, 2019, 5:04 a.m. OK GNU C++14 TESTS 16 31 409600 1900
50266037 utkarsh39 D Feb. 21, 2019, 4:22 a.m. OK GNU C++14 TESTS 16 31 409600 1900
46749737 Cqt_Iostream D Dec. 8, 2018, 8:37 a.m. OK GNU C++14 TESTS 16 31 409600 1900
66292466 rennanrocha D Dec. 5, 2019, 12:29 a.m. OK GNU C++14 TESTS 16 31 409600 1900
43457935 Vitor.Guidi D Sept. 26, 2018, 3:48 p.m. OK GNU C++14 TESTS 16 31 409600 1900
43888147 introverted D Oct. 6, 2018, 8:21 a.m. OK GNU C++14 TESTS 16 31 409600 1900
61860633 bnmd D Oct. 4, 2019, 3:15 p.m. OK GNU C++14 TESTS 16 31 409600 1900
53006309 3015218054 D April 19, 2019, 9:45 a.m. OK GNU C++14 TESTS 16 31 409600 1900
59926741 lavin D Sept. 3, 2019, 4:35 a.m. OK GNU C++17 TESTS 16 30 7987200 1900
41317763 re_eVVorld D Aug. 7, 2018, 9:01 p.m. OK GNU C++17 TESTS 16 31 409600 1900
69175843 alexradu04 D Jan. 20, 2020, 8:04 a.m. OK GNU C++17 TESTS 16 31 409600 1900
59404761 z3r0dmg D Aug. 24, 2019, 1:28 p.m. OK GNU C++17 TESTS 16 31 409600 1900
57327038 Mcccree D July 19, 2019, 12:34 p.m. OK GNU C++17 TESTS 16 31 409600 1900
46853529 vjudge2 D Dec. 10, 2018, 1:31 p.m. OK GNU C++17 TESTS 16 31 409600 1900
41742965 AayushAC1998 D Aug. 18, 2018, 6:30 a.m. OK GNU C++17 TESTS 16 31 409600 1900
41253583 crathva D Aug. 5, 2018, 6:05 p.m. OK GNU C++17 TESTS 16 31 409600 1900
40114535 HuiBing D July 9, 2018, 1:49 p.m. OK GNU C++17 TESTS 16 31 409600 1900
65883428 Kenzo1114 D Nov. 27, 2019, 8:22 p.m. OK GNU C++17 TESTS 16 31 819200 1900
40187622 robot-dreams D July 11, 2018, 3:22 a.m. OK Go TESTS 16 46 5427200 1900
49812158 ViciousCoder D Feb. 12, 2019, 2:16 a.m. OK Java 8 TESTS 16 93 0 1900
51619578 mikkk D March 21, 2019, 1:46 p.m. OK Java 8 TESTS 16 109 0 1900
46274071 hongquanntct D Nov. 27, 2018, 10:21 a.m. OK Java 8 TESTS 16 109 0 1900
37619612 baobab D April 25, 2018, 9:08 p.m. OK Java 8 TESTS 16 109 20684800 1900
68675637 Hemose D Jan. 12, 2020, 6:30 p.m. OK Java 8 TESTS 16 124 0 1900
51418736 KulikAlex D March 17, 2019, 3:24 p.m. OK Java 8 TESTS 16 124 0 1900
69188268 cvnsaicharan D Jan. 20, 2020, 12:42 p.m. OK Java 8 TESTS 16 124 204800 1900
69188412 cvnsaicharan D Jan. 20, 2020, 12:45 p.m. OK Java 8 TESTS 16 124 307200 1900
38925779 flyman3046 D June 3, 2018, 4:20 p.m. OK Java 8 TESTS 16 124 20480000 1900
37860006 i_m_Shakil D May 3, 2018, 11:16 a.m. OK Java 8 TESTS 16 124 20684800 1900
37642242 nixmulta D April 26, 2018, 3:57 p.m. OK Mono C# TESTS 16 62 19251200 1900
42611041 vjudge3 D Sept. 7, 2018, 11:03 a.m. OK MS C++ TESTS 16 31 614400 1900
45450014 vjudge1 D Nov. 8, 2018, 3:27 p.m. OK MS C++ TESTS 16 31 819200 1900
39111094 vjudge5 D June 10, 2018, 11:32 a.m. OK MS C++ TESTS 16 31 819200 1900
39009717 vjudge4 D June 7, 2018, 5:44 a.m. OK MS C++ TESTS 16 31 819200 1900
37612726 Taube D April 25, 2018, 6:49 p.m. OK MS C++ TESTS 16 31 4300800 1900
37655912 merzgling D April 27, 2018, 9:40 a.m. OK MS C++ TESTS 16 31 4608000 1900
40562287 WangYuFengkk D July 20, 2018, 1:52 a.m. OK MS C++ TESTS 16 46 409600 1900
37622291 rkm0959 D April 26, 2018, 1:01 a.m. OK MS C++ TESTS 16 46 5324800 1900
56840394 vjudge3 D July 11, 2019, 11:13 a.m. OK MS C++ TESTS 16 62 1638400 1900
39047404 vjudge1 D June 8, 2018, 1:28 p.m. OK MS C++ TESTS 16 62 1638400 1900
64753345 sladkayaKlubnichka D Nov. 12, 2019, 4:01 p.m. OK MS C++ 2017 TESTS 16 78 409600 1900
54698580 YESMAths D May 26, 2019, 8:44 p.m. OK PyPy 2 TESTS 16 140 6451200 1900
37644385 anpans D April 26, 2018, 5:53 p.m. OK PyPy 2 TESTS 16 186 31129600 1900
37899059 neverwin D May 5, 2018, 7:40 a.m. OK PyPy 3 TESTS 16 155 28160000 1900
37917965 neverwin D May 6, 2018, 3:49 a.m. OK PyPy 3 TESTS 16 156 31948800 1900
68652002 Pandemic D Jan. 12, 2020, 11:03 a.m. OK PyPy 3 TESTS 16 171 10649600 1900
37613757 Candyman D April 25, 2018, 7:01 p.m. OK PyPy 3 TESTS 16 171 31334400 1900
62951253 slava2322 D Oct. 19, 2019, 6:55 p.m. OK PyPy 3 TESTS 16 187 10137600 1900
62950755 slava2322 D Oct. 19, 2019, 6:46 p.m. OK PyPy 3 TESTS 16 187 10240000 1900
42343666 sonya123 D Sept. 1, 2018, 7:07 p.m. OK PyPy 3 TESTS 16 187 10547200 1900
38435636 Ali_Pi D May 19, 2018, 3:36 p.m. OK Python 2 TESTS 16 187 5632000 1900
37618423 YazanRi D April 25, 2018, 8:18 p.m. OK Python 2 TESTS 16 187 11571200 1900
37623226 pavankatta D April 26, 2018, 2:34 a.m. OK Python 2 TESTS 16 234 11776000 1900
37675781 WNG D April 28, 2018, 4:11 a.m. OK Python 2 TESTS 16 452 12288000 1900
37616346 pyrus D April 25, 2018, 7:29 p.m. OK Python 3 TESTS 16 140 14028800 1900
52652255 vikash_kr D April 12, 2019, 5:10 p.m. OK Python 3 TESTS 16 155 6553600 1900
37849709 h0n3ybadg3r31337 D May 2, 2018, 9:30 p.m. OK Python 3 TESTS 16 155 14028800 1900
38013011 dke D May 8, 2018, 6:29 a.m. OK Python 3 TESTS 16 155 14336000 1900
37843956 Bamal D May 2, 2018, 3:19 p.m. OK Python 3 TESTS 16 155 14336000 1900
37927432 ad2313 D May 6, 2018, 11:36 a.m. OK Python 3 TESTS 16 155 15155200 1900
37836445 Paixao D May 2, 2018, 10:25 a.m. OK Python 3 TESTS 16 156 14438400 1900
64856591 IngaleAnkur10 D Nov. 13, 2019, 11:37 p.m. OK Python 3 TESTS 16 170 7782400 1900
40976426 flashbanger11 D July 30, 2018, 3:41 p.m. OK Python 3 TESTS 16 171 7372800 1900
37690844 hnko__ D April 28, 2018, 4:15 p.m. OK Python 3 TESTS 16 171 13721600 1900

remove filters

Back to search problems