Mail.Ru Cup 2018 Round 3

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
1056 Mail.Ru Cup 2018 Round 3 FINISHED False 9000 194361923 Nov. 25, 2018, 4:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 667 ) F Write The Contest PROGRAMMING binary search dp math 2400

B"Polycarp, Arkady's friend, prepares to the programming competition and decides to write a contest. The contest consists of n problems and lasts for T minutes. Each of the problems is defined by two positive integers a_i and p_i -- its difficulty and the score awarded by its solution. Polycarp's experience suggests that his skill level is defined with positive real value s , and initially s=1.0 . To solve the i -th problem Polycarp needs a_i/s minutes. Polycarp loves to watch series, and before solving each of the problems he will definitely watch one episode. After Polycarp watches an episode, his skill decreases by 10 % , that is skill level s decreases to 0.9s . Each episode takes exactly 10 minutes to watch. When Polycarp decides to solve some problem, he firstly has to watch one episode, and only then he starts solving the problem without breaks for a_i/s minutes, where s is his current skill level. In calculation of a_i/s no rounding is performed, only division of integer value a_i by real value s happens. Also, Polycarp can train for some time. If he trains for t minutes, he increases his skill by C cdot t , where C is some given positive real constant. Polycarp can train only before solving any problem (and before watching series). Duration of the training can be arbitrary real value. Polycarp is interested: what is the largest score he can get in the contest? It is allowed to solve problems in any order, while training is only allowed before solving the first problem. The first line contains one integer tc ( 1 <= tc <= 20 ) -- the number of test cases. Then tc test cases follow. The first line of each test contains one integer n ( 1 <= n <= 100 ) -- the number of problems in the contest. The second line of the test contains two real values C, T ( 0 < C < 10 , 0 <= T <= 2 cdot 10^5 )"...

Tutorials

Mail.Ru Cup 2018 Round 3 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
48657296 ReaLNero1 F Jan. 21, 2019, 3:38 a.m. OK GNU C++11 TESTS 56 62 819200 2400
46217677 Um_nik F Nov. 25, 2018, 5:31 p.m. OK GNU C++11 TESTS 56 77 819200 2400
56691372 waaadreamer F July 8, 2019, 4:07 a.m. OK GNU C++11 TESTS 56 78 819200 2400
46585821 Conical F Dec. 4, 2018, 1:13 p.m. OK GNU C++11 TESTS 56 78 819200 2400
46247233 deep_leaking F Nov. 26, 2018, 12:08 p.m. OK GNU C++11 TESTS 56 78 819200 2400
56691378 mmmod_lqs F July 8, 2019, 4:08 a.m. OK GNU C++11 TESTS 56 78 819200 2400
46224145 131131yhx F Nov. 25, 2018, 6:31 p.m. OK GNU C++11 TESTS 56 78 819200 2400
46275149 aurinegro F Nov. 27, 2018, 11:04 a.m. OK GNU C++11 TESTS 56 78 1024000 2400
46721736 NephrenRuqInsania F Dec. 7, 2018, 1:25 p.m. OK GNU C++11 TESTS 56 78 1638400 2400
46237161 pranjal.ssh F Nov. 26, 2018, 4:21 a.m. OK GNU C++11 TESTS 56 78 1740800 2400
46221926 yarek F Nov. 25, 2018, 6:10 p.m. OK GNU C++14 TESTS 56 77 819200 2400
46233836 neal F Nov. 25, 2018, 11:32 p.m. OK GNU C++14 TESTS 56 77 1024000 2400
67682860 appleofdiscord F Dec. 27, 2019, 7:20 a.m. OK GNU C++14 TESTS 56 77 1024000 2400
46298388 briansu F Nov. 28, 2018, 5:36 a.m. OK GNU C++14 TESTS 56 77 1024000 2400
46233938 BSBandme F Nov. 25, 2018, 11:44 p.m. OK GNU C++14 TESTS 56 77 1024000 2400
46233903 neal F Nov. 25, 2018, 11:40 p.m. OK GNU C++14 TESTS 56 77 1024000 2400
46223788 natsugiri F Nov. 25, 2018, 6:28 p.m. OK GNU C++14 TESTS 56 78 819200 2400
46231002 supersayadilson F Nov. 25, 2018, 8:48 p.m. OK GNU C++14 TESTS 56 78 921600 2400
50080042 H4XeO6 F Feb. 18, 2019, 3 a.m. OK GNU C++14 TESTS 56 78 921600 2400
50052818 vjudge3 F Feb. 17, 2019, 8:52 a.m. OK GNU C++14 TESTS 56 78 921600 2400
46399296 maroonrk F Nov. 30, 2018, 11:28 a.m. OK GNU C++17 TESTS 56 62 6963200 2400
46242779 despair F Nov. 26, 2018, 9:14 a.m. OK GNU C++17 TESTS 56 77 921600 2400
46225010 Arterm F Nov. 25, 2018, 6:40 p.m. OK GNU C++17 TESTS 56 77 1024000 2400
46229664 fdironia F Nov. 25, 2018, 8:09 p.m. OK GNU C++17 TESTS 56 78 819200 2400
46747255 how_to_become_purple F Dec. 8, 2018, 7:27 a.m. OK GNU C++17 TESTS 56 78 819200 2400
46229427 KADR F Nov. 25, 2018, 8:04 p.m. OK GNU C++17 TESTS 56 78 819200 2400
46226301 al13n F Nov. 25, 2018, 6:53 p.m. OK GNU C++17 TESTS 56 78 1945600 2400
46258946 vhnvn F Nov. 26, 2018, 6:36 p.m. OK GNU C++17 TESTS 56 78 2048000 2400
46253159 majk F Nov. 26, 2018, 3:11 p.m. OK GNU C++17 TESTS 56 78 3174400 2400
46467274 endereye F Dec. 2, 2018, 4:30 a.m. OK GNU C++17 TESTS 56 93 921600 2400
46222809 ilyakor F Nov. 25, 2018, 6:19 p.m. OK Java 8 TESTS 56 248 0 2400
46263245 kessido F Nov. 26, 2018, 10:17 p.m. OK Java 8 TESTS 56 265 0 2400
46263264 kessido F Nov. 26, 2018, 10:19 p.m. OK Java 8 TESTS 56 265 0 2400
47332594 xodiac F Dec. 21, 2018, 1:37 p.m. OK Java 8 TESTS 56 296 0 2400
46263414 kessido F Nov. 26, 2018, 10:30 p.m. OK Java 8 TESTS 56 327 0 2400
46221643 mmaxio F Nov. 25, 2018, 6:07 p.m. OK Java 8 TESTS 56 358 0 2400
46224908 iakovlev.zakhar F Nov. 25, 2018, 6:39 p.m. OK Java 8 TESTS 56 374 0 2400
46229923 fetetriste F Nov. 25, 2018, 8:14 p.m. OK Java 8 TESTS 56 374 0 2400
46229736 fetetriste F Nov. 25, 2018, 8:10 p.m. OK Java 8 TESTS 56 374 0 2400
46229771 fetetriste F Nov. 25, 2018, 8:11 p.m. OK Java 8 TESTS 56 389 0 2400
46231428 shaviava F Nov. 25, 2018, 9:02 p.m. OK Kotlin TESTS 56 296 1024000 2400
46564493 shaviava F Dec. 3, 2018, 9:05 p.m. OK Kotlin TESTS 56 311 1433600 2400
46223236 shaviava F Nov. 25, 2018, 6:22 p.m. OK Kotlin TESTS 56 312 1024000 2400
46231418 shaviava F Nov. 25, 2018, 9:02 p.m. OK Kotlin TESTS 56 420 1024000 2400
46231441 shaviava F Nov. 25, 2018, 9:03 p.m. OK Kotlin TESTS 56 530 1945600 2400
46564521 shaviava F Dec. 3, 2018, 9:06 p.m. OK Kotlin TESTS 56 670 1433600 2400
46258238 peregrinus F Nov. 26, 2018, 6:11 p.m. OK Mono C# TESTS 56 327 74649600 2400
46226629 LoneFox F Nov. 25, 2018, 6:56 p.m. OK MS C++ TESTS 56 92 819200 2400
46280025 r57shell F Nov. 27, 2018, 12:53 p.m. OK MS C++ TESTS 56 312 819200 2400
47086789 Charles_Han F Dec. 16, 2018, 3:44 a.m. OK PyPy 3 TESTS 56 1528 10854400 2400

remove filters

Back to search problems