Codeforces Round 681 (Div. 1, based on VK Cup 2019-2020 - Final)

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
1442 Codeforces Round 681 (Div. 1, based on VK Cup 2019-2020 - Final) FINISHED False 7200 133025111 Nov. 2, 2020, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2382 ) D Sum PROGRAMMING data structures divide and conquer dp greedy

B"You are given n non-decreasing arrays of non-negative numbers. Vasya repeats the following operation k times: Vasya wants to maximize the sum of the elements in his pocket. The first line contains two integers n and k ( 1 <= n, k <= 3 ,000 ): the number of arrays and operations. Each of the next n lines contain an array. The first integer in each line is t_i ( 1 <= t_i <= 10^6 ): the size of the i -th array. The following t_i integers a_{i, j} ( 0 <= a_{i, 1} <= ldots <= a_{i, t_i} <= 10^8 ) are the elements of the i -th array. It is guaranteed that k <= sum limits_{i=1}^n t_i <= 10^6 . Print one integer: the maximum possible sum of all elements in Vasya's pocket after k operations. "...

Tutorials

84298

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
97494786 hos.lyric D Nov. 2, 2020, 5:15 p.m. OK D TESTS 46 592 54886400
97502879 srijon51 D Nov. 2, 2020, 6:36 p.m. OK GNU C11 TESTS 46 1170 0
97487260 CN_zwang2002 D Nov. 2, 2020, 4:24 p.m. OK GNU C++11 TESTS 46 187 6963200
97517750 starusc D Nov. 3, 2020, 1:34 a.m. OK GNU C++11 TESTS 46 187 8806400
97526747 luogu_bot2 D Nov. 3, 2020, 5:12 a.m. OK GNU C++11 TESTS 46 187 37171200
97517373 EmptySoulist D Nov. 3, 2020, 1:20 a.m. OK GNU C++11 TESTS 46 217 13619200
97469561 LJC00118 D Nov. 2, 2020, 3:41 p.m. OK GNU C++11 TESTS 46 218 4710400
97473292 Isonan D Nov. 2, 2020, 3:50 p.m. OK GNU C++11 TESTS 46 218 76697600
97517438 EmptySoulist D Nov. 3, 2020, 1:23 a.m. OK GNU C++11 TESTS 46 233 13619200
97518509 Mr_Eight D Nov. 3, 2020, 1:58 a.m. OK GNU C++11 TESTS 46 233 297267200
97515048 dqa2020 D Nov. 2, 2020, 11:41 p.m. OK GNU C++11 TESTS 46 249 8806400
97456546 xyz32768 D Nov. 2, 2020, 3:13 p.m. OK GNU C++11 TESTS 46 249 85708800
97519332 ugly2333 D Nov. 3, 2020, 2:25 a.m. OK GNU C++14 TESTS 46 389 13721600
97498389 dlalswp25 D Nov. 2, 2020, 5:45 p.m. OK GNU C++14 TESTS 46 390 7270400
97522476 Nero D Nov. 3, 2020, 3:34 a.m. OK GNU C++14 TESTS 46 452 7372800
97517660 StayAwayFromBitches D Nov. 3, 2020, 1:30 a.m. OK GNU C++14 TESTS 46 452 72704000
97484590 Nachia D Nov. 2, 2020, 4:17 p.m. OK GNU C++14 TESTS 46 452 80588800
97520087 kmjp D Nov. 3, 2020, 2:44 a.m. OK GNU C++14 TESTS 46 467 37785600
97511758 admirabilis D Nov. 2, 2020, 9:28 p.m. OK GNU C++14 TESTS 46 499 8806400
97521446 Cinnamoroll D Nov. 3, 2020, 3:12 a.m. OK GNU C++14 TESTS 46 514 81408000
97506557 danya090699 D Nov. 2, 2020, 7:32 p.m. OK GNU C++14 TESTS 46 529 77619200
97504357 NaimSS D Nov. 2, 2020, 6:58 p.m. OK GNU C++14 TESTS 46 577 8908800
97513923 LayCurse D Nov. 2, 2020, 10:50 p.m. OK GNU C++17 TESTS 46 171 15769600
97527750 yukihana0416 D Nov. 3, 2020, 5:30 a.m. OK GNU C++17 TESTS 46 187 16793600
97478208 Marcin_smu D Nov. 2, 2020, 4:01 p.m. OK GNU C++17 TESTS 46 390 8806400
97484493 I_love_chickpea D Nov. 2, 2020, 4:17 p.m. OK GNU C++17 TESTS 46 405 77107200
97498478 freak93 D Nov. 2, 2020, 5:46 p.m. OK GNU C++17 TESTS 46 420 8806400
97454149 neckborov D Nov. 2, 2020, 3:08 p.m. OK GNU C++17 TESTS 46 420 73011200
97499352 hank55663 D Nov. 2, 2020, 5:55 p.m. OK GNU C++17 TESTS 46 421 4915200
97479746 kdh9949 D Nov. 2, 2020, 4:05 p.m. OK GNU C++17 TESTS 46 421 13516800
97494877 cxaphoenix D Nov. 2, 2020, 5:16 p.m. OK GNU C++17 TESTS 46 421 20070400
97514680 blondie D Nov. 2, 2020, 11:25 p.m. OK GNU C++17 TESTS 46 421 72704000
97514861 neal D Nov. 2, 2020, 11:32 p.m. OK GNU C++17 (64) TESTS 46 109 9011200
97526775 vjudge3 D Nov. 3, 2020, 5:12 a.m. OK GNU C++17 (64) TESTS 46 109 37171200
97526751 memset0c D Nov. 3, 2020, 5:12 a.m. OK GNU C++17 (64) TESTS 46 109 37171200
97514880 neal D Nov. 2, 2020, 11:33 p.m. OK GNU C++17 (64) TESTS 46 124 9011200
97454688 maroonrk D Nov. 2, 2020, 3:09 p.m. OK GNU C++17 (64) TESTS 46 139 5120000
97513997 LayCurse D Nov. 2, 2020, 10:54 p.m. OK GNU C++17 (64) TESTS 46 155 15667200
97500228 Div4SucksLikeYourMum D Nov. 2, 2020, 6:04 p.m. OK GNU C++17 (64) TESTS 46 218 129228800
97498094 Ormlis D Nov. 2, 2020, 5:42 p.m. OK GNU C++17 (64) TESTS 46 233 5529600
97470422 neal D Nov. 2, 2020, 3:42 p.m. OK GNU C++17 (64) TESTS 46 233 9216000
97524169 kimoyami D Nov. 3, 2020, 4:17 a.m. OK GNU C++17 (64) TESTS 46 233 37171200
97470669 uwi D Nov. 2, 2020, 3:43 p.m. OK Java 11 TESTS 46 576 10137600
97525876 cwise D Nov. 3, 2020, 4:55 a.m. OK Java 8 TESTS 46 467 7475200
97512824 fetetriste D Nov. 2, 2020, 10:02 p.m. OK Java 8 TESTS 46 561 0
97489216 xtalclr D Nov. 2, 2020, 4:28 p.m. OK MS C++ 2017 TESTS 46 1107 149196800
97520002 sansen D Nov. 3, 2020, 2:42 a.m. OK Rust TESTS 46 312 25600000

remove filters

Back to search problems