Educational Codeforces Round 61 (Rated for 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
1132 Educational Codeforces Round 61 (Rated for Div. 2) FINISHED False 8100 185640887 March 5, 2019, 3:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1961 ) D Stressful Training PROGRAMMING binary search greedy 2300

B"Berland SU holds yet another training contest for its students today. n students came, each of them brought his laptop. However, it turned out that everyone has forgot their chargers! Let students be numbered from 1 to n . Laptop of the i -th student has charge a_i at the beginning of the contest and it uses b_i of charge per minute (i.e. if the laptop has c charge at the beginning of some minute, it becomes c - b_i charge at the beginning of the next minute). The whole contest lasts for k minutes. Polycarp (the coach of Berland SU) decided to buy a single charger so that all the students would be able to successfully finish the contest. He buys the charger at the same moment the contest starts. Polycarp can choose to buy the charger with any non-negative (zero or positive) integer power output. The power output is chosen before the purchase, it can't be changed afterwards. Let the chosen power output be x . At the beginning of each minute (from the minute contest starts to the last minute of the contest) he can plug the charger into any of the student's laptops and use it for some integer number of minutes. If the laptop is using b_i charge per minute then it will become b_i - x per minute while the charger is plugged in. Negative power usage rate means that the laptop's charge is increasing. The charge of any laptop isn't limited, it can become infinitely large. The charger can be plugged in no more than one laptop at the same time. The student successfully finishes the contest if the charge of his laptop never is below zero at the beginning of some minute (from the minute contest starts to the last minute of the contest, zero charge is allowed). The charge of the laptop of the minute the contest ends doesn't matter. Help Polycarp to determine the minimal possible power output the charger should have so that all the students are able to successfully finish the contest. Also report if no"...

Tutorials

T

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
53005861 chaorenhaha D April 19, 2019, 9:33 a.m. OK FPC TESTS 52 467 7475200 2300
51287790 Stanislav666 D March 14, 2019, 8:20 a.m. OK FPC TESTS 52 1715 24371200 2300
52455537 sansen D April 7, 2019, 11:35 a.m. OK GNU C11 TESTS 52 202 3174400 2300
50987704 rainboy D March 7, 2019, 8:16 p.m. OK GNU C11 TESTS 52 1138 3993600 2300
52135988 sansen D April 1, 2019, 2:45 a.m. OK GNU C11 TESTS 52 2230 8499200 2300
51206995 Justaskeleton D March 12, 2019, 5:35 a.m. OK GNU C11 TESTS 52 2620 11264000 2300
53877810 hjmmm D May 8, 2019, 12:57 p.m. OK GNU C++11 TESTS 52 234 5836800 2300
54328455 Profish D May 18, 2019, 4:23 a.m. OK GNU C++11 TESTS 52 234 24064000 2300
51392613 dragonslayerintraining D March 17, 2019, 1:16 a.m. OK GNU C++11 TESTS 52 249 3788800 2300
53694072 vjudge3 D May 3, 2019, 6:44 a.m. OK GNU C++11 TESTS 52 249 3993600 2300
53692463 wenjing233 D May 3, 2019, 5:49 a.m. OK GNU C++11 TESTS 52 249 3993600 2300
51220491 vjudge5 D March 12, 2019, 12:16 p.m. OK GNU C++11 TESTS 52 249 3993600 2300
50917052 FlyInTheSky D March 7, 2019, 7:01 a.m. OK GNU C++11 TESTS 52 249 4812800 2300
50917023 FlyInTheSky D March 7, 2019, 7 a.m. OK GNU C++11 TESTS 52 249 4812800 2300
50911778 lajiyuan D March 7, 2019, 3:06 a.m. OK GNU C++11 TESTS 52 249 5632000 2300
50911977 lajiyuan D March 7, 2019, 3:16 a.m. OK GNU C++11 TESTS 52 264 5632000 2300
50879928 ytriayggg D March 6, 2019, 8:28 a.m. OK GNU C++14 TESTS 52 264 3993600 2300
53470462 hungbmt1503 D April 28, 2019, 12:29 p.m. OK GNU C++14 TESTS 52 295 3174400 2300
51220385 nddk D March 12, 2019, 12:13 p.m. OK GNU C++14 TESTS 52 295 3993600 2300
50890077 Salix D March 6, 2019, 12:52 p.m. OK GNU C++14 TESTS 52 295 3993600 2300
50917116 zarathu D March 7, 2019, 7:04 a.m. OK GNU C++14 TESTS 52 296 3993600 2300
50925846 100Coke D March 7, 2019, 11:48 a.m. OK GNU C++14 TESTS 52 296 4812800 2300
50863088 vjudge3 D March 5, 2019, 6:58 p.m. OK GNU C++14 TESTS 52 311 3993600 2300
50863071 FlyWhite D March 5, 2019, 6:57 p.m. OK GNU C++14 TESTS 52 311 3993600 2300
50918610 Murabito D March 7, 2019, 7:52 a.m. OK GNU C++14 TESTS 52 311 4812800 2300
50891052 F0_0H D March 6, 2019, 1:12 p.m. OK GNU C++14 TESTS 52 311 24064000 2300
50883323 Megadeth D March 6, 2019, 9:58 a.m. OK GNU C++17 TESTS 52 218 3993600 2300
50992571 kessido D March 8, 2019, 12:17 a.m. OK GNU C++17 TESTS 52 234 3174400 2300
50889195 libra8z D March 6, 2019, 12:33 p.m. OK GNU C++17 TESTS 52 234 3993600 2300
50992679 kessido D March 8, 2019, 12:24 a.m. OK GNU C++17 TESTS 52 249 3174400 2300
50992671 kessido D March 8, 2019, 12:24 a.m. OK GNU C++17 TESTS 52 249 3174400 2300
61787544 S.K D Oct. 3, 2019, 2:52 p.m. OK GNU C++17 TESTS 52 249 3993600 2300
50882943 Megadeth D March 6, 2019, 9:46 a.m. OK GNU C++17 TESTS 52 264 3993600 2300
50888446 compute D March 6, 2019, 12:16 p.m. OK GNU C++17 TESTS 52 265 3993600 2300
50919013 qhqh D March 7, 2019, 8:05 a.m. OK GNU C++17 TESTS 52 265 4812800 2300
51133447 614984177 D March 10, 2019, 2:47 p.m. OK GNU C++17 TESTS 52 280 3993600 2300
50990628 Dukkha D March 7, 2019, 10:10 p.m. OK Java 8 TESTS 52 436 10649600 2300
55693536 aakashjaiswal D June 17, 2019, 7:42 p.m. OK Java 8 TESTS 52 451 10649600 2300
51227200 spar5h D March 12, 2019, 2:36 p.m. OK Java 8 TESTS 52 467 0 2300
50895557 SpargelTarzan D March 6, 2019, 2:54 p.m. OK Java 8 TESTS 52 467 16486400 2300
50923801 IdoItMyWay D March 7, 2019, 10:47 a.m. OK Java 8 TESTS 52 530 23347200 2300
50866309 PrakharJain D March 5, 2019, 8:39 p.m. OK Java 8 TESTS 52 561 0 2300
50863393 4mda4mda D March 5, 2019, 7:07 p.m. OK Java 8 TESTS 52 576 16486400 2300
51005363 tmwilliamlin168 D March 8, 2019, 8:59 a.m. OK Java 8 TESTS 52 577 0 2300
50894786 kusomushi D March 6, 2019, 2:36 p.m. OK Java 8 TESTS 52 577 16076800 2300
50850024 SaveVMK D March 5, 2019, 4:42 p.m. OK Java 8 TESTS 52 592 139059200 2300
50932448 qcwlmqy D March 7, 2019, 2:33 p.m. OK MS C++ TESTS 52 327 5017600 2300
53695342 vjudge3 D May 3, 2019, 7:25 a.m. OK MS C++ TESTS 52 1840 11980800 2300
53687948 vjudge4 D May 3, 2019, 2:34 a.m. OK MS C++ TESTS 52 1949 12288000 2300
53985855 kz20182726kz D May 11, 2019, 9:39 a.m. OK MS C++ TESTS 52 2058 12288000 2300
57928526 vjudge1 D July 29, 2019, 7:57 a.m. OK MS C++ TESTS 52 2370 11161600 2300
53694290 vjudge1 D May 3, 2019, 6:51 a.m. OK MS C++ TESTS 52 2978 11571200 2300
53686935 vjudge2 D May 3, 2019, 1:49 a.m. OK MS C++ TESTS 52 2979 11161600 2300
58328117 ZSTU-2018329621261 D Aug. 5, 2019, 8:27 a.m. OK MS C++ 2017 TESTS 52 358 4812800 2300
51923875 yomyom0824 D March 28, 2019, 6:23 a.m. OK MS C++ 2017 TESTS 52 530 4812800 2300
50920041 GomBu D March 7, 2019, 8:42 a.m. OK MS C++ 2017 TESTS 52 967 5427200 2300
51100313 Stepavly D March 9, 2019, 6:38 p.m. OK MS C++ 2017 TESTS 52 1107 17612800 2300
51024783 dimdem D March 8, 2019, 11:25 a.m. OK MS C++ 2017 TESTS 52 1278 4812800 2300
52494515 Lordxx D April 8, 2019, 1:06 p.m. OK MS C++ 2017 TESTS 52 1949 13619200 2300
53185940 batya_322 D April 23, 2019, 10:21 a.m. OK MS C++ 2017 TESTS 52 2121 11776000 2300
50874315 pajenegod D March 6, 2019, 5:03 a.m. OK PyPy 2 TESTS 52 654 29184000 2300
51389758 shehebe D March 16, 2019, 9:19 p.m. OK PyPy 2 TESTS 52 701 29184000 2300
50873926 pajenegod D March 6, 2019, 4:44 a.m. OK PyPy 3 TESTS 52 608 29491200 2300
50881802 Sevlll D March 6, 2019, 9:13 a.m. OK PyPy 3 TESTS 52 2558 130252800 2300
50874597 pajenegod D March 6, 2019, 5:18 a.m. OK PyPy 3 TESTS 52 2558 130252800 2300
50858178 pajenegod D March 5, 2019, 5:27 p.m. OK PyPy 3 TESTS 52 2651 134246400 2300
50856549 pajenegod D March 5, 2019, 5:17 p.m. OK PyPy 3 TESTS 52 2776 155545600 2300

remove filters

Back to search problems