Codeforces Round 620 (Div. 2)

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
1304 Codeforces Round 620 (Div. 2) FINISHED False 7200 150051299 Feb. 15, 2020, 1:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1779 ) F1 Animal Observation (easy version) PROGRAMMING data structures dp 2400

B"The only difference between easy and hard versions is the constraint on k . Gildong loves observing animals, so he bought two cameras to take videos of wild animals in a forest. The color of one camera is red, and the other one's color is blue. Gildong is going to take videos for n days, starting from day 1 to day n . The forest can be divided into m areas, numbered from 1 to m . He'll use the cameras in the following way: Each camera can observe k consecutive areas of the forest. For example, if m=5 and k=3 , he can put a camera to observe one of these three ranges of areas for two days: [1,3] , [2,4] , and [3,5] . Gildong got information about how many animals will be seen in each area each day. Since he would like to observe as many animals as possible, he wants you to find the best way to place the two cameras for n days. Note that if the two cameras are observing the same area on the same day, the animals observed in that area are counted only once. The first line contains three integers n , m , and k ( 1 <= n <= 50 , 1 <= m <= 2 cdot 10^4 , 1 <= k <= min(m,20) ) xe2 x80 x93 the number of days Gildong is going to record, the number of areas of the forest, and the range of the cameras, respectively. Next n lines contain m integers each. The j -th integer in the i+1 -st line is the number of animals that can be seen on the i -th day in the j -th area. Each number of animals is between 0 and 1000 , inclusive. Print one integer xe2 x80 x93 the maximum number of animals that can be observed. The optimal way to observe animals in the four examples are as follows: Example 1: Example 2: Example 3: Example 4: "...

Tutorials

Codeforces Round #620 (Div. 2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
71162702 ddytxdy F1 Feb. 15, 2020, 2:52 p.m. OK GNU C++11 TESTS 116 62 5120000 2400
71195587 YJJ_Konnyaku F1 Feb. 16, 2020, 4:30 a.m. OK GNU C++11 TESTS 116 62 13516800 2400
71194564 Sneakoscope F1 Feb. 16, 2020, 3:59 a.m. OK GNU C++11 TESTS 116 77 13516800 2400
71187890 sxyss F1 Feb. 15, 2020, 10:53 p.m. OK GNU C++11 TESTS 116 77 33484800 2400
71158852 AThousandMoon F1 Feb. 15, 2020, 2:38 p.m. OK GNU C++11 TESTS 116 78 12390400 2400
71200313 Rubblsh12345 F1 Feb. 16, 2020, 6:09 a.m. OK GNU C++11 TESTS 116 78 15052800 2400
71196108 AutumnKite F1 Feb. 16, 2020, 4:43 a.m. OK GNU C++11 TESTS 116 78 25497600 2400
71618502 LJb00131 F1 Feb. 22, 2020, 2:52 p.m. OK GNU C++11 TESTS 116 93 13414400 2400
71189593 YJJ_Konnyaku F1 Feb. 16, 2020, 12:29 a.m. OK GNU C++11 TESTS 116 93 22016000 2400
71162825 allfadeaway F1 Feb. 15, 2020, 2:52 p.m. OK GNU C++11 TESTS 116 93 22016000 2400
71399962 ShubhamAvasthi F1 Feb. 18, 2020, 7:07 p.m. OK GNU C++14 TESTS 116 218 8704000 2400
71165430 SidneyUranus F1 Feb. 15, 2020, 3:01 p.m. OK GNU C++14 TESTS 116 218 14438400 2400
71219956 NOI2021 F1 Feb. 16, 2020, 11:53 a.m. OK GNU C++14 TESTS 116 233 30003200 2400
71424351 gxucm F1 Feb. 19, 2020, 8:39 a.m. OK GNU C++14 TESTS 116 233 73011200 2400
71218019 FuckKrydom F1 Feb. 16, 2020, 11:16 a.m. OK GNU C++14 TESTS 116 249 9011200 2400
71234853 kartta080197 F1 Feb. 16, 2020, 4:31 p.m. OK GNU C++14 TESTS 116 249 10547200 2400
71170297 FastestFinger F1 Feb. 15, 2020, 4:48 p.m. OK GNU C++14 TESTS 116 249 11468800 2400
71251963 nimom F1 Feb. 17, 2020, 1:45 a.m. OK GNU C++14 TESTS 116 249 13414400 2400
71212155 linesekarenge F1 Feb. 16, 2020, 9:27 a.m. OK GNU C++14 TESTS 116 249 13414400 2400
71258932 coldEr66 F1 Feb. 17, 2020, 6 a.m. OK GNU C++14 TESTS 116 249 17612800 2400
71243125 neal F1 Feb. 16, 2020, 7:34 p.m. OK GNU C++17 TESTS 116 109 5734400 2400
71200279 jiangly F1 Feb. 16, 2020, 6:08 a.m. OK GNU C++17 TESTS 116 187 8396800 2400
71147511 jiangly F1 Feb. 15, 2020, 1:57 p.m. OK GNU C++17 TESTS 116 187 8396800 2400
71387574 idsigma F1 Feb. 18, 2020, 3:19 p.m. OK GNU C++17 TESTS 116 187 21401600 2400
71584870 antontrygubO_o F1 Feb. 22, 2020, 3:58 a.m. OK GNU C++17 TESTS 116 218 8806400 2400
71175404 andr0901 F1 Feb. 15, 2020, 5:50 p.m. OK GNU C++17 TESTS 116 218 8908800 2400
71212210 thtsshz_bgwrswh F1 Feb. 16, 2020, 9:28 a.m. OK GNU C++17 TESTS 116 218 13414400 2400
71246053 Veladus F1 Feb. 16, 2020, 8:58 p.m. OK GNU C++17 TESTS 116 218 15155200 2400
71170085 sempav F1 Feb. 15, 2020, 4:48 p.m. OK GNU C++17 TESTS 116 233 12697600 2400
71180712 KrK F1 Feb. 15, 2020, 7:27 p.m. OK GNU C++17 TESTS 116 233 13312000 2400
71170554 Jughead F1 Feb. 15, 2020, 4:50 p.m. OK Go TESTS 116 436 4608000 2400
71149474 uwi F1 Feb. 15, 2020, 2:03 p.m. OK Java 11 TESTS 116 343 17305600 2400
71156252 barakraganosungam F1 Feb. 15, 2020, 2:28 p.m. OK Java 8 TESTS 116 374 8704000 2400
71162765 Xylenox F1 Feb. 15, 2020, 2:52 p.m. OK Java 8 TESTS 116 561 13824000 2400
71210582 Hemose F1 Feb. 16, 2020, 9:02 a.m. OK Java 8 TESTS 116 1201 256614400 2400
71407022 YahiaSherif F1 Feb. 18, 2020, 11:14 p.m. OK Java 8 TESTS 116 1216 38502400 2400
71407035 YahiaSherif F1 Feb. 18, 2020, 11:14 p.m. OK Java 8 TESTS 116 1216 38604800 2400
71561848 gouh9qn F1 Feb. 21, 2020, 4:06 p.m. OK Java 8 TESTS 116 1263 18636800 2400
71184815 Smir F1 Feb. 15, 2020, 9:04 p.m. OK Java 8 TESTS 116 1825 2150400 2400
71163078 spar5h F1 Feb. 15, 2020, 2:53 p.m. OK Java 8 TESTS 116 1840 37478400 2400
71234990 Spheniscine F1 Feb. 16, 2020, 4:34 p.m. OK Kotlin TESTS 116 421 4096000 2400
71234895 Spheniscine F1 Feb. 16, 2020, 4:32 p.m. OK Kotlin TESTS 116 452 4096000 2400
71210866 Spheniscine F1 Feb. 16, 2020, 9:07 a.m. OK Kotlin TESTS 116 717 4300800 2400
71223279 Spheniscine F1 Feb. 16, 2020, 12:58 p.m. OK Kotlin TESTS 116 733 4300800 2400
71221699 vjudge2 F1 Feb. 16, 2020, 12:27 p.m. OK MS C++ 2017 TESTS 116 312 43622400 2400
71185700 lindlind F1 Feb. 15, 2020, 9:29 p.m. OK MS C++ 2017 TESTS 116 546 20787200 2400
71450486 Conar F1 Feb. 19, 2020, 4:35 p.m. OK MS C++ 2017 TESTS 116 655 9216000 2400
71448177 Conar F1 Feb. 19, 2020, 3:53 p.m. OK MS C++ 2017 TESTS 116 764 13619200 2400
71169899 youx F1 Feb. 15, 2020, 4:47 p.m. OK MS C++ 2017 TESTS 116 780 19968000 2400
71375018 q8514199 F1 Feb. 18, 2020, 12:12 p.m. OK MS C++ 2017 TESTS 116 795 22323200 2400
71533024 sansen F1 Feb. 21, 2020, 7:01 a.m. OK Rust TESTS 116 124 20787200 2400
71620126 mversic101 F1 Feb. 22, 2020, 3:28 p.m. OK Rust TESTS 116 171 15769600 2400

remove filters

Back to search problems