8VC Venture Cup 2016 - Elimination Round

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
626 8VC Venture Cup 2016 - Elimination Round FINISHED False 9000 276438299 Feb. 13, 2016, 5:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2927 ) F Group Projects PROGRAMMING dp 2400

B'There are n students in a class working on group projects. The students will divide into groups (some students may be in groups alone), work on their independent pieces, and then discuss the results together. It takes the i-th student ai minutes to finish his/her independent piece. If students work at different paces, it can be frustrating for the faster students and stressful for the slower ones. In particular, the imbalance of a group is defined as the maximum ai in the group minus the minimum ai in the group. Note that a group containing a single student has an imbalance of 0. How many ways are there for the students to divide into groups so that the total imbalance of all groups is at most k? Two divisions are considered distinct if there exists a pair of students who work in the same group in one division but different groups in the other. The first line contains two space-separated integers n and k (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89200, 0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891000) -- the number of students and the maximum total imbalance allowed, respectively. The second line contains n space-separated integers ai (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ai xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89500) -- the time it takes the i-th student to complete his/her independent piece of work. Print a single integer, the number of ways the students can form groups. As the answer may be large, print its value modulo 109 xe2 x80 x89+ xe2 x80 x897. In the first sample, we have three options: In the third sample, the total imbalance must be 0, so each student must work individually.'...

Tutorials

23522

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
16001730 Gassa F Feb. 13, 2016, 6:58 p.m. OK D TESTS 66 311 184115200 2400
16054544 igdor99 F Feb. 16, 2016, 11:10 a.m. OK FPC TESTS 66 529 165580800 2400
16013818 sgtlaugh F Feb. 14, 2016, 6:52 a.m. OK GNU C TESTS 66 311 162099200 2400
18968378 TsReaper F July 8, 2016, 11:30 a.m. OK GNU C TESTS 66 1185 3379200 2400
23639674 Minology F Jan. 8, 2017, 4:19 a.m. OK GNU C++ TESTS 66 62 91750400 2400
40985170 ReaLNero1 F July 30, 2018, 7:47 p.m. OK GNU C++ TESTS 66 78 819200 2400
16010292 yubowenok F Feb. 13, 2016, 10:33 p.m. OK GNU C++ TESTS 66 78 819200 2400
16036860 natsukagami F Feb. 15, 2016, 4:53 p.m. OK GNU C++ TESTS 66 78 81408000 2400
28351333 xzyxzy F July 7, 2017, 2:34 p.m. OK GNU C++ TESTS 66 93 3686400 2400
17180859 Arturia F April 6, 2016, 6:10 a.m. OK GNU C++ TESTS 66 93 5324800 2400
18910983 AkaneSasu F July 6, 2016, 3:48 a.m. OK GNU C++ TESTS 66 108 3072000 2400
16009626 nwi F Feb. 13, 2016, 9:26 p.m. OK GNU C++ TESTS 66 109 1536000 2400
17926659 y0rkl1u F May 16, 2016, 4:08 a.m. OK GNU C++ TESTS 66 109 182579200 2400
32072284 Puredigital F Nov. 5, 2017, 9:34 a.m. OK GNU C++ TESTS 66 124 3379200 2400
69161935 jschr F Jan. 20, 2020, 12:41 a.m. OK GNU C11 TESTS 66 312 3276800 2400
16029451 dhh1995 F Feb. 15, 2016, 8:49 a.m. OK GNU C++11 TESTS 66 93 1638400 2400
16001006 matthew99 F Feb. 13, 2016, 6:50 p.m. OK GNU C++11 TESTS 66 93 169267200 2400
17305188 AomeII F April 13, 2016, 4:46 p.m. OK GNU C++11 TESTS 66 93 169267200 2400
45413142 luogu_bot2 F Nov. 7, 2018, 12:56 p.m. OK GNU C++11 TESTS 66 108 1945600 2400
15998874 kcm1700 F Feb. 13, 2016, 6:30 p.m. OK GNU C++11 TESTS 66 109 614400 2400
16067984 romanandreev F Feb. 17, 2016, 8:44 a.m. OK GNU C++11 TESTS 66 109 819200 2400
16068042 romanandreev F Feb. 17, 2016, 8:49 a.m. OK GNU C++11 TESTS 66 109 819200 2400
22857842 kybconnor F Dec. 10, 2016, 2:23 p.m. OK GNU C++11 TESTS 66 109 3276800 2400
63630285 sshwyR F Oct. 28, 2019, 6:04 a.m. OK GNU C++11 TESTS 66 109 4096000 2400
58388451 vjudge1 F Aug. 6, 2019, 12:51 p.m. OK GNU C++11 TESTS 66 124 1433600 2400
67839171 tbzard F Dec. 28, 2019, 7:11 p.m. OK GNU C++14 TESTS 66 109 819200 2400
54873158 ae04071 F May 31, 2019, 10:25 a.m. OK GNU C++14 TESTS 66 109 1024000 2400
26491995 felix F April 19, 2017, 9:09 a.m. OK GNU C++14 TESTS 66 109 3686400 2400
24595160 Valiors F Feb. 11, 2017, 6:19 p.m. OK GNU C++14 TESTS 66 109 169369600 2400
34569459 RockyB F Jan. 26, 2018, 8:20 a.m. OK GNU C++14 TESTS 66 109 174796800 2400
31499550 unbelievable02 F Oct. 19, 2017, 6:56 a.m. OK GNU C++14 TESTS 66 109 264908800 2400
32149204 BackOnTrack F Nov. 9, 2017, 1:19 a.m. OK GNU C++14 TESTS 66 124 219136000 2400
32150719 BackOnTrack F Nov. 9, 2017, 4:02 a.m. OK GNU C++14 TESTS 66 124 219136000 2400
44014638 dragoon F Oct. 8, 2018, 8:07 p.m. OK GNU C++14 TESTS 66 139 1638400 2400
45588053 afrizal F Nov. 12, 2018, 10:25 a.m. OK GNU C++14 TESTS 66 139 223129600 2400
64858318 xiaowuc1 F Nov. 14, 2019, 1:13 a.m. OK GNU C++17 TESTS 66 124 819200 2400
48902635 rosi F Jan. 24, 2019, 6:43 p.m. OK GNU C++17 TESTS 66 139 3584000 2400
57614040 vamaddur F July 23, 2019, 11:47 p.m. OK GNU C++17 TESTS 66 139 8806400 2400
61838114 Umi F Oct. 4, 2019, 8:42 a.m. OK GNU C++17 TESTS 66 140 819200 2400
41939420 VladaMG98 F Aug. 21, 2018, 2:31 p.m. OK GNU C++17 TESTS 66 140 1740800 2400
51936188 BinGoo0o0o F March 28, 2019, 12:35 p.m. OK GNU C++17 TESTS 66 140 177664000 2400
53838985 hunghoang F May 7, 2019, 6:02 a.m. OK GNU C++17 TESTS 66 155 165478400 2400
53856374 trinam F May 7, 2019, 4:25 p.m. OK GNU C++17 TESTS 66 155 165478400 2400
53839034 vjudge2 F May 7, 2019, 6:05 a.m. OK GNU C++17 TESTS 66 155 165478400 2400
69616756 ruo F Jan. 27, 2020, 1:18 p.m. OK GNU C++17 TESTS 66 155 168652800 2400
16023621 Martynas F Feb. 14, 2016, 8:13 p.m. OK Go TESTS 66 1123 3481600 2400
16256754 baukaman F Feb. 21, 2016, 10:38 a.m. OK Java 7 TESTS 66 436 0 2400
16008687 lucasr F Feb. 13, 2016, 8:35 p.m. OK Java 7 TESTS 66 452 137728000 2400
16009994 Aidos F Feb. 13, 2016, 9:57 p.m. OK Java 7 TESTS 66 779 140902400 2400
15999923 winger F Feb. 13, 2016, 6:40 p.m. OK Java 7 TESTS 66 1450 1536000 2400
16000240 Petr F Feb. 13, 2016, 6:43 p.m. OK Java 8 TESTS 66 295 0 2400
34563106 tmwilliamlin168 F Jan. 26, 2018, 3:21 a.m. OK Java 8 TESTS 66 312 20684800 2400
16002652 mmaxio F Feb. 13, 2016, 7:08 p.m. OK Java 8 TESTS 66 373 0 2400
16080067 Sinner F Feb. 17, 2016, 2:16 p.m. OK Java 8 TESTS 66 436 0 2400
16021155 antonkov F Feb. 14, 2016, 5:02 p.m. OK Java 8 TESTS 66 436 0 2400
16063913 Augustynn F Feb. 17, 2016, 12:21 a.m. OK Java 8 TESTS 66 436 163123200 2400
16016198 vsb F Feb. 14, 2016, 10:11 a.m. OK Java 8 TESTS 66 451 0 2400
16034377 harry.zhao F Feb. 15, 2016, 2:20 p.m. OK Java 8 TESTS 66 467 0 2400
16063336 Augustynn F Feb. 16, 2016, 10:42 p.m. OK Java 8 TESTS 66 514 163123200 2400
16339538 flyman3046 F Feb. 26, 2016, 2:33 a.m. OK Java 8 TESTS 66 561 0 2400
16049943 azukun F Feb. 16, 2016, 6:44 a.m. OK MS C# TESTS 66 732 8908800 2400
63626003 tyf0530 F Oct. 28, 2019, 3:46 a.m. OK MS C++ TESTS 66 155 1638400 2400
63625932 tyf0530 F Oct. 28, 2019, 3:42 a.m. OK MS C++ TESTS 66 156 4096000 2400
53835138 vjudge1 F May 7, 2019, 1:47 a.m. OK MS C++ TESTS 66 170 165478400 2400
62934227 vjudge2 F Oct. 19, 2019, 1:36 p.m. OK MS C++ TESTS 66 202 3276800 2400
53856012 vjudge4 F May 7, 2019, 4:16 p.m. OK MS C++ TESTS 66 202 165478400 2400
16008130 vml F Feb. 13, 2016, 8:20 p.m. OK MS C++ TESTS 66 217 249753600 2400
16018944 PolyProgrammist F Feb. 14, 2016, 2:07 p.m. OK MS C++ TESTS 66 218 5120000 2400
16645266 sister_what_hate_most F March 11, 2016, 8:49 a.m. OK MS C++ TESTS 66 249 178483200 2400
16825438 AleksanderBalobanov F March 19, 2016, 6:35 p.m. OK MS C++ TESTS 66 373 182476800 2400
15999388 izban F Feb. 13, 2016, 6:35 p.m. OK MS C++ TESTS 66 405 169267200 2400
57144010 xzjisme F July 16, 2019, 12:15 p.m. OK MS C++ 2017 TESTS 66 576 178483200 2400
57368352 xzjisme F July 20, 2019, 9:56 a.m. OK MS C++ 2017 TESTS 66 1013 178483200 2400

remove filters

Back to search problems