Manthan, Codefest 19 (open for everyone, rated, Div. 1 + 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
1208 Manthan, Codefest 19 (open for everyone, rated, Div. 1 + Div. 2) FINISHED False 7500 165079499 Aug. 25, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2048 ) E Let Them Slide PROGRAMMING data structures implementation 2200

B'You are given n arrays that can have different sizes. You also have a table with w columns and n rows. The i -th array is placed horizontally in the i -th row. You can slide each array within its row as long as it occupies several consecutive cells and lies completely inside the table. You need to find the maximum sum of the integers in the j -th column for each j from 1 to w independently. Note that you can exclude any array out of a column provided it remains in the window. In this case its value is considered to be zero. The first line contains two integers n ( 1 <= n <= 10^{6} ) and w ( 1 <= w <= 10^{6} ) -- the number of arrays and the width of the table. Each of the next n lines consists of an integer l_{i} ( 1 <= l_{i} <= w ), the length of the i -th array, followed by l_{i} integers a_{i1}, a_{i2}, ldots, a_{il_i} ( -10^{9} <= a_{ij} <= 10^{9} ) -- the elements of the array. The total length of the arrays does no exceed 10^{6} . Print w integers, the i -th of them should be the maximum sum for column i . Illustration for the first example is in the statement. '...

Tutorials

69357

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
59504991 Frame233 E Aug. 26, 2019, 5:35 a.m. OK GNU C++11 TESTS 49 326 91340800 2200
59481511 Frame233 E Aug. 25, 2019, 4:28 p.m. OK GNU C++11 TESTS 49 327 91340800 2200
59482283 YLWang E Aug. 25, 2019, 4:31 p.m. OK GNU C++11 TESTS 49 343 91340800 2200
59481354 _Frame. E Aug. 25, 2019, 4:27 p.m. OK GNU C++11 TESTS 49 374 91340800 2200
59613979 Immortal.S E Aug. 28, 2019, 11:58 a.m. OK GNU C++11 TESTS 49 390 120217600 2200
60510659 1982305057 E Sept. 14, 2019, 2:39 a.m. OK GNU C++11 TESTS 49 405 16076800 2200
63368937 LuciferX07 E Oct. 25, 2019, 8:37 a.m. OK GNU C++11 TESTS 49 405 51916800 2200
59510648 Makabaka E Aug. 26, 2019, 7:51 a.m. OK GNU C++11 TESTS 49 405 61337600 2200
59614942 Immortal.S E Aug. 28, 2019, 12:19 p.m. OK GNU C++11 TESTS 49 405 87244800 2200
59614842 Immortal.S E Aug. 28, 2019, 12:17 p.m. OK GNU C++11 TESTS 49 405 87244800 2200
64306901 LanrTabe E Nov. 5, 2019, 11:40 a.m. OK GNU C++14 TESTS 49 374 45056000 2200
59496128 tokitsukaze E Aug. 25, 2019, 10:24 p.m. OK GNU C++14 TESTS 49 421 24166400 2200
59480885 idxcalcal E Aug. 25, 2019, 4:25 p.m. OK GNU C++14 TESTS 49 452 52326400 2200
62346047 Iamcomingforyou E Oct. 11, 2019, 7:31 a.m. OK GNU C++14 TESTS 49 732 72192000 2200
60702621 wleung_bvg E Sept. 17, 2019, 2:13 a.m. OK GNU C++14 TESTS 49 732 120422400 2200
59487921 Cinque E Aug. 25, 2019, 6:09 p.m. OK GNU C++14 TESTS 49 748 72192000 2200
59477179 jvjhfhg E Aug. 25, 2019, 4:05 p.m. OK GNU C++14 TESTS 49 764 16076800 2200
59479787 lgm9 E Aug. 25, 2019, 4:19 p.m. OK GNU C++14 TESTS 49 764 20070400 2200
59697986 too_young_too_top1 E Aug. 30, 2019, 9:23 a.m. OK GNU C++14 TESTS 49 764 24268800 2200
59938054 whfym_ E Sept. 3, 2019, 10:18 a.m. OK GNU C++14 TESTS 49 764 38604800 2200
59495360 wery0 E Aug. 25, 2019, 9:43 p.m. OK GNU C++17 TESTS 49 405 28262400 2200
59504605 dafeng E Aug. 26, 2019, 5:20 a.m. OK GNU C++17 TESTS 49 436 16179200 2200
59504492 dafeng E Aug. 26, 2019, 5:16 a.m. OK GNU C++17 TESTS 49 530 16179200 2200
59642461 15872954516 E Aug. 29, 2019, 3:02 a.m. OK GNU C++17 TESTS 49 638 24064000 2200
59626294 F.J E Aug. 28, 2019, 4:05 p.m. OK GNU C++17 TESTS 49 638 35020800 2200
62781977 disposrestfuIly E Oct. 17, 2019, 1:10 p.m. OK GNU C++17 TESTS 49 686 240947200 2200
60428171 vjudge4 E Sept. 12, 2019, 8:36 a.m. OK GNU C++17 TESTS 49 748 40140800 2200
59479979 edenooo E Aug. 25, 2019, 4:20 p.m. OK GNU C++17 TESTS 49 764 36352000 2200
59580062 Lucina E Aug. 27, 2019, 3:39 p.m. OK GNU C++17 TESTS 49 779 20070400 2200
59563284 Lucina E Aug. 27, 2019, 9:35 a.m. OK GNU C++17 TESTS 49 779 20070400 2200
60392270 WangJialei E Sept. 11, 2019, 1:42 p.m. OK Go TESTS 49 1871 113152000 2200
63767567 happybelly E Oct. 30, 2019, 6:46 a.m. OK Java 11 TESTS 49 748 46284800 2200
63963630 happybelly E Nov. 1, 2019, 6:19 a.m. OK Java 11 TESTS 49 763 16588800 2200
63613826 happybelly E Oct. 27, 2019, 6:32 p.m. OK Java 11 TESTS 49 810 129024000 2200
63768938 happybelly E Oct. 30, 2019, 7:14 a.m. OK Java 11 TESTS 49 842 46489600 2200
63533662 happybelly E Oct. 27, 2019, 7:27 a.m. OK Java 11 TESTS 49 966 140902400 2200
59497277 gamesterrex E Aug. 25, 2019, 11:35 p.m. OK Java 8 TESTS 49 514 67072000 2200
59545429 StayAwayFromBitches E Aug. 26, 2019, 9:26 p.m. OK Java 8 TESTS 49 577 30617600 2200
59520362 brainfxxk E Aug. 26, 2019, 11:38 a.m. OK Java 8 TESTS 49 686 17408000 2200
59499224 SpargelTarzan E Aug. 26, 2019, 1:31 a.m. OK Java 8 TESTS 49 733 101273600 2200
65945470 yaoct E Nov. 29, 2019, 8:25 a.m. OK Java 8 TESTS 49 764 83865600 2200
59496186 kusomushi E Aug. 25, 2019, 10:29 p.m. OK Java 8 TESTS 49 795 77824000 2200
59529921 brainfxxk E Aug. 26, 2019, 2:38 p.m. OK Java 8 TESTS 49 810 17408000 2200
59484128 fetetriste E Aug. 25, 2019, 4:38 p.m. OK Java 8 TESTS 49 842 189030400 2200
59496161 kusomushi E Aug. 25, 2019, 10:27 p.m. OK Java 8 TESTS 49 966 136396800 2200
59592379 qwerty787788 E Aug. 27, 2019, 9:33 p.m. OK Java 8 TESTS 49 1076 164966400 2200
59855596 Spheniscine E Sept. 1, 2019, 1:26 p.m. OK Kotlin TESTS 49 732 131481600 2200
59856520 Spheniscine E Sept. 1, 2019, 1:46 p.m. OK Kotlin TESTS 49 826 131379200 2200
59834047 Spheniscine E Sept. 1, 2019, 2:25 a.m. OK Kotlin TESTS 49 826 131379200 2200
59856873 Spheniscine E Sept. 1, 2019, 1:53 p.m. OK Kotlin TESTS 49 841 131481600 2200
59856642 Spheniscine E Sept. 1, 2019, 1:48 p.m. OK Kotlin TESTS 49 841 131481600 2200
59856143 Spheniscine E Sept. 1, 2019, 1:38 p.m. OK Kotlin TESTS 49 842 131379200 2200
59856363 Spheniscine E Sept. 1, 2019, 1:42 p.m. OK Kotlin TESTS 49 842 131481600 2200
59856228 Spheniscine E Sept. 1, 2019, 1:40 p.m. OK Kotlin TESTS 49 872 131584000 2200
59708494 Spheniscine E Aug. 30, 2019, 1:41 p.m. OK Kotlin TESTS 49 1668 136396800 2200
59663915 Benq E Aug. 29, 2019, 1:30 p.m. OK Kotlin TESTS 49 1731 188928000 2200
59513628 og.kostya E Aug. 26, 2019, 8:51 a.m. OK Mono C# TESTS 49 483 43724800 2200
61425916 vjudge4 E Sept. 28, 2019, 1:09 p.m. OK MS C++ TESTS 49 670 24064000 2200
63558551 s_y_z_r_y E Oct. 27, 2019, 1:34 p.m. OK MS C++ TESTS 49 826 28057600 2200
60470699 math957963 E Sept. 13, 2019, 5:20 a.m. OK MS C++ TESTS 49 904 54476800 2200
68689050 pichulia E Jan. 13, 2020, 5:11 a.m. OK MS C++ 2017 TESTS 49 935 32051200 2200
67407072 SDSZ-WZZ E Dec. 22, 2019, 6:50 a.m. OK MS C++ 2017 TESTS 49 951 24064000 2200
59547393 j2v E Aug. 26, 2019, 11:27 p.m. OK MS C++ 2017 TESTS 49 1122 28057600 2200
69046773 AleksanderBalobanov E Jan. 18, 2020, 11:18 a.m. OK MS C++ 2017 TESTS 49 1497 225075200 2200
59537888 siwei E Aug. 26, 2019, 5:39 p.m. OK MS C++ 2017 TESTS 49 2433 41881600 2200
59504445 yorky E Aug. 26, 2019, 5:13 a.m. OK MS C++ 2017 TESTS 49 2932 111513600 2200
59689132 Kiri8128 E Aug. 30, 2019, 4:39 a.m. OK PyPy 3 TESTS 49 3478 96870400 2200
61672232 FireBird23 E Oct. 1, 2019, 7:08 p.m. OK PyPy 3 TESTS 49 3744 199577600 2200
59492635 sansen E Aug. 25, 2019, 8:01 p.m. OK Rust TESTS 49 670 85094400 2200
59637599 ValenKof E Aug. 28, 2019, 9:57 p.m. OK Rust TESTS 49 982 196198400 2200
60964638 mjf E Sept. 21, 2019, 6:37 a.m. OK Rust TESTS 49 1092 239001600 2200
59690811 LowR E Aug. 30, 2019, 5:55 a.m. OK Rust TESTS 49 2667 83046400 2200
59568038 LowR E Aug. 27, 2019, 11:30 a.m. OK Rust TESTS 49 2682 83046400 2200
59697435 yakamoto E Aug. 30, 2019, 9:09 a.m. OK Scala TESTS 49 1356 147660800 2200

remove filters

Back to search problems