VK Cup 2019-2020 - Elimination Round (Engine)

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
1310 VK Cup 2019-2020 - Elimination Round (Engine) FINISHED False 9000 154878911 Feb. 23, 2020, 4:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 525 ) B Double Elimination PROGRAMMING dp implementation 2500

B'The biggest event of the year xe2 x80 x93 Cota 2 world championship "The Innernational" is right around the corner. 2^n teams will compete in a double-elimination format (please, carefully read problem statement even if you know what is it) to identify the champion. Teams are numbered from 1 to 2^n and will play games one-on-one. All teams start in the upper bracket. All upper bracket matches will be held played between teams that haven 't lost any games yet. Teams are split into games by team numbers. Game winner advances in the next round of upper bracket, losers drop into the lower bracket. Lower bracket starts with 2^{n-1} teams that lost the first upper bracket game. Each lower bracket round consists of two games. In the first game of a round 2^k teams play a game with each other (teams are split into games by team numbers). 2^{k-1} loosing teams are eliminated from the championship, 2^{k-1} winning teams are playing 2^{k-1} teams that got eliminated in this round of upper bracket (again, teams are split into games by team numbers). As a result of each round both upper and lower bracket have 2^{k-1} teams remaining. See example notes for better understanding. Single remaining team of upper bracket plays with single remaining team of lower bracket in grand-finals to identify championship winner. You are a fan of teams with numbers a_1, a_2, ..., a_k . You want the championship to have as many games with your favourite teams as possible. Luckily, you can affect results of every championship game the way you want. What 's maximal possible number of championship games that include teams you 're fan of? First input line has two integers n, k -- 2^n teams are competing in the championship. You are a fan of k teams ( 2 <= n <= 17; 0 <= k <= 2^n ). Second input line has k distinct integers a_1, ldots, a_k -- numbers of teams you 're a fan of ( 1 <= a_i <= 2^n ). O'...

Tutorials

VK Cup 2019-2020 - Elimination Round (Engine) and Codeforces Round #623

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
71896546 xht37 B Feb. 26, 2020, 5:48 a.m. OK GNU C++11 TESTS 28 31 91648000 2500
71720146 Aidos B Feb. 23, 2020, 5:44 p.m. OK GNU C++11 TESTS 28 62 1228800 2500
71863745 atoiz B Feb. 25, 2020, 2:16 p.m. OK GNU C++11 TESTS 28 62 2252800 2500
71706993 Kamfucius B Feb. 23, 2020, 4:27 p.m. OK GNU C++11 TESTS 28 62 4710400 2500
71709003 cookiedoth B Feb. 23, 2020, 4:36 p.m. OK GNU C++11 TESTS 28 77 20070400 2500
71852839 YU1 B Feb. 25, 2020, 11:26 a.m. OK GNU C++11 TESTS 28 93 5017600 2500
71894611 zhylj B Feb. 26, 2020, 4:37 a.m. OK GNU C++11 TESTS 28 217 11878400 2500
71898776 Pyqe B Feb. 26, 2020, 6:53 a.m. OK GNU C++11 TESTS 28 545 26931200 2500
71718871 Zhukov_Dmitry B Feb. 23, 2020, 5:36 p.m. OK GNU C++14 TESTS 28 31 4915200 2500
71718335 cdkrot B Feb. 23, 2020, 5:32 p.m. OK GNU C++14 TESTS 28 46 1740800 2500
71712729 zeliboba B Feb. 23, 2020, 4:56 p.m. OK GNU C++14 TESTS 28 46 3174400 2500
71830068 gtrhetr B Feb. 25, 2020, 2:10 a.m. OK GNU C++14 TESTS 28 46 4198400 2500
71717082 DmitryGrigorev B Feb. 23, 2020, 5:23 p.m. OK GNU C++14 TESTS 28 46 4198400 2500
71723379 orz B Feb. 23, 2020, 6:08 p.m. OK GNU C++14 TESTS 28 46 6656000 2500
71966656 carcar B Feb. 27, 2020, 10:51 a.m. OK GNU C++14 TESTS 28 61 38400000 2500
71715710 Merkurev B Feb. 23, 2020, 5:14 p.m. OK GNU C++14 TESTS 28 62 37785600 2500
71961887 carcar B Feb. 27, 2020, 9:15 a.m. OK GNU C++14 TESTS 28 77 37990400 2500
71721751 Sert B Feb. 23, 2020, 5:56 p.m. OK GNU C++14 TESTS 28 93 9728000 2500
71720253 SirShokoladina B Feb. 23, 2020, 5:45 p.m. OK GNU C++17 TESTS 28 31 102400 2500
71726923 vepifanov B Feb. 23, 2020, 6:32 p.m. OK GNU C++17 TESTS 28 31 25190400 2500
71709691 KAN B Feb. 23, 2020, 4:40 p.m. OK GNU C++17 TESTS 28 46 1024000 2500
71831559 kal0rona B Feb. 25, 2020, 3:10 a.m. OK GNU C++17 TESTS 28 46 2150400 2500
71730682 Kostroma B Feb. 23, 2020, 7:57 p.m. OK GNU C++17 TESTS 28 46 2252800 2500
71861223 WNG B Feb. 25, 2020, 1:38 p.m. OK GNU C++17 TESTS 28 46 2764800 2500
71724939 riadwaw B Feb. 23, 2020, 6:19 p.m. OK GNU C++17 TESTS 28 46 2969600 2500
71718576 Petr B Feb. 23, 2020, 5:33 p.m. OK GNU C++17 TESTS 28 46 3686400 2500
71710428 AndreySergunin B Feb. 23, 2020, 4:43 p.m. OK GNU C++17 TESTS 28 46 4710400 2500
71707816 Um_nik B Feb. 23, 2020, 4:30 p.m. OK GNU C++17 TESTS 28 46 5222400 2500
71716764 ilyakor B Feb. 23, 2020, 5:21 p.m. OK Java 11 TESTS 28 966 0 2500
71716337 mmaxio B Feb. 23, 2020, 5:18 p.m. OK Java 8 TESTS 28 124 0 2500

remove filters

Back to search problems