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 |
|---|---|---|---|---|---|---|
| 1250 | 2019-2020 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Teams Preferred) | FINISHED | False | 18000 | 204236723 | Oct. 27, 2019, 9:35 a.m. |
Solved |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
|---|---|---|---|---|---|---|
| ( 171 ) | I | Show Must Go On | PROGRAMMING | binary search brute force greedy shortest paths | 3100 |
The director of the famous dance show plans a tour. It is already decided that the tour will consist of up to (m) concerts. There are (n) dancers in the troupe. Each dancer is characterized by her awkwardness: the awkwardness of the (i)-th dancer is equal to (a_i). The director likes diversity. For this reason, each concert will be performed by a different set of dancers. A dancer may perform in multiple concerts. For example, it is possible that a set of dancers performs in one concert and a subset of this set of dancers performs in another concert. The only constraint is that the same set of dancers cannot perform twice. The director prefers the set with larger number of dancers over the set with smaller number of dancers. If two sets consist of the same number of dancers, then the director prefers the one which has smaller sum of awkwardness of dancers. If two sets of dancers are equal in size and total awkwardness, then the director does not have a preference which one is better. A marketing study shows that viewers are not ready to come to a concert if the total awkwardness of all the dancers performing in the concert is greater than (k). The director wants to find the best plan for (m) concerts. He thinks to write down all possible sets of dancers; then get rid of the sets with total awkwardness greater than (k). The remaining sets of dancers will be sorted according to his preference. The most preferred set of dancers will give the first concert, the second preferred set — the second concert and so on until the (m)-th concert. If it turns out that the total number of valid sets is less than (m), then the total number of concerts will be equal to the number of valid sets. It turns out that the director delegated finding the plan to you! Please, notice that there might be several acceptable plans due to the fact that the director does not have a preference over sets of dancers with the same size and total awkwardnes |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 68311779 | mocania | I | Jan. 6, 2020, 11:30 a.m. | OK | GNU C++11 | TESTS | 35 | 826 | 95027200 | 3100 | |
| 63646378 | HanwhaEagles | I | Oct. 28, 2019, 9:50 a.m. | OK | GNU C++11 | TESTS | 35 | 1013 | 85913600 | 3100 | |
| 63957665 | vjudge3 | I | Nov. 1, 2019, 3:04 a.m. | OK | GNU C++11 | TESTS | 35 | 1076 | 103321600 | 3100 | |
| 64320234 | danya090699 | I | Nov. 5, 2019, 3:24 p.m. | OK | GNU C++11 | TESTS | 35 | 1154 | 116224000 | 3100 | |
| 66532128 | WZYYN | I | Dec. 9, 2019, 7:54 a.m. | OK | GNU C++11 | TESTS | 35 | 1185 | 75059200 | 3100 | |
| 64077934 | 8300590 FrostStar liyang21 | I | Nov. 2, 2019, 9:18 a.m. | OK | GNU C++11 | TESTS | 35 | 1263 | 174182400 | 3100 | |
| 63554626 | panole zx2003 | I | Oct. 27, 2019, 12:32 p.m. | OK | GNU C++11 | TESTS | 35 | 2074 | 144896000 | 3100 | |
| 64320838 | NoTeamName | I | Nov. 5, 2019, 3:35 p.m. | OK | GNU C++14 | TESTS | 35 | 1091 | 73318400 | 3100 | |
| 63560373 | lamejeck Zoli9 | I | Oct. 27, 2019, 2:05 p.m. | OK | GNU C++14 | TESTS | 35 | 1107 | 87449600 | 3100 | |
| 64524793 | ItIsNotForRating | I | Nov. 8, 2019, 1:27 p.m. | OK | GNU C++14 | TESTS | 35 | 1169 | 72396800 | 3100 | |
| 64591139 | Roundgod | I | Nov. 9, 2019, 2:49 p.m. | OK | GNU C++14 | TESTS | 35 | 1184 | 101990400 | 3100 | |
| 63837109 | oipotato Subconscious chenjb | I | Oct. 30, 2019, 2:10 p.m. | OK | GNU C++14 | TESTS | 35 | 1200 | 144896000 | 3100 | |
| 63768227 | Batrr | I | Oct. 30, 2019, 6:59 a.m. | OK | GNU C++14 | TESTS | 35 | 1248 | 140902400 | 3100 | |
| 63748102 | imAnik | I | Oct. 29, 2019, 7:12 p.m. | OK | GNU C++14 | TESTS | 35 | 1263 | 209612800 | 3100 | |
| 67311608 | baohiep | I | Dec. 21, 2019, 3:19 a.m. | OK | GNU C++14 | TESTS | 35 | 1278 | 82944000 | 3100 | |
| 63965201 | sajibreadd | I | Nov. 1, 2019, 6:54 a.m. | OK | GNU C++14 | TESTS | 35 | 1278 | 92160000 | 3100 | |
| 63755038 | MiFaFaOvO | I | Oct. 29, 2019, 10:39 p.m. | OK | GNU C++14 | TESTS | 35 | 1325 | 102912000 | 3100 | |
| 63646124 | zscoder | I | Oct. 28, 2019, 9:44 a.m. | OK | GNU C++17 | TESTS | 35 | 1169 | 72396800 | 3100 | |
| 65452895 | krijgertje | I | Nov. 20, 2019, 6:54 p.m. | OK | GNU C++17 | TESTS | 35 | 1169 | 96665600 | 3100 | |
| 63936635 | mnbvmar Radewoosh | I | Oct. 31, 2019, 4:04 p.m. | OK | GNU C++17 | TESTS | 35 | 1263 | 44851200 | 3100 | |
| 63668168 | Benq | I | Oct. 28, 2019, 4:02 p.m. | OK | GNU C++17 | TESTS | 35 | 1263 | 95846400 | 3100 | |
| 66203008 | yhchang3 | I | Dec. 2, 2019, 10:55 p.m. | OK | GNU C++17 | TESTS | 35 | 1279 | 130560000 | 3100 | |
| 66597678 | Kuroni | I | Dec. 10, 2019, 3:18 p.m. | OK | GNU C++17 | TESTS | 35 | 1294 | 90931200 | 3100 | |
| 63610531 | sigma425 | I | Oct. 27, 2019, 5:01 p.m. | OK | GNU C++17 | TESTS | 35 | 1341 | 70860800 | 3100 | |
| 63663899 | YangDavid | I | Oct. 28, 2019, 2:40 p.m. | OK | GNU C++17 | TESTS | 35 | 1341 | 253542400 | 3100 | |
| 64515370 | zhangqingqi | I | Nov. 8, 2019, 10:31 a.m. | OK | GNU C++17 | TESTS | 35 | 1357 | 221696000 | 3100 | |
| 63712908 | badcw | I | Oct. 29, 2019, 10:38 a.m. | OK | GNU C++17 | TESTS | 35 | 1403 | 111718400 | 3100 | |
| 63539993 | I | Oct. 27, 2019, 9:06 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 3100 |
Back to search problems