Bubble Cup 12 - Finals [Online Mirror, unrated, Div. 2]

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
1219 Bubble Cup 12 - Finals [Online Mirror, unrated, Div. 2] FINISHED False 18000 163268699 Sept. 15, 2019, 1:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 670 ) G Harvester PROGRAMMING implementation 2000

B'It is Bubble Cup finals season and farmer Johnny Bubbles must harvest his bubbles. The bubbles are in a rectangular bubblefield formed of N x M square parcels divided into N rows and M columns. The parcel in i^{th} row and j^{th} column yields A_{i,j} bubbles. Johnny Bubbles has available a very special self-driving bubble harvester that, once manually positioned at the beginning of a row or column, automatically harvests all the bubbles in that row or column. Once the harvester reaches the end of the row or column it stops and must be repositioned. The harvester can pass through any parcel any number of times, but it can collect bubbles from the parcel only once. Johnny is very busy farmer, so he is available to manually position the harvester at most four times per day. Johnny is also impatient, so he wants to harvest as many bubbles as possible on the first day. Please help Johnny to calculate what is the maximum number of bubbles he can collect on the first day. The first line contains two integers N and M ( 1 <= q N , M <= q N * M <= q 10^{5} ) - the bubblefield size. Each of the next N lines contains M integers. The j^{th} element in the i^{th} line is A_{i,j} ( 0 <= q a_{i,j} <= q 10^{9} ) -- the yield of the parcel located in the i^{th} row and the j^{th} column. Output contains one integer number - maximum number of the bubbles Johnny can harvest on the first day. In the first example, farmer Johnny can harvest all the bubbles by positioning the harvester on the first and the second row. In the second example, one way Johnny can harvest maximum number of bubbles is to position the harvester in the second row, the fourth row, the second column and the fourth column. '...

Tutorials

E

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
60712971 Acmer_jibao G Sept. 17, 2019, 9:16 a.m. OK GNU C++11 TESTS 13 46 4403200 2000
64203341 Dream-chasing_Juvenile G Nov. 4, 2019, 12:07 p.m. OK GNU C++11 TESTS 13 62 2048000 2000
63357010 huainan-marquis G Oct. 25, 2019, 3:18 a.m. OK GNU C++11 TESTS 13 62 2457600 2000
65748919 luogu_bot5 G Nov. 26, 2019, 1:16 p.m. OK GNU C++11 TESTS 13 77 2457600 2000
60723862 evanpartidas G Sept. 17, 2019, 1:14 p.m. OK GNU C++11 TESTS 13 77 9216000 2000
65794148 tdkhoa2018 G Nov. 27, 2019, 2:40 a.m. OK GNU C++11 TESTS 13 78 1536000 2000
60752652 sutekine G Sept. 18, 2019, 7:14 a.m. OK GNU C++11 TESTS 13 78 1638400 2000
60642185 Avalon_numeric royyahaha d.j6082013 G Sept. 15, 2019, 3:48 p.m. OK GNU C++11 TESTS 13 78 3584000 2000
64774782 _ShadowSong G Nov. 13, 2019, 3:19 a.m. OK GNU C++11 TESTS 13 78 4505600 2000
64754672 stefan_creasta G Nov. 12, 2019, 4:28 p.m. OK GNU C++11 TESTS 13 78 5427200 2000
60648301 rakati jalalium yez-zain G Sept. 15, 2019, 6:01 p.m. OK GNU C++14 TESTS 13 46 2048000 2000
60641726 aditya097 kanav_7 G Sept. 15, 2019, 3:39 p.m. OK GNU C++14 TESTS 13 46 3993600 2000
61023311 Luzivanlt G Sept. 21, 2019, 3:15 p.m. OK GNU C++14 TESTS 13 46 4812800 2000
60772628 salman69e27 G Sept. 18, 2019, 1:15 p.m. OK GNU C++14 TESTS 13 46 5427200 2000
61367802 13553812325 G Sept. 27, 2019, 2:03 p.m. OK GNU C++14 TESTS 13 46 11468800 2000
60686332 secret_giggle G Sept. 16, 2019, 3:34 p.m. OK GNU C++14 TESTS 13 62 3788800 2000
60780463 ashraf101 G Sept. 18, 2019, 4:06 p.m. OK GNU C++14 TESTS 13 62 3993600 2000
66665251 one2345678 G Dec. 12, 2019, 6:49 a.m. OK GNU C++14 TESTS 13 62 4812800 2000
60642595 Mc_Square WhiteFantasy Superm4n G Sept. 15, 2019, 3:56 p.m. OK GNU C++14 TESTS 13 62 11264000 2000
66607230 silxi G Dec. 10, 2019, 7:08 p.m. OK GNU C++14 TESTS 13 77 921600 2000
62392926 RealFreddy G Oct. 12, 2019, 3:39 a.m. OK GNU C++17 TESTS 13 46 4812800 2000
61826410 ReaLNero1 G Oct. 4, 2019, 4:57 a.m. OK GNU C++17 TESTS 13 46 4812800 2000
60643139 curly_braces msi_deadman G Sept. 15, 2019, 4:07 p.m. OK GNU C++17 TESTS 13 46 4812800 2000
66563668 I_love_chickpea G Dec. 9, 2019, 8:19 p.m. OK GNU C++17 TESTS 13 46 5017600 2000
61550224 squirrel123 G Sept. 30, 2019, 12:11 p.m. OK GNU C++17 TESTS 13 46 7782400 2000
64901880 alexradu04 G Nov. 14, 2019, 7:21 p.m. OK GNU C++17 TESTS 13 61 2355200 2000
66029978 Mon.h G Nov. 30, 2019, 9:50 a.m. OK GNU C++17 TESTS 13 61 3993600 2000
60690476 karasek 2kan G Sept. 16, 2019, 5:07 p.m. OK GNU C++17 TESTS 13 61 5324800 2000
60689893 Van_Vanich G Sept. 16, 2019, 4:54 p.m. OK GNU C++17 TESTS 13 61 6963200 2000
61545370 squirrel123 G Sept. 30, 2019, 10:11 a.m. OK GNU C++17 TESTS 13 61 7782400 2000
60926643 xartishuk G Sept. 20, 2019, 12:28 p.m. OK Go TESTS 13 264 59289600 2000
60927237 xartishuk G Sept. 20, 2019, 12:38 p.m. OK Go TESTS 13 265 50380800 2000
60927522 xartishuk G Sept. 20, 2019, 12:43 p.m. OK Go TESTS 13 280 54681600 2000
60646352 hongquanntct G Sept. 15, 2019, 5:17 p.m. OK Java 8 TESTS 13 140 0 2000
65713970 sansen G Nov. 25, 2019, 3:38 p.m. OK Rust TESTS 13 140 5734400 2000

remove filters

Back to search problems