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
( 4354 ) C Block Towers PROGRAMMING brute force greedy math number theory 1600

B"Students in a class are making towers of blocks. Each student makes a (non-zero) tower by stacking pieces lengthwise on top of each other. n of the students use pieces made of two blocks and m of the students use pieces made of three blocks. The students don xe2 x80 x99t want to use too many blocks, but they also want to be unique, so no two students xe2 x80 x99 towers may contain the same number of blocks. Find the minimum height necessary for the tallest of the students' towers. The first line of the input contains two space-separated integers n and m (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891 xe2 x80 x89000 xe2 x80 x89000, n xe2 x80 x89+ xe2 x80 x89m xe2 x80 x89> xe2 x80 x890) -- the number of students using two-block pieces and the number of students using three-block pieces, respectively. Print a single integer, denoting the minimum possible height of the tallest tower. In the first case, the student using two-block pieces can make a tower of height 4, and the students using three-block pieces can make towers of height 3, 6, and 9 blocks. The tallest tower has a height of 9 blocks. In the second case, the students can make towers of heights 2, 4, and 8 with two-block pieces and towers of heights 3 and 6 with three-block pieces, for a maximum height of 8 blocks."...

Tutorials

23522

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
15995221 Gassa C Feb. 13, 2016, 6:04 p.m. OK D TESTS 78 15 0 1600
16227486 AHTuTTuTyX C Feb. 20, 2016, 11:01 a.m. OK Delphi TESTS 78 46 102400 1600
15998938 kulpet345 C Feb. 13, 2016, 6:31 p.m. OK Delphi TESTS 78 93 0 1600
16021124 Secret_Eagle C Feb. 14, 2016, 4:59 p.m. OK FPC TESTS 78 15 0 1600
16031340 programmer228 C Feb. 15, 2016, 11:02 a.m. OK FPC TESTS 78 15 0 1600
16056478 Highsenberg C Feb. 16, 2016, 1:23 p.m. OK FPC TESTS 78 15 0 1600
16230119 rere123 C Feb. 20, 2016, 1:56 p.m. OK FPC TESTS 78 15 0 1600
15994440 igdor99 C Feb. 13, 2016, 5:58 p.m. OK FPC TESTS 78 15 0 1600
16000828 Krydom_Yuudachi C Feb. 13, 2016, 6:48 p.m. OK FPC TESTS 78 15 0 1600
16004540 zhaoxinyi C Feb. 13, 2016, 7:30 p.m. OK FPC TESTS 78 15 0 1600
16223791 DArk_Knight C Feb. 20, 2016, 6:47 a.m. OK FPC TESTS 78 15 102400 1600
16029709 DarkKeks C Feb. 15, 2016, 9:08 a.m. OK FPC TESTS 78 15 102400 1600
16000867 Umink C Feb. 13, 2016, 6:49 p.m. OK FPC TESTS 78 15 102400 1600
16142841 cty002718 C Feb. 18, 2016, 2:16 p.m. OK GNU C TESTS 78 15 0 1600
16340039 qq834224885 C Feb. 26, 2016, 4:17 a.m. OK GNU C TESTS 78 15 0 1600
16195158 vjudge2 C Feb. 19, 2016, 8:01 a.m. OK GNU C TESTS 78 15 0 1600
16194854 vjudge3 C Feb. 19, 2016, 7:41 a.m. OK GNU C TESTS 78 15 0 1600
16029581 TianyiChen C Feb. 15, 2016, 8:59 a.m. OK GNU C TESTS 78 15 0 1600
16017323 Tom_Cruise C Feb. 14, 2016, 11:52 a.m. OK GNU C TESTS 78 15 0 1600
16017280 Tom_Cruise C Feb. 14, 2016, 11:49 a.m. OK GNU C TESTS 78 15 0 1600
16014176 saumye C Feb. 14, 2016, 7:25 a.m. OK GNU C TESTS 78 15 0 1600
16013844 sgtlaugh C Feb. 14, 2016, 6:53 a.m. OK GNU C TESTS 78 15 0 1600
16013496 nj_1996 C Feb. 14, 2016, 6:20 a.m. OK GNU C TESTS 78 15 0 1600
32066295 vjudge1 C Nov. 5, 2017, 1:53 a.m. OK GNU C++ TESTS 78 15 0 1600
32050141 vjudge5 C Nov. 4, 2017, 10:49 a.m. OK GNU C++ TESTS 78 15 0 1600
32048632 vjudge4 C Nov. 4, 2017, 10:02 a.m. OK GNU C++ TESTS 78 15 0 1600
30619829 vjudge5 C Sept. 22, 2017, 4:02 p.m. OK GNU C++ TESTS 78 15 0 1600
30539050 vjudge4 C Sept. 20, 2017, 8:50 a.m. OK GNU C++ TESTS 78 15 0 1600
30231261 Vasiljko C Sept. 9, 2017, 5:38 p.m. OK GNU C++ TESTS 78 15 0 1600
29817579 vjudge2 C Aug. 27, 2017, 2:10 a.m. OK GNU C++ TESTS 78 15 0 1600
29795546 _DSy C Aug. 26, 2017, 2:44 a.m. OK GNU C++ TESTS 78 15 0 1600
29795519 vjudge2 C Aug. 26, 2017, 2:42 a.m. OK GNU C++ TESTS 78 15 0 1600
29795495 vjudge4 C Aug. 26, 2017, 2:40 a.m. OK GNU C++ TESTS 78 15 0 1600
16031459 Demax C Feb. 15, 2016, 11:11 a.m. OK GNU C11 TESTS 78 15 0 1600
16005006 dohyeokkim C Feb. 13, 2016, 7:35 p.m. OK GNU C11 TESTS 78 15 0 1600
25735908 vjudge1 C March 23, 2017, 2:37 p.m. OK GNU C11 TESTS 78 15 1945600 1600
16989349 Jaquiroman C March 28, 2016, 3:17 p.m. OK GNU C11 TESTS 78 15 2048000 1600
53460256 vjudge4 C April 28, 2019, 6:44 a.m. OK GNU C11 TESTS 78 31 0 1600
64612135 vjudge4 C Nov. 10, 2019, 2:24 a.m. OK GNU C11 TESTS 78 31 0 1600
53824819 vjudge5 C May 6, 2019, 3:23 p.m. OK GNU C11 TESTS 78 31 0 1600
53458520 vjudge4 C April 28, 2019, 5:26 a.m. OK GNU C11 TESTS 78 31 0 1600
18070480 atcle C May 25, 2016, 11:50 a.m. OK GNU C11 TESTS 78 31 2048000 1600
16194178 heartkage C Feb. 19, 2016, 7:02 a.m. OK GNU C11 TESTS 78 31 80179200 1600
27205871 bobob C May 19, 2017, 12:37 a.m. OK GNU C++11 TESTS 78 15 0 1600
32543103 ilikebarryallen C Nov. 22, 2017, 7:42 a.m. OK GNU C++11 TESTS 78 15 0 1600
31963788 cvele C Nov. 1, 2017, 9:56 p.m. OK GNU C++11 TESTS 78 15 0 1600
30860959 Sofyana C Sept. 30, 2017, 9:36 a.m. OK GNU C++11 TESTS 78 15 0 1600
30768382 vjudge2 C Sept. 27, 2017, 5:42 a.m. OK GNU C++11 TESTS 78 15 0 1600
30605219 vjudge18 C Sept. 22, 2017, 3:58 a.m. OK GNU C++11 TESTS 78 15 0 1600
30379916 RNS3 C Sept. 16, 2017, 9:15 a.m. OK GNU C++11 TESTS 78 15 0 1600
29697547 xc01 C Aug. 23, 2017, 4:15 a.m. OK GNU C++11 TESTS 78 15 0 1600
27619570 behnood C June 6, 2017, 6:04 p.m. OK GNU C++11 TESTS 78 15 0 1600
26993642 hetshah1998 C May 10, 2017, 10:12 a.m. OK GNU C++11 TESTS 78 15 0 1600
29730241 iit2015023 C Aug. 24, 2017, 11:50 a.m. OK GNU C++14 TESTS 78 15 0 1600
60653366 vjudge3 C Sept. 15, 2019, 8:46 p.m. OK GNU C++14 TESTS 78 15 0 1600
32429877 hnam288 C Nov. 18, 2017, 12:01 p.m. OK GNU C++14 TESTS 78 15 0 1600
32197517 KhashayarSH C Nov. 10, 2017, 2:20 p.m. OK GNU C++14 TESTS 78 15 0 1600
31187590 Qumeric C Oct. 10, 2017, 11:09 a.m. OK GNU C++14 TESTS 78 15 0 1600
30976593 kush_s C Oct. 3, 2017, 7:08 p.m. OK GNU C++14 TESTS 78 15 0 1600
30970843 pandey11_ C Oct. 3, 2017, 2:59 p.m. OK GNU C++14 TESTS 78 15 0 1600
30379107 RNS_JKS C Sept. 16, 2017, 8:26 a.m. OK GNU C++14 TESTS 78 15 0 1600
30356729 NiroBC C Sept. 15, 2017, 4:43 a.m. OK GNU C++14 TESTS 78 15 0 1600
30087102 Quinas C Sept. 5, 2017, 12:42 a.m. OK GNU C++14 TESTS 78 15 0 1600
37246457 Khaled_Salem C April 12, 2018, 11:06 a.m. OK GNU C++17 TESTS 78 15 3379200 1600
53105114 khalil_2017 C April 21, 2019, 7:15 p.m. OK GNU C++17 TESTS 78 30 0 1600
64612223 vjudge4 C Nov. 10, 2019, 2:28 a.m. OK GNU C++17 TESTS 78 30 0 1600
46916897 meowmeow321 C Dec. 11, 2018, 9:29 p.m. OK GNU C++17 TESTS 78 30 0 1600
47675475 yizhibaiwuya C Dec. 29, 2018, 8:51 a.m. OK GNU C++17 TESTS 78 30 0 1600
48442283 vjudge3 C Jan. 16, 2019, 4:56 a.m. OK GNU C++17 TESTS 78 30 204800 1600
69612401 Igor_2017 C Jan. 27, 2020, 11:59 a.m. OK GNU C++17 TESTS 78 31 0 1600
69619407 TR1CKST3R C Jan. 27, 2020, 2:07 p.m. OK GNU C++17 TESTS 78 31 0 1600
69814649 vjudge4 C Jan. 30, 2020, 5:43 a.m. OK GNU C++17 TESTS 78 31 0 1600
69612231 Igor_2017 C Jan. 27, 2020, 11:55 a.m. OK GNU C++17 TESTS 78 31 0 1600
39449092 201723201401012 C June 21, 2018, 2:07 a.m. OK GNU C++17 Diagnostics TESTS 78 1029 0 1600
39449050 201723201401012 C June 21, 2018, 2:03 a.m. OK GNU C++17 Diagnostics TESTS 78 1044 0 1600
39865068 Anu_coder C July 2, 2018, 10:35 a.m. OK GNU C++17 Diagnostics TESTS 78 1200 7987200 1600
17304297 mengsungwu C April 13, 2016, 3:44 p.m. OK Go TESTS 78 31 102400 1600
16000797 Eeyore C Feb. 13, 2016, 6:48 p.m. OK Go TESTS 78 31 307200 1600
15995683 Martynas C Feb. 13, 2016, 6:06 p.m. OK Go TESTS 78 31 307200 1600
62350458 nks43 C Oct. 11, 2019, 9:08 a.m. OK Go TESTS 78 77 0 1600
16052673 odomontois C Feb. 16, 2016, 8:17 a.m. OK Haskell TESTS 78 15 0 1600
15996259 mipt.vi002 C Feb. 13, 2016, 6:10 p.m. OK Haskell TESTS 78 15 8499200 1600
16052715 odomontois C Feb. 16, 2016, 8:23 a.m. OK Haskell TESTS 78 31 0 1600
16009611 MedoN11 C Feb. 13, 2016, 9:24 p.m. OK Java 7 TESTS 78 108 0 1600
16036350 tyuan73 C Feb. 15, 2016, 4:19 p.m. OK Java 7 TESTS 78 108 0 1600
16018176 tuna C Feb. 14, 2016, 1:05 p.m. OK Java 7 TESTS 78 108 0 1600
16002525 abed.jaradat C Feb. 13, 2016, 7:06 p.m. OK Java 7 TESTS 78 108 0 1600
15999845 KamilBek C Feb. 13, 2016, 6:39 p.m. OK Java 7 TESTS 78 108 0 1600
15996870 nhrubin C Feb. 13, 2016, 6:15 p.m. OK Java 7 TESTS 78 108 0 1600
16481299 MazzForces C March 3, 2016, 11:02 a.m. OK Java 7 TESTS 78 109 0 1600
16186496 fastnoise C Feb. 18, 2016, 8:34 p.m. OK Java 7 TESTS 78 109 0 1600
16013814 Ereke C Feb. 14, 2016, 6:51 a.m. OK Java 7 TESTS 78 109 0 1600
16010207 mIchanic C Feb. 13, 2016, 10:20 p.m. OK Java 7 TESTS 78 109 0 1600
55276757 adeepgarg13 C June 7, 2019, 7:41 p.m. OK Java 8 TESTS 78 109 0 1600
52306167 MaxHeap C April 4, 2019, 12:15 p.m. OK Java 8 TESTS 78 109 0 1600
49171837 alibaba C Jan. 29, 2019, 6:29 p.m. OK Java 8 TESTS 78 109 0 1600
27255876 Tiagocv C May 21, 2017, 12:44 a.m. OK Java 8 TESTS 78 109 0 1600
16225807 henrybear327 C Feb. 20, 2016, 9:06 a.m. OK Java 8 TESTS 78 109 0 1600
16225610 henrybear327 C Feb. 20, 2016, 8:53 a.m. OK Java 8 TESTS 78 109 0 1600
16037416 DaisyCQ C Feb. 15, 2016, 5:26 p.m. OK Java 8 TESTS 78 109 0 1600
16011093 cmeisters C Feb. 14, 2016, 12:59 a.m. OK Java 8 TESTS 78 109 0 1600
16009080 ilya-s C Feb. 13, 2016, 8:50 p.m. OK Java 8 TESTS 78 109 0 1600
16008457 poikniok C Feb. 13, 2016, 8:27 p.m. OK Java 8 TESTS 78 109 0 1600
19683448 vjudge3 C Aug. 7, 2016, 8:51 a.m. OK Mono C# TESTS 78 46 9113600 1600
15995147 kuuso C Feb. 13, 2016, 6:03 p.m. OK Mono C# TESTS 78 62 102400 1600
16007539 wewark C Feb. 13, 2016, 8:02 p.m. OK MS C# TESTS 78 46 0 1600
16018077 ACE347 C Feb. 14, 2016, 12:57 p.m. OK MS C# TESTS 78 46 102400 1600
15995482 og.kostya C Feb. 13, 2016, 6:05 p.m. OK MS C# TESTS 78 61 102400 1600
19683665 vjudge2 C Aug. 7, 2016, 9:04 a.m. OK MS C# TESTS 78 61 9011200 1600
26888298 Sorryforpartyrocking C May 5, 2017, 8:06 p.m. OK MS C# TESTS 78 62 0 1600
16183165 A.B.B C Feb. 18, 2016, 6:13 p.m. OK MS C# TESTS 78 62 0 1600
16030235 Cuellius C Feb. 15, 2016, 9:44 a.m. OK MS C# TESTS 78 62 102400 1600
16043843 TranCongDuy C Feb. 16, 2016, 1:51 a.m. OK MS C# TESTS 78 62 307200 1600
15994176 azukun C Feb. 13, 2016, 5:56 p.m. OK MS C# TESTS 78 62 512000 1600
16009834 DVRazor C Feb. 13, 2016, 9:43 p.m. OK MS C# TESTS 78 62 2457600 1600
32578448 JKSamir C Nov. 23, 2017, 2:51 p.m. OK MS C++ TESTS 78 15 0 1600
16713204 Mosyagin C March 14, 2016, 11:58 a.m. OK MS C++ TESTS 78 15 0 1600
16551057 auth C March 6, 2016, 11:14 a.m. OK MS C++ TESTS 78 15 0 1600
16249890 digao21 C Feb. 20, 2016, 8:17 p.m. OK MS C++ TESTS 78 15 0 1600
16228311 leave_me_alone C Feb. 20, 2016, 12:02 p.m. OK MS C++ TESTS 78 15 0 1600
16137149 orangeade C Feb. 18, 2016, 6:30 a.m. OK MS C++ TESTS 78 15 0 1600
16134798 Death_Knight_DK C Feb. 18, 2016, 1:54 a.m. OK MS C++ TESTS 78 15 0 1600
16131966 isupov C Feb. 17, 2016, 11:22 p.m. OK MS C++ TESTS 78 15 0 1600
19040256 vjudge5 C July 12, 2016, 3:12 a.m. OK MS C++ TESTS 78 15 0 1600
17036144 vjudge2 C March 30, 2016, 2:52 p.m. OK MS C++ TESTS 78 15 0 1600
56832905 Tkachova C July 11, 2019, 7:46 a.m. OK MS C++ 2017 TESTS 78 31 0 1600
65475891 vjudge2 C Nov. 21, 2019, 10:04 a.m. OK MS C++ 2017 TESTS 78 31 0 1600
61819947 vjudge3 C Oct. 4, 2019, 1:44 a.m. OK MS C++ 2017 TESTS 78 31 0 1600
65164368 vjudge3 C Nov. 16, 2019, 12:42 p.m. OK MS C++ 2017 TESTS 78 31 307200 1600
64612208 vjudge2 C Nov. 10, 2019, 2:27 a.m. OK MS C++ 2017 TESTS 78 46 0 1600
16002076 Darooha C Feb. 13, 2016, 7:01 p.m. OK Ocaml TESTS 78 15 0 1600
16210279 s_p C Feb. 19, 2016, 4:34 p.m. OK Perl TESTS 78 919 0 1600
16067797 mayakin C Feb. 17, 2016, 8:29 a.m. OK PHP TESTS 78 202 14950400 1600
15997031 mirs C Feb. 13, 2016, 6:16 p.m. OK PyPy 2 TESTS 78 77 512000 1600
15996839 mrthefakeperson C Feb. 13, 2016, 6:15 p.m. OK PyPy 2 TESTS 78 78 0 1600
19456018 Yash_ C July 28, 2016, 7:02 a.m. OK PyPy 2 TESTS 78 78 0 1600
15997340 avamsi C Feb. 13, 2016, 6:18 p.m. OK PyPy 2 TESTS 78 140 1126400 1600
39785126 aeternalis1 C June 30, 2018, 1:20 a.m. OK PyPy 2 TESTS 78 156 409600 1600
16020724 hellman_ C Feb. 14, 2016, 4:25 p.m. OK PyPy 2 TESTS 78 264 13721600 1600
41633896 Onesh0t C Aug. 15, 2018, 8:45 p.m. OK PyPy 2 TESTS 78 358 35328000 1600
16018526 yougaindra C Feb. 14, 2016, 1:37 p.m. OK PyPy 3 TESTS 78 124 512000 1600
57099097 ashok123 C July 15, 2019, 1:10 p.m. OK PyPy 3 TESTS 78 140 1228800 1600
57098404 ashok123 C July 15, 2019, 12:57 p.m. OK PyPy 3 TESTS 78 140 1228800 1600
16009768 Emberald C Feb. 13, 2016, 9:37 p.m. OK PyPy 3 TESTS 78 171 716800 1600
16009079 SerVasilich C Feb. 13, 2016, 8:50 p.m. OK PyPy 3 TESTS 78 187 614400 1600
16021160 Igorjan94 C Feb. 14, 2016, 5:02 p.m. OK PyPy 3 TESTS 78 218 2457600 1600
16015709 IvayloS C Feb. 14, 2016, 9:38 a.m. OK PyPy 3 TESTS 78 546 16691200 1600
15995988 nwi C Feb. 13, 2016, 6:09 p.m. OK Python 2 TESTS 78 46 0 1600
16000124 coderbd C Feb. 13, 2016, 6:42 p.m. OK Python 2 TESTS 78 61 0 1600
16053025 Hepic_Antony_Skarlatos C Feb. 16, 2016, 8:56 a.m. OK Python 2 TESTS 78 61 0 1600
16030979 masonsbro C Feb. 15, 2016, 10:38 a.m. OK Python 2 TESTS 78 61 0 1600
16001592 aosuka C Feb. 13, 2016, 6:56 p.m. OK Python 2 TESTS 78 61 0 1600
15999200 packwolf C Feb. 13, 2016, 6:33 p.m. OK Python 2 TESTS 78 61 0 1600
15999088 sp765 C Feb. 13, 2016, 6:32 p.m. OK Python 2 TESTS 78 62 0 1600
23812279 inKerra C Jan. 14, 2017, 6:19 p.m. OK Python 2 TESTS 78 62 4608000 1600
16013592 kkyuggu C Feb. 14, 2016, 6:28 a.m. OK Python 2 TESTS 78 187 0 1600
16054419 ArGuTe C Feb. 16, 2016, 11:01 a.m. OK Python 2 TESTS 78 217 0 1600
31177353 yugle7 C Oct. 9, 2017, 8:44 p.m. OK Python 3 TESTS 78 62 0 1600
16398310 tokers C Feb. 28, 2016, 7:32 a.m. OK Python 3 TESTS 78 62 0 1600
16306547 komendart C Feb. 24, 2016, 10:04 a.m. OK Python 3 TESTS 78 62 0 1600
16003275 conqueror_of_tourist C Feb. 13, 2016, 7:15 p.m. OK Python 3 TESTS 78 62 0 1600
16000491 Denzed C Feb. 13, 2016, 6:45 p.m. OK Python 3 TESTS 78 62 0 1600
16000331 ergatis C Feb. 13, 2016, 6:44 p.m. OK Python 3 TESTS 78 62 0 1600
15998070 gurovic C Feb. 13, 2016, 6:24 p.m. OK Python 3 TESTS 78 62 0 1600
15994292 minimario C Feb. 13, 2016, 5:57 p.m. OK Python 3 TESTS 78 62 0 1600
15992999 TsunamiNoLetGo C Feb. 13, 2016, 5:49 p.m. OK Python 3 TESTS 78 62 0 1600
48322240 amirah C Jan. 13, 2019, 9:58 a.m. OK Python 3 TESTS 78 109 0 1600
16003037 kulych C Feb. 13, 2016, 7:12 p.m. OK Ruby TESTS 78 77 0 1600
16006475 jams C Feb. 13, 2016, 7:52 p.m. OK Ruby TESTS 78 764 0 1600
16915653 fido C March 25, 2016, 3:37 a.m. OK Scala TESTS 78 249 39833600 1600
15998694 octaviantuchila14 C Feb. 13, 2016, 6:29 p.m. OK Scala TESTS 78 264 0 1600

remove filters

Back to search problems