Helvetic Coding Contest 2019 online mirror (teams allowed, unrated)

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
1184 Helvetic Coding Contest 2019 online mirror (teams allowed, unrated) FINISHED False 16200 174956087 July 7, 2019, 7:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 174 ) B3 The Doctor Meets Vader (Hard) PROGRAMMING flows shortest paths 2700

B'The rebels have saved enough gold to launch a full-scale attack. Now the situation is flipped, the rebels will send out the spaceships to attack the Empire bases! The galaxy can be represented as an undirected graph with n planets (nodes) and m wormholes (edges), each connecting two planets. A total of s rebel spaceships and b empire bases are located at different planets in the galaxy. Each spaceship is given a location x , denoting the index of the planet on which it is located, an attacking strength a , a certain amount of fuel f , and a price to operate p . Each base is given a location x , a defensive strength d , and a certain amount of gold g . A spaceship can attack a base if both of these conditions hold: The rebels are very proud fighters. So, if a spaceship cannot attack any base, no rebel pilot will accept to operate it. If a spaceship is operated, the profit generated by that spaceship is equal to the gold of the base it attacks minus the price to operate the spaceship. Note that this might be negative. A spaceship that is operated will attack the base that maximizes its profit. Darth Vader likes to appear rich at all times. Therefore, whenever a base is attacked and its gold stolen, he makes sure to immediately refill that base with gold. Therefore, for the purposes of the rebels, multiple spaceships can attack the same base, in which case each spaceship will still receive all the gold of that base. The rebels have tasked Heidi and the Doctor to decide which set of spaceships to operate in order to maximize the total profit. However, as the war has been going on for a long time, the pilots have formed unbreakable bonds, and some of them refuse to operate spaceships if their friends are not also operating spaceships. They have a list of k dependencies of the form s_1, s_2 , denoting that spaceship s_1 can be operated only if spaceship s_2 is also operated. The f'...

Tutorials

helvetic-coding-contest-2019-editorial.pdf

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
56710874 LJZ_C B3 July 8, 2019, 12:42 p.m. OK GNU C++11 TESTS 64 77 16179200 2700
56664380 KawamotoHinata yyf0309 KiriyamaRei B3 July 7, 2019, 10:49 a.m. OK GNU C++11 TESTS 61 109 13414400 2700
56659425 cuizhuyefei MarkF zx2003 B3 July 7, 2019, 9:26 a.m. OK GNU C++11 TESTS 61 109 75059200 2700
56674705 wiwitrifai B3 July 7, 2019, 2:52 p.m. OK GNU C++11 TESTS 64 139 4505600 2700
58165733 forxen B3 Aug. 2, 2019, 8:58 a.m. OK GNU C++11 TESTS 64 140 25395200 2700
56656129 Panole233 _Happy_New_Year_ snowflake B3 July 7, 2019, 8:41 a.m. OK GNU C++11 TESTS 61 171 7987200 2700
56674129 FluffyBunnyT B3 July 7, 2019, 2:36 p.m. OK GNU C++11 TESTS 62 171 23040000 2700
56667833 mmmod_lqs B3 July 7, 2019, 11:45 a.m. OK GNU C++11 TESTS 61 186 23040000 2700
56775249 nh_dantz B3 July 10, 2019, 2:12 a.m. OK GNU C++11 TESTS 64 311 45875200 2700
56658733 Bruteforceman B3 July 7, 2019, 9:16 a.m. OK GNU C++11 TESTS 61 436 24166400 2700
56668475 wiwitrifai B3 July 7, 2019, 11:59 a.m. OK GNU C++14 TESTS 61 171 4608000 2700
56665204 wiwitrifai B3 July 7, 2019, 11:01 a.m. OK GNU C++14 TESTS 61 187 4608000 2700
57007437 Zoli9 B3 July 14, 2019, 7:31 a.m. OK GNU C++14 TESTS 64 234 12595200 2700
56660211 dorijanlendvaj tmwilliamlin168 B3 July 7, 2019, 9:39 a.m. OK GNU C++14 TESTS 61 249 19353600 2700
56662753 lumibons fleimgruber atacan B3 July 7, 2019, 10:22 a.m. OK GNU C++14 TESTS 61 280 25190400 2700
56662940 jcg B3 July 7, 2019, 10:26 a.m. OK GNU C++14 TESTS 61 296 15974400 2700
56667497 hank55663 B3 July 7, 2019, 11:34 a.m. OK GNU C++14 TESTS 61 296 16691200 2700
56662049 krijgertje B3 July 7, 2019, 10:10 a.m. OK GNU C++14 TESTS 61 327 15052800 2700
56661207 Anadi Rzepa B3 July 7, 2019, 9:56 a.m. OK GNU C++14 TESTS 61 343 18432000 2700
59642858 1114057228 B3 Aug. 29, 2019, 3:24 a.m. OK GNU C++14 TESTS 64 358 51609600 2700
56885588 Rpd-Strike theodor.moroianu B3 July 12, 2019, 12:26 p.m. OK GNU C++17 TESTS 64 171 5324800 2700
56662034 waynetuinfor edisonhello skylinebaby B3 July 7, 2019, 10:10 a.m. OK GNU C++17 TESTS 61 187 18534400 2700
56888931 theodor.moroianu B3 July 12, 2019, 2:04 p.m. OK GNU C++17 TESTS 64 202 12902400 2700
56661005 IceLady KrK B3 July 7, 2019, 9:53 a.m. OK GNU C++17 TESTS 61 217 6860800 2700
56871968 yhchang3 B3 July 12, 2019, 6:48 a.m. OK GNU C++17 TESTS 64 233 4505600 2700
60427663 RNS_JKS RNS_KSB B3 Sept. 12, 2019, 8:27 a.m. OK GNU C++17 TESTS 64 233 7987200 2700
56657150 hos.lyric maroonrk B3 July 7, 2019, 8:54 a.m. OK GNU C++17 TESTS 61 233 14643200 2700
56658796 Farhod_Farmon the_art_of_war B3 July 7, 2019, 9:17 a.m. OK GNU C++17 TESTS 61 233 14848000 2700
57111549 ivan100sic B3 July 15, 2019, 5:41 p.m. OK GNU C++17 TESTS 64 234 12800000 2700
57166831 ericxu0 B3 July 16, 2019, 11:49 p.m. OK GNU C++17 TESTS 64 249 19046400 2700
56822673 yhchang3 Suzukaze B3 July 11, 2019, 1:57 a.m. OK Java 8 TESTS 64 451 7884800 2700
56659280 niyaznigmatul B3 July 7, 2019, 9:24 a.m. OK Java 8 TESTS 61 701 48332800 2700
58381319 7dan B3 Aug. 6, 2019, 10:07 a.m. OK Java 8 TESTS 64 2745 37683200 2700
58381003 7dan B3 Aug. 6, 2019, 9:59 a.m. OK Java 8 TESTS 64 2776 55910400 2700
58370673 7dan B3 Aug. 6, 2019, 6:26 a.m. OK Java 8 TESTS 64 2822 55910400 2700
58083774 7dan B3 July 31, 2019, 2:46 p.m. OK Java 8 TESTS 64 3774 55910400 2700

remove filters

Back to search problems