Bubble Cup 8 - Finals [Online Mirror]

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
575 Bubble Cup 8 - Finals [Online Mirror] FINISHED False 18000 296085604 Sept. 6, 2015, 8 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1047 ) F Bulbo PROGRAMMING dp greedy 2200

B'Bananistan is a beautiful banana republic. Beautiful women in beautiful dresses. Beautiful statues of beautiful warlords. Beautiful stars in beautiful nights. In Bananistan people play this crazy game xe2 x80 x93 Bulbo. There xe2 x80 x99s an array of bulbs and player at the position, which represents one of the bulbs. The distance between two neighboring bulbs is 1. Before each turn player can change his position with cost |posnew xe2 x80 x89- xe2 x80 x89posold|. After that, a contiguous set of bulbs lights-up and player pays the cost that xe2 x80 x99s equal to the distance to the closest shining bulb. Then, all bulbs go dark again. The goal is to minimize your summed cost. I tell you, Bananistanians are spending their nights playing with bulbs. Banana day is approaching, and you are hired to play the most beautiful Bulbo game ever. A huge array of bulbs is installed, and you know your initial position and all the light-ups in advance. You need to play the ideal game and impress Bananistanians, and their families. The first line contains number of turns n and initial position x. Next n lines contain two numbers lstart and lend, which represent that all bulbs from interval [lstart, xe2 x80 x89lend] are shining this turn. Output should contain a single number which represents the best result (minimum cost) that could be obtained by playing this Bulbo game. Before 1. turn move to position 5 Before 2. turn move to position 9 Before 5. turn move to position 8'...

Tutorials

Bubble Cup finals 2015 Results and Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
13111618 xszxxc F Sept. 20, 2015, 8:37 a.m. OK FPC TESTS 12 15 102400 2200
13111450 xszxxc F Sept. 20, 2015, 8:19 a.m. OK FPC TESTS 12 327 204800 2200
12870298 popoffka Alex_2oo8 JustN F Sept. 6, 2015, 12:11 p.m. OK FPC TESTS 12 592 512000 2200
16082194 LyCvel F Feb. 17, 2016, 4:21 p.m. OK GNU C TESTS 12 15 0 2200
12876846 sgtlaugh F Sept. 6, 2015, 7:46 p.m. OK GNU C TESTS 12 436 409600 2200
30937870 none44353 F Oct. 2, 2017, 8:56 a.m. OK GNU C++ TESTS 12 15 0 2200
21006490 jk77 F Sept. 30, 2016, 3:55 a.m. OK GNU C++ TESTS 12 15 0 2200
21005386 Talon_F F Sept. 30, 2016, 2:02 a.m. OK GNU C++ TESTS 12 15 0 2200
20993186 lichang F Sept. 29, 2016, 1:19 p.m. OK GNU C++ TESTS 12 15 0 2200
20438126 qiaozhanrong F Sept. 7, 2016, 2:09 p.m. OK GNU C++ TESTS 12 15 0 2200
19550712 shell0011 F Aug. 1, 2016, 5:20 a.m. OK GNU C++ TESTS 12 15 0 2200
16195197 vjudge2 F Feb. 19, 2016, 8:03 a.m. OK GNU C++ TESTS 12 15 0 2200
16135859 vjudge1 F Feb. 18, 2016, 4:08 a.m. OK GNU C++ TESTS 12 15 0 2200
16135810 vjudge2 F Feb. 18, 2016, 4:02 a.m. OK GNU C++ TESTS 12 15 0 2200
16135285 Janson_Liu F Feb. 18, 2016, 2:50 a.m. OK GNU C++ TESTS 12 15 0 2200
15609892 greenarrow F Jan. 27, 2016, 10:58 a.m. OK GNU C++11 TESTS 12 0 102400 2200
51399279 cheetose F March 17, 2019, 6:26 a.m. OK GNU C++11 TESTS 12 15 0 2200
41011304 hqwhuang F July 31, 2018, 12:47 p.m. OK GNU C++11 TESTS 12 15 0 2200
22678253 A_new_Bui F Dec. 3, 2016, 1:43 p.m. OK GNU C++11 TESTS 12 15 0 2200
16081862 time_is_space F Feb. 17, 2016, 4:01 p.m. OK GNU C++11 TESTS 12 15 0 2200
15326808 joisino F Jan. 13, 2016, 5:55 a.m. OK GNU C++11 TESTS 12 15 0 2200
15142896 HappyNewYearMike F Dec. 31, 2015, 10:49 p.m. OK GNU C++11 TESTS 12 15 0 2200
14649275 Meowww F Dec. 4, 2015, 2:13 p.m. OK GNU C++11 TESTS 12 15 0 2200
14321849 vjudge4 F Nov. 18, 2015, 7:05 a.m. OK GNU C++11 TESTS 12 15 0 2200
13912736 yeahpeng F Oct. 28, 2015, 10:53 a.m. OK GNU C++11 TESTS 12 15 0 2200
27279138 MiFaFaOvO F May 22, 2017, 7:51 a.m. OK GNU C++14 TESTS 12 15 0 2200
20993325 Hermera F Sept. 29, 2016, 1:24 p.m. OK GNU C++14 TESTS 12 15 0 2200
20993232 Steven_Wu F Sept. 29, 2016, 1:20 p.m. OK GNU C++14 TESTS 12 15 0 2200
35894282 _____k_____ F March 3, 2018, 4:18 p.m. OK GNU C++14 TESTS 12 15 1945600 2200
35889173 ______n______ F March 3, 2018, 2:36 p.m. OK GNU C++14 TESTS 12 15 1945600 2200
35888929 ______u______ F March 3, 2018, 2:31 p.m. OK GNU C++14 TESTS 12 15 1945600 2200
35887508 _____i_____ F March 3, 2018, 2:06 p.m. OK GNU C++14 TESTS 12 15 1945600 2200
35884024 ______h______ F March 3, 2018, 1:03 p.m. OK GNU C++14 TESTS 12 15 1945600 2200
35883626 ______k______ F March 3, 2018, 12:57 p.m. OK GNU C++14 TESTS 12 15 1945600 2200
35882797 ______i______ F March 3, 2018, 12:44 p.m. OK GNU C++14 TESTS 12 15 1945600 2200
53311723 ivan100sic F April 26, 2019, 7:18 a.m. OK GNU C++17 TESTS 12 15 0 2200
44379204 david7ch F Oct. 16, 2018, 1:37 a.m. OK GNU C++17 TESTS 12 30 0 2200
66808064 Tosic F Dec. 13, 2019, 11:10 p.m. OK GNU C++17 TESTS 12 31 0 2200
62742711 Rahul F Oct. 16, 2019, 8:20 p.m. OK GNU C++17 TESTS 12 31 0 2200
53646081 continuity F May 1, 2019, 7:06 p.m. OK GNU C++17 TESTS 12 31 0 2200
66215519 ruo F Dec. 3, 2019, 8:43 a.m. OK GNU C++17 TESTS 12 139 819200 2200
55602809 err0r F June 15, 2019, 7:35 p.m. OK GNU C++17 TESTS 12 280 307200 2200
61285839 sudoBug F Sept. 25, 2019, 6:26 p.m. OK GNU C++17 TESTS 12 327 716800 2200
50419169 _Ore_ F Feb. 24, 2019, 8:10 a.m. OK GNU C++17 TESTS 12 373 307200 2200
42091604 Dalgerok F Aug. 25, 2018, 1:34 p.m. OK GNU C++17 TESTS 12 421 409600 2200
20559328 Setsuna_s_eiei F Sept. 13, 2016, 3:04 a.m. OK Go TESTS 12 592 204800 2200
12997446 paresh F Sept. 14, 2015, 3:33 p.m. OK Java 7 TESTS 12 77 0 2200
13780251 s9ferech F Oct. 21, 2015, 7:29 p.m. OK Java 7 TESTS 12 124 0 2200
13614746 alibaba F Oct. 14, 2015, 8:29 p.m. OK Java 7 TESTS 12 748 0 2200
12868696 Slamur F Sept. 6, 2015, 11:19 a.m. OK Java 7 TESTS 12 982 0 2200
12866279 cvm F Sept. 6, 2015, 10 a.m. OK Java 7 TESTS 12 982 0 2200
12872458 Slamur F Sept. 6, 2015, 1:12 p.m. OK Java 7 TESTS 12 998 0 2200
12863651 alexey.enkov F Sept. 6, 2015, 8:50 a.m. OK Java 8 TESTS 12 108 0 2200
39779481 unicorn20141 F June 29, 2018, 7:09 p.m. OK Java 8 TESTS 12 139 0 2200
12874875 coderbd F Sept. 6, 2015, 4:16 p.m. OK Java 8 TESTS 12 140 0 2200
12868627 av_life F Sept. 6, 2015, 11:16 a.m. OK Java 8 TESTS 12 171 0 2200
12869564 tideline k-on.mio skyrim F Sept. 6, 2015, 11:47 a.m. OK Java 8 TESTS 12 405 0 2200
13333180 mashinist F Oct. 1, 2015, 4:50 p.m. OK Java 8 TESTS 12 858 0 2200
12865121 tanzaku uwi F Sept. 6, 2015, 9:27 a.m. OK Java 8 TESTS 12 936 0 2200
12863040 Lewin F Sept. 6, 2015, 8:36 a.m. OK Java 8 TESTS 12 951 0 2200
12872267 og.kostya F Sept. 6, 2015, 1:04 p.m. OK MS C# TESTS 12 46 204800 2200
12865665 azukun F Sept. 6, 2015, 9:43 a.m. OK MS C# TESTS 12 733 4915200 2200
12875208 camypaper F Sept. 6, 2015, 4:51 p.m. OK MS C# TESTS 12 748 3072000 2200
18892179 wings_forever F July 5, 2016, 3:10 a.m. OK MS C++ TESTS 12 15 0 2200
14123613 wxc1347 F Nov. 7, 2015, 12:14 p.m. OK MS C++ TESTS 12 15 0 2200
13137960 AleksanderBalobanov F Sept. 22, 2015, 9:19 a.m. OK MS C++ TESTS 12 15 0 2200
12944882 anandakirtan F Sept. 10, 2015, 6:22 p.m. OK MS C++ TESTS 12 15 0 2200
12879325 innok96 F Sept. 7, 2015, 3:12 a.m. OK MS C++ TESTS 12 15 0 2200
12873322 yanush F Sept. 6, 2015, 2:01 p.m. OK MS C++ TESTS 12 15 0 2200
12868763 vviital NuM artyom.kuis F Sept. 6, 2015, 11:21 a.m. OK MS C++ TESTS 12 15 0 2200
16069682 vjudge3 F Feb. 17, 2016, 11:19 a.m. OK MS C++ TESTS 12 30 0 2200
12957910 chiyar F Sept. 11, 2015, 11:45 a.m. OK MS C++ TESTS 12 30 0 2200
12881302 tangshitao F Sept. 7, 2015, 7:55 a.m. OK MS C++ TESTS 12 30 204800 2200
65955788 pajenegod F Nov. 29, 2019, 12:46 p.m. OK PyPy 2 TESTS 12 140 1433600 2200

remove filters

Back to search problems