Codeforces Round 584 - Dasha Code Championship - Elimination Round (rated, open for everyone, 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
1209 Codeforces Round 584 - Dasha Code Championship - Elimination Round (rated, open for everyone, Div. 1 + Div. 2) FINISHED False 9000 168972887 Sept. 14, 2019, 1:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2033 ) E2 Rotate Columns (hard version) PROGRAMMING bitmasks dp greedy sortings 2400

B"This is a harder version of the problem. The difference is only in constraints. You are given a rectangular n x m matrix a . In one move you can choose any column and cyclically shift elements in this column. You can perform this operation as many times as you want (possibly zero). You can perform this operation to a column multiple times. After you are done with cyclical shifts, you compute for every row the maximal value in it. Suppose that for i -th row it is equal r_i . What is the maximal possible value of r_1+r_2+ ldots+r_n ? The first line contains an integer t ( 1 <= t <= 40 ), the number of test cases in the input. The first line of each test case contains integers n and m ( 1 <= n <= 12 , 1 <= m <= 2000 ) -- the number of rows and the number of columns in the given matrix a . Each of the following n lines contains m integers, the elements of a ( 1 <= a_{i, j} <= 10^5 ). Print t integers: answers for all test cases in the order they are given in the input. In the first test case you can shift the third column down by one, this way there will be r_1 = 5 and r_2 = 7 . In the second case you can don't rotate anything at all, this way there will be r_1 = r_2 = 10 and r_3 = 9 . "...

Tutorials

69791

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
61718491 luogu_bot2 E2 Oct. 2, 2019, 1:11 p.m. OK GNU C++11 TESTS 37 93 307200 2400
61719552 luogu_bot3 E2 Oct. 2, 2019, 1:26 p.m. OK GNU C++11 TESTS 37 109 307200 2400
60665351 ohweonfire E2 Sept. 16, 2019, 7:42 a.m. OK GNU C++11 TESTS 36 140 204800 2400
60589185 cjy2003 E2 Sept. 15, 2019, 12:24 a.m. OK GNU C++11 TESTS 36 171 204800 2400
62562586 autoint E2 Oct. 14, 2019, 12:25 p.m. OK GNU C++11 TESTS 37 280 204800 2400
61187356 Pigbrain E2 Sept. 24, 2019, 12:03 a.m. OK GNU C++11 TESTS 37 280 204800 2400
61753353 gongsuidashen E2 Oct. 3, 2019, 4:28 a.m. OK GNU C++11 TESTS 37 295 307200 2400
60774739 y2823774827y E2 Sept. 18, 2019, 1:57 p.m. OK GNU C++11 TESTS 37 296 307200 2400
61056490 yyf0309 E2 Sept. 22, 2019, 8:13 a.m. OK GNU C++11 TESTS 37 312 102400 2400
61300874 Fan_of_IceLocke E2 Sept. 26, 2019, 4:49 a.m. OK GNU C++11 TESTS 37 312 204800 2400
62350444 vjudge2 E2 Oct. 11, 2019, 9:07 a.m. OK GNU C++14 TESTS 37 249 716800 2400
60656468 JhonnyZaz E2 Sept. 16, 2019, 12:14 a.m. OK GNU C++14 TESTS 36 265 921600 2400
60591201 shdut E2 Sept. 15, 2019, 2:20 a.m. OK GNU C++14 TESTS 36 296 102400 2400
60570034 natsugiri E2 Sept. 14, 2019, 3:23 p.m. OK GNU C++14 TESTS 36 343 204800 2400
61544817 wakaka E2 Sept. 30, 2019, 9:57 a.m. OK GNU C++14 TESTS 37 358 1024000 2400
60571222 risujiroh E2 Sept. 14, 2019, 3:28 p.m. OK GNU C++14 TESTS 36 374 512000 2400
60575896 Hasan0540 E2 Sept. 14, 2019, 4:40 p.m. OK GNU C++14 TESTS 36 405 819200 2400
60570637 tmt514 E2 Sept. 14, 2019, 3:26 p.m. OK GNU C++14 TESTS 36 420 716800 2400
60563987 Mlxa E2 Sept. 14, 2019, 2:56 p.m. OK GNU C++14 TESTS 36 436 409600 2400
60548903 lumibons E2 Sept. 14, 2019, 1:53 p.m. OK GNU C++14 TESTS 36 514 716800 2400
60589552 neal E2 Sept. 15, 2019, 12:48 a.m. OK GNU C++17 TESTS 36 78 512000 2400
60589526 neal E2 Sept. 15, 2019, 12:46 a.m. OK GNU C++17 TESTS 36 78 512000 2400
60589450 neal E2 Sept. 15, 2019, 12:41 a.m. OK GNU C++17 TESTS 36 124 614400 2400
67672987 paulica E2 Dec. 26, 2019, 9:57 p.m. OK GNU C++17 TESTS 37 233 512000 2400
60641176 Antoine E2 Sept. 15, 2019, 3:28 p.m. OK GNU C++17 TESTS 36 249 307200 2400
60568662 orz E2 Sept. 14, 2019, 3:17 p.m. OK GNU C++17 TESTS 36 249 2764800 2400
60668237 kr_abhinav E2 Sept. 16, 2019, 9:19 a.m. OK GNU C++17 TESTS 37 265 512000 2400
60591289 saketh E2 Sept. 15, 2019, 2:24 a.m. OK GNU C++17 TESTS 36 265 512000 2400
60565090 imeimi E2 Sept. 14, 2019, 3:01 p.m. OK GNU C++17 TESTS 36 265 512000 2400
62350400 LJZ_C E2 Oct. 11, 2019, 9:07 a.m. OK GNU C++17 TESTS 37 296 716800 2400
60596754 SrapZark E2 Sept. 15, 2019, 6:08 a.m. OK Java 8 TESTS 36 499 0 2400
63502896 martins E2 Oct. 26, 2019, 5:48 p.m. OK Java 8 TESTS 37 639 0 2400
63419384 martins E2 Oct. 26, 2019, 5:51 a.m. OK Java 8 TESTS 37 670 0 2400
60569073 VArtem E2 Sept. 14, 2019, 3:19 p.m. OK Java 8 TESTS 36 904 0 2400
60581546 uwi E2 Sept. 14, 2019, 6:43 p.m. OK Java 8 TESTS 36 936 0 2400
60581263 uwi E2 Sept. 14, 2019, 6:35 p.m. OK Java 8 TESTS 36 951 0 2400
60597288 SrapZark E2 Sept. 15, 2019, 6:28 a.m. OK Java 8 TESTS 36 966 0 2400
60597341 SrapZark E2 Sept. 15, 2019, 6:30 a.m. OK Java 8 TESTS 36 967 0 2400
60605447 StayAwayFromBitches E2 Sept. 15, 2019, 9:19 a.m. OK Java 8 TESTS 36 1107 0 2400
60551614 eatmore E2 Sept. 14, 2019, 2:03 p.m. OK Java 8 TESTS 36 1185 0 2400
60580901 omikad E2 Sept. 14, 2019, 6:26 p.m. OK Mono C# TESTS 36 2932 11673600 2400
61761313 vjudge1 E2 Oct. 3, 2019, 7:11 a.m. OK MS C++ TESTS 37 654 614400 2400
61073915 ZJM782473006 E2 Sept. 22, 2019, 1:42 p.m. OK MS C++ TESTS 37 1513 204800 2400
60605225 vjudge3 E2 Sept. 15, 2019, 9:14 a.m. OK MS C++ TESTS 36 1590 512000 2400
60705931 vjudge1 E2 Sept. 17, 2019, 5:10 a.m. OK MS C++ TESTS 37 1824 66150400 2400
60705953 vjudge3 E2 Sept. 17, 2019, 5:11 a.m. OK MS C++ TESTS 37 1886 66150400 2400
62095454 vjudge2 E2 Oct. 8, 2019, 7:22 a.m. OK MS C++ TESTS 37 1887 614400 2400
61260620 ZJM782473006 E2 Sept. 25, 2019, 11:30 a.m. OK MS C++ TESTS 37 2947 921600 2400
60687086 Timonnable E2 Sept. 16, 2019, 3:51 p.m. OK MS C++ 2017 TESTS 37 1560 1228800 2400
60599050 fuermowei E2 Sept. 15, 2019, 7:20 a.m. OK MS C++ 2017 TESTS 36 1996 32972800 2400
60589619 sansen E2 Sept. 15, 2019, 12:53 a.m. OK Rust TESTS 36 655 12595200 2400
60818203 ValenKof E2 Sept. 18, 2019, 9:35 p.m. OK Rust TESTS 37 1325 1126400 2400
60589560 sansen E2 Sept. 15, 2019, 12:49 a.m. OK Rust TESTS 36 1403 12595200 2400
60689973 yakamoto E2 Sept. 16, 2019, 4:56 p.m. OK Scala TESTS 37 1325 0 2400
60692687 yakamoto E2 Sept. 16, 2019, 6:02 p.m. OK Scala TESTS 37 1341 0 2400
60689202 yakamoto E2 Sept. 16, 2019, 4:39 p.m. OK Scala TESTS 37 1965 0 2400
60692478 yakamoto E2 Sept. 16, 2019, 5:56 p.m. OK Scala TESTS 37 1980 0 2400
60689363 yakamoto E2 Sept. 16, 2019, 4:42 p.m. OK Scala TESTS 37 2042 0 2400
60692266 yakamoto E2 Sept. 16, 2019, 5:50 p.m. OK Scala TESTS 37 2121 0 2400
60689103 yakamoto E2 Sept. 16, 2019, 4:36 p.m. OK Scala TESTS 37 2121 0 2400
60689033 yakamoto E2 Sept. 16, 2019, 4:34 p.m. OK Scala TESTS 37 2183 0 2400
60688943 yakamoto E2 Sept. 16, 2019, 4:32 p.m. OK Scala TESTS 37 2979 0 2400

remove filters

Back to search problems