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 |
|---|---|---|---|---|---|---|
| 737 | Codeforces Round 380 (Div. 1, Rated, Based on Technocup 2017 - Elimination Round 2) | FINISHED | False | 7200 | 296772923 | Nov. 20, 2016, 9:05 a.m. |
Solved |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
|---|---|---|---|---|---|---|
| ( 137 ) | E | Tanya is 5! | PROGRAMMING | graph matchings graphs greedy schedules | 3300 |
Tanya is now five so all her friends gathered together to celebrate her birthday. There are n children on the celebration, including Tanya. The celebration is close to its end, and the last planned attraction is gaming machines. There are m machines in the hall, they are numbered 1 through m . Each of the children has a list of machines he wants to play on. Moreover, for each of the machines he knows the exact time he wants to play on it. For every machine, no more than one child can play on this machine at the same time. It is evening already, so every adult wants to go home. To speed up the process, you can additionally rent second copies of each of the machines. To rent the second copy of the j -th machine, you have to pay p j burles. After you rent a machine, you can use it for as long as you want. How long it will take to make every child play according to his plan, if you have a budget of b burles for renting additional machines? There is only one copy of each machine, so it's impossible to rent a third machine of the same type. The children can interrupt the game in any moment and continue it later. If the i -th child wants to play on the j -th machine, it is allowed after you rent the copy of the j -th machine that this child would play some part of the time on the j -th machine and some part of the time on its copy (each of these parts could be empty). The interruptions and changes take no time and can be performed in any integer moment of time. Of course, a child can't play on more than one machine at the same time. Remember, that it is not needed to save money (no one saves money at the expense of children happiness!), it is needed to minimize the latest moment of time some child ends his game. The first line contains three integers n , m and b ( 1 ≤ n ≤ 40 , 1 ≤ m ≤ 10 , 0 ≤ b ≤ 10 6 ) — the number of children, the number of gaming machines and the budget for renting additional machines. The second line contains m integers p 1 , p 2 , ..., p m |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 22495592 | lukasamkharadze | E | Nov. 25, 2016, 6:27 p.m. | OK | GNU C++ | TESTS | 140 | 31 | 204800 | 3300 | |
| 22385066 | baxbaxa | E | Nov. 21, 2016, 2:11 p.m. | OK | GNU C++ | TESTS | 140 | 46 | 204800 | 3300 | |
| 26864089 | arpit040199 | E | May 4, 2017, 6:06 p.m. | OK | GNU C++ | TESTS | 140 | 514 | 142643200 | 3300 | |
| 23310423 | Los_Angelos_Laycurse | E | Dec. 25, 2016, 1:35 p.m. | OK | GNU C++ | TESTS | 140 | 514 | 144793600 | 3300 | |
| 32125396 | krijgertje | E | Nov. 7, 2017, 4:31 p.m. | OK | GNU C++11 | TESTS | 140 | 15 | 204800 | 3300 | |
| 23358615 | Ali.Pi | E | Dec. 27, 2016, 12:09 p.m. | OK | GNU C++11 | TESTS | 140 | 15 | 2252800 | 3300 | |
| 25411626 | Bioloid | E | March 11, 2017, 4:14 p.m. | OK | GNU C++11 | TESTS | 140 | 15 | 2355200 | 3300 | |
| 23262141 | 014-23309-07-Zhenis | E | Dec. 24, 2016, 3:19 a.m. | OK | GNU C++11 | TESTS | 140 | 30 | 2355200 | 3300 | |
| 50909322 | dragonslayerintraining | E | March 6, 2019, 11:33 p.m. | OK | GNU C++11 | TESTS | 140 | 31 | 0 | 3300 | |
| 22488686 | codemasterisme | E | Nov. 25, 2016, 12:28 p.m. | OK | GNU C++11 | TESTS | 140 | 31 | 204800 | 3300 | |
| 22382449 | A1kuat | E | Nov. 21, 2016, 12:05 p.m. | OK | GNU C++11 | TESTS | 140 | 31 | 204800 | 3300 | |
| 44837804 | vjudge1 | E | Oct. 25, 2018, 11:39 a.m. | OK | GNU C++11 | TESTS | 140 | 31 | 307200 | 3300 | |
| 44525080 | vjudge1 | E | Oct. 19, 2018, 1:21 a.m. | OK | GNU C++11 | TESTS | 140 | 31 | 307200 | 3300 | |
| 40983126 | ReaLNero1 | E | July 30, 2018, 6:44 p.m. | OK | GNU C++11 | TESTS | 140 | 31 | 307200 | 3300 | |
| 22380042 | shanin | E | Nov. 21, 2016, 9:27 a.m. | OK | GNU C++14 | TESTS | 140 | 31 | 307200 | 3300 | |
| 23904294 | MikeMizrayanov | E | Jan. 17, 2017, 2:41 p.m. | OK | GNU C++14 | TESTS | 140 | 31 | 2252800 | 3300 | |
| 22485061 | MusabbirAhmed101 | E | Nov. 25, 2016, 8:40 a.m. | OK | GNU C++14 | TESTS | 140 | 46 | 307200 | 3300 | |
| 22457963 | oyu8201 | E | Nov. 24, 2016, 3:27 a.m. | OK | GNU C++14 | TESTS | 140 | 46 | 307200 | 3300 | |
| 46991732 | vjudge2 | E | Dec. 14, 2018, 5:06 a.m. | OK | GNU C++14 | TESTS | 140 | 358 | 142848000 | 3300 | |
| 24360761 | saliii | E | Feb. 2, 2017, 9:43 a.m. | OK | GNU C++14 | TESTS | 140 | 389 | 144691200 | 3300 | |
| 24584235 | kastarika | E | Feb. 11, 2017, 7:23 a.m. | OK | GNU C++14 | TESTS | 140 | 420 | 144691200 | 3300 | |
| 57549413 | Mr.Robot_28 | E | July 22, 2019, 4:57 p.m. | OK | GNU C++17 | TESTS | 140 | 31 | 204800 | 3300 | |
| 69668142 | gongsuidashen | E | Jan. 28, 2020, 12:06 p.m. | OK | GNU C++17 | TESTS | 140 | 31 | 307200 | 3300 | |
| 57248837 | Benq | E | July 17, 2019, 9:05 p.m. | OK | GNU C++17 | TESTS | 140 | 31 | 409600 | 3300 | |
| 46892952 | Nni | E | Dec. 11, 2018, 7:26 a.m. | OK | GNU C++17 | TESTS | 140 | 31 | 409600 | 3300 | |
| 43539682 | XTyuan | E | Sept. 28, 2018, 4:44 p.m. | OK | GNU C++17 | TESTS | 140 | 31 | 409600 | 3300 | |
| 46892812 | Nni | E | Dec. 11, 2018, 7:22 a.m. | OK | GNU C++17 | TESTS | 140 | 46 | 409600 | 3300 | |
| 46892033 | Nni | E | Dec. 11, 2018, 6:49 a.m. | OK | GNU C++17 | TESTS | 140 | 46 | 409600 | 3300 | |
| 46862000 | Nni | E | Dec. 10, 2018, 4:54 p.m. | OK | GNU C++17 | TESTS | 140 | 46 | 409600 | 3300 | |
| 58144869 | Shayan.P | E | Aug. 1, 2019, 8:19 p.m. | OK | GNU C++17 | TESTS | 140 | 78 | 52940800 | 3300 | |
| 58144902 | Shayan.P | E | Aug. 1, 2019, 8:21 p.m. | OK | GNU C++17 | TESTS | 140 | 93 | 52940800 | 3300 | |
| 23310382 | Los_Angelos_Laycurse | E | Dec. 25, 2016, 1:33 p.m. | OK | MS C++ | TESTS | 140 | 577 | 144384000 | 3300 |
Back to search problems