Yandex.Algorithm 2011: Finals

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
97 Yandex.Algorithm 2011: Finals FINISHED False 7200 465674423 July 15, 2011, noon

Problems

Solved
Index
Name
Type
Tags
Community Tag
Rating
( 353 ) C Winning Strategy PROGRAMMING binary search graphs math shortest paths 2300

One university has just found out about a sport programming contest called ACM ICPC v2.0. This contest doesn't differ much from the well-known ACM ICPC, for example, the participants are not allowed to take part in the finals more than two times. However, there is one notable difference: the teams in the contest should consist of exactly n participants. Having taken part in several ACM ICPC v2.0 finals and having not won any medals, the students and the university governors realized that it's high time they changed something about the preparation process. Specifically, as the first innovation it was decided to change the teams' formation process. Having spent considerable amount of time on studying the statistics of other universities' performance, they managed to receive some interesting information: the dependence between the probability of winning a medal and the number of team members that participated in the finals in the past. More formally, we know n + 1 real numbers p 0 ≤ p 1 ≤ ... ≤ p n , where p i is the probability of getting a medal on the finals if the team has i participants of previous finals, and other n - i participants arrived to the finals for the first time. Despite such useful data, the university governors are unable to determine such team forming tactics that would provide the maximum probability of winning a medal at ACM ICPC v2.0 finals on average (we are supposed to want to provide such result to the far future and we are also supposed to have an endless supply of students). And how about you, can you offer such optimal tactic? At the first stage the university governors want to know the value of maximum average probability. More formally, suppose that the university sends a team to the k -th world finals. The team has a k participants of previous finals ( 0 ≤ a k ≤ n ). Since each person can participate in the finals no more than twice, the following condition must be true: . Your task is to choose sequence so that the limit Ψ ex

Tutorials

Финал Яндекс.Алгоритм: разбор A-B

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
547022 tourist C July 15, 2011, 1:12 p.m. OK Delphi TESTS 63 590 1638400 2300
547877 Sereja C July 15, 2011, 7:01 p.m. OK FPC TESTS 63 60 1024000 2300
547669 scottai1 C July 15, 2011, 4:43 p.m. OK GNU C TESTS 63 30 1331200 2300
547118 LayCurse C July 15, 2011, 1:24 p.m. OK GNU C TESTS 63 30 1331200 2300
3293373 hjx13908486019 C March 12, 2013, 7:55 a.m. OK GNU C++ TESTS 63 15 0 2300
2926660 chnlich C Jan. 15, 2013, 10:29 a.m. OK GNU C++ TESTS 63 15 0 2300
2907054 kmxyvb C Jan. 12, 2013, 8:19 a.m. OK GNU C++ TESTS 63 15 0 2300
2907015 Leo_Yu C Jan. 12, 2013, 7:57 a.m. OK GNU C++ TESTS 63 15 0 2300
2903878 BenZ C Jan. 11, 2013, 3:57 a.m. OK GNU C++ TESTS 63 15 0 2300
2878239 zwt395081716 C Jan. 6, 2013, 12:17 p.m. OK GNU C++ TESTS 63 15 0 2300
2875432 shyoshyohw1 C Jan. 5, 2013, 3:10 p.m. OK GNU C++ TESTS 63 15 0 2300
4161875 vjtest C July 25, 2013, 7:37 a.m. OK GNU C++ TESTS 63 15 0 2300
4161864 suyufeng C July 25, 2013, 7:36 a.m. OK GNU C++ TESTS 63 15 0 2300
3298461 konstantanter C March 13, 2013, 12:16 p.m. OK GNU C++ TESTS 63 15 0 2300
2798221 bakabakashyoshyo C Dec. 20, 2012, 12:42 p.m. OK GNU C++0x TESTS 63 15 0 2300
1218685 Archon.JK C Feb. 23, 2012, 7:04 a.m. OK GNU C++0x TESTS 63 30 1331200 2300
547174 watashi C July 15, 2011, 1:31 p.m. OK GNU C++0x TESTS 63 30 1638400 2300
16829911 freebsdx C March 20, 2016, 2:06 a.m. OK GNU C++11 TESTS 63 30 2048000 2300
58437483 skyzheng C Aug. 7, 2019, 2:34 p.m. OK GNU C++11 TESTS 63 62 0 2300
58109946 skywu C Aug. 1, 2019, 6:38 a.m. OK GNU C++11 TESTS 63 62 0 2300
57904752 lopare C July 28, 2019, 5:09 p.m. OK GNU C++11 TESTS 63 62 0 2300
57747311 Blood_Wu_Ren C July 25, 2019, 1:31 p.m. OK GNU C++11 TESTS 63 62 0 2300
57746093 dudu_luogu C July 25, 2019, 1:04 p.m. OK GNU C++11 TESTS 63 62 0 2300
57746036 clya2004 C July 25, 2019, 1:03 p.m. OK GNU C++11 TESTS 63 62 0 2300
57744992 skyping C July 25, 2019, 12:42 p.m. OK GNU C++11 TESTS 63 62 0 2300
57744437 lokyo C July 25, 2019, 12:31 p.m. OK GNU C++11 TESTS 63 62 0 2300
55986588 RobeZH C June 24, 2019, 4:20 a.m. OK GNU C++11 TESTS 63 62 0 2300
35921404 haizhe C March 4, 2018, 12:14 p.m. OK GNU C++14 TESTS 63 30 2048000 2300
54548128 bhargav_0085 C May 24, 2019, 7:29 a.m. OK GNU C++14 TESTS 63 62 0 2300
61468063 MinecraftFuns C Sept. 29, 2019, 11:12 a.m. OK GNU C++14 TESTS 63 62 0 2300
57743285 Okazaki_Yumemi C July 25, 2019, 12:09 p.m. OK GNU C++14 TESTS 63 62 0 2300
56017374 sorry_im_smurfing C June 24, 2019, 10:35 p.m. OK GNU C++14 TESTS 63 62 0 2300
54548088 bhargav_0085 C May 24, 2019, 7:27 a.m. OK GNU C++14 TESTS 63 62 0 2300
47244198 ASSWECAN C Dec. 19, 2018, 4:35 a.m. OK GNU C++14 TESTS 63 62 0 2300
57775638 Okazaki_Yumemi C July 26, 2019, 3:22 a.m. OK GNU C++14 TESTS 63 92 0 2300
44026580 vjudge5 C Oct. 9, 2018, 8:16 a.m. OK GNU C++14 TESTS 63 872 2764800 2300
25413083 AndreySergunin C March 11, 2017, 5:05 p.m. OK GNU C++14 TESTS 63 1092 2662400 2300
44029461 11UchihaItach C Oct. 9, 2018, 9:50 a.m. OK GNU C++17 TESTS 63 62 409600 2300
67987812 kenimo C Dec. 31, 2019, 1:09 a.m. OK GNU C++17 TESTS 63 218 0 2300
68406984 Moon_human C Jan. 8, 2020, 3:21 p.m. OK GNU C++17 TESTS 63 312 512000 2300
40158939 ruo C July 10, 2018, 5:46 a.m. OK GNU C++17 TESTS 63 498 0 2300
49754221 993217 C Feb. 11, 2019, 5:12 a.m. OK GNU C++17 TESTS 63 624 1126400 2300
49754226 993217 C Feb. 11, 2019, 5:13 a.m. OK GNU C++17 TESTS 63 1964 1126400 2300
546970 bjin C July 15, 2011, 1:05 p.m. OK Haskell TESTS 63 50 2048000 2300
548423 yaro C July 16, 2011, 11:20 a.m. OK Java 6 TESTS 63 90 43008000 2300
548383 yaro C July 16, 2011, 10:54 a.m. OK Java 6 TESTS 63 110 43008000 2300
546995 ivan.metelsky C July 15, 2011, 1:08 p.m. OK Java 6 TESTS 63 130 35328000 2300
547702 uwi C July 15, 2011, 5:01 p.m. OK Java 6 TESTS 63 130 43110400 2300
546818 wata C July 15, 2011, 12:46 p.m. OK Java 6 TESTS 63 230 43110400 2300
547334 Egor C July 15, 2011, 1:47 p.m. OK Java 6 TESTS 63 250 43008000 2300
546717 Petr C July 15, 2011, 12:29 p.m. OK Java 6 TESTS 63 1720 34918400 2300
548178 fleurnoir C July 16, 2011, 6:31 a.m. OK Mono C# TESTS 63 130 5632000 2300
4386925 Fdg C Aug. 31, 2013, 10:05 a.m. OK MS C++ TESTS 63 30 0 2300
4386904 Fdg C Aug. 31, 2013, 10:02 a.m. OK MS C++ TESTS 63 30 0 2300
548730 Fdg C July 16, 2011, 3:49 p.m. OK MS C++ TESTS 63 30 1331200 2300
547397 chEEtah C July 15, 2011, 1:52 p.m. OK MS C++ TESTS 63 30 1433600 2300
552602 atnurgaliev C July 20, 2011, 6:45 p.m. OK MS C++ TESTS 63 30 1433600 2300
547899 aan93 C July 15, 2011, 7:16 p.m. OK MS C++ TESTS 63 30 1433600 2300
547254 aan93 C July 15, 2011, 1:39 p.m. OK MS C++ TESTS 63 30 1433600 2300
546775 dzhulgakov C July 15, 2011, 12:40 p.m. OK MS C++ TESTS 63 30 1433600 2300
549236 Slevin C July 17, 2011, 11:12 a.m. OK MS C++ TESTS 63 50 1433600 2300
549442 permin C July 17, 2011, 1:57 p.m. OK MS C++ TESTS 63 60 2048000 2300
547142 hirosegolf C July 15, 2011, 1:28 p.m. OK Python 2 TESTS 63 60 2867200 2300

remove filters

Back to search problems