Helvetic Coding Contest 2018 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
958 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) FINISHED False 18000 208133699 April 14, 2018, 7:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3440 ) B1 Maximum Control (easy) PROGRAMMING implementation 1100

B'The Resistance is trying to take control over all planets in a particular solar system. This solar system is shaped like a tree. More precisely, some planets are connected by bidirectional hyperspace tunnels in such a way that there is a path between every pair of the planets, but removing any tunnel would disconnect some of them. The Resistance already has measures in place that will, when the time is right, enable them to control every planet that is not remote. A planet is considered to be remote if it is connected to the rest of the planets only via a single hyperspace tunnel. How much work is there left to be done: that is, how many remote planets are there? The first line of the input contains an integer N (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89N xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891000) xe2 x80 x93 the number of planets in the galaxy. The next N xe2 x80 x89- xe2 x80 x891 lines describe the hyperspace tunnels between the planets. Each of the N xe2 x80 x89- xe2 x80 x891 lines contains two space-separated integers u and v (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89u, xe2 x80 x89v xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89N) indicating that there is a bidirectional hyperspace tunnel between the planets u and v. It is guaranteed that every two planets are connected by a path of tunnels, and that each tunnel connects a different pair of planets. A single integer denoting the number of remote planets. In the first example, only planets 2, 3 and 5 are connected by a single tunnel. In the second example, the remote planets are 2 and 3. Note that this problem has only two versions xe2 x80 x93 easy and medium. '...

Tutorials

helvetic-coding-contest-2018-editorial.pdf

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
52527742 ruban B1 April 9, 2019, 12:12 p.m. OK Delphi TESTS 9 30 41676800 1100
37316491 nhathuy_313 vuong123478 B1 April 14, 2018, 8:26 a.m. OK FPC TESTS 9 15 3072000 1100
37312285 ywr wh030115 B1 April 14, 2018, 7:30 a.m. OK FPC TESTS 9 31 4096000 1100
38686859 Matsh B1 May 28, 2018, 7:11 a.m. OK GNU C TESTS 9 15 0 1100
37322785 Caforce B1 April 14, 2018, 10:23 a.m. OK GNU C TESTS 9 15 3276800 1100
37312125 Mifta B1 April 14, 2018, 7:28 a.m. OK GNU C TESTS 9 15 3276800 1100
37323720 Akib_12 B1 April 14, 2018, 10:44 a.m. OK GNU C TESTS 9 15 3276800 1100
37312817 ink-haze B1 April 14, 2018, 7:37 a.m. OK GNU C TESTS 9 15 3276800 1100
37312352 teodortatomir256 B1 April 14, 2018, 7:31 a.m. OK GNU C TESTS 9 15 3276800 1100
37314769 cans B1 April 14, 2018, 8:02 a.m. OK GNU C TESTS 9 15 3276800 1100
37315238 RituRaj2798 B1 April 14, 2018, 8:08 a.m. OK GNU C TESTS 9 15 3379200 1100
37491095 Bl_nk20 B1 April 20, 2018, 2:59 p.m. OK GNU C TESTS 9 15 3379200 1100
37358733 triggered_Man B1 April 15, 2018, 5:44 p.m. OK GNU C TESTS 9 15 3379200 1100
40077003 vjudge2 B1 July 8, 2018, 6:16 a.m. OK GNU C++ TESTS 9 15 0 1100
40076838 vjudge3 B1 July 8, 2018, 6:07 a.m. OK GNU C++ TESTS 9 15 0 1100
40076772 vjudge3 B1 July 8, 2018, 6:03 a.m. OK GNU C++ TESTS 9 15 0 1100
40075992 vjudge5 B1 July 8, 2018, 5:18 a.m. OK GNU C++ TESTS 9 15 0 1100
40075460 vjudge3 B1 July 8, 2018, 4:40 a.m. OK GNU C++ TESTS 9 15 0 1100
38624713 170104100115 B1 May 26, 2018, 6:10 a.m. OK GNU C++ TESTS 9 15 0 1100
40097367 vjudge4 B1 July 9, 2018, 1:09 a.m. OK GNU C++ TESTS 9 15 102400 1100
39732093 Xzavie B1 June 28, 2018, 4:09 a.m. OK GNU C++ TESTS 9 15 1228800 1100
37354644 jxf378440404 B1 April 15, 2018, 1:44 p.m. OK GNU C++ TESTS 9 15 3276800 1100
37327157 7hits B1 April 14, 2018, 12:29 p.m. OK GNU C++ TESTS 9 15 3276800 1100
59664895 You_Know_Who B1 Aug. 29, 2019, 1:51 p.m. OK GNU C11 TESTS 9 15 0 1100
37333604 zuhair_zaki B1 April 14, 2018, 4:22 p.m. OK GNU C11 TESTS 9 15 3276800 1100
65541588 DevJewel B1 Nov. 22, 2019, 3:43 p.m. OK GNU C11 TESTS 9 30 0 1100
48393809 NoSoul B1 Jan. 14, 2019, 4:39 p.m. OK GNU C11 TESTS 9 30 0 1100
62197316 LmfEthan B1 Oct. 9, 2019, 11:12 a.m. OK GNU C11 TESTS 9 30 3993600 1100
52068379 OKM B1 March 31, 2019, 6:39 a.m. OK GNU C11 TESTS 9 30 3993600 1100
58822549 Peekaboo_25 B1 Aug. 14, 2019, 2:34 p.m. OK GNU C11 TESTS 9 31 0 1100
58824620 somnath2332 B1 Aug. 14, 2019, 3:21 p.m. OK GNU C11 TESTS 9 31 0 1100
54649531 vjudge4 B1 May 26, 2019, 4:10 a.m. OK GNU C++11 TESTS 9 15 0 1100
53977623 vjudge3 B1 May 11, 2019, 5:19 a.m. OK GNU C++11 TESTS 9 15 0 1100
56727353 harshaudi27 B1 July 8, 2019, 8:47 p.m. OK GNU C++11 TESTS 9 15 0 1100
56785290 TAI_zJack1342 B1 July 10, 2019, 8:07 a.m. OK GNU C++11 TESTS 9 15 0 1100
57870105 lopare B1 July 28, 2019, 1 a.m. OK GNU C++11 TESTS 9 15 0 1100
68432916 rockzhou B1 Jan. 9, 2020, 7:42 a.m. OK GNU C++11 TESTS 9 15 0 1100
68488634 vjudge2 B1 Jan. 10, 2020, 10:50 a.m. OK GNU C++11 TESTS 9 15 0 1100
68489052 vjudge4 B1 Jan. 10, 2020, 11 a.m. OK GNU C++11 TESTS 9 15 0 1100
68490342 vjudge5 B1 Jan. 10, 2020, 11:29 a.m. OK GNU C++11 TESTS 9 15 0 1100
54649580 vjudge1 B1 May 26, 2019, 4:13 a.m. OK GNU C++11 TESTS 9 15 0 1100
58657123 Tentacionx B1 Aug. 12, 2019, 9:29 a.m. OK GNU C++14 TESTS 9 15 0 1100
57503651 conan_0 B1 July 22, 2019, 11:15 a.m. OK GNU C++14 TESTS 9 15 0 1100
66562913 Anus1373 B1 Dec. 9, 2019, 7:52 p.m. OK GNU C++14 TESTS 9 15 0 1100
66044816 Naim_Hasan B1 Nov. 30, 2019, 2:46 p.m. OK GNU C++14 TESTS 9 15 0 1100
65543336 Mohamed_Saad62 B1 Nov. 22, 2019, 4:18 p.m. OK GNU C++14 TESTS 9 15 0 1100
64900107 aFool B1 Nov. 14, 2019, 6:28 p.m. OK GNU C++14 TESTS 9 15 0 1100
64898519 senty B1 Nov. 14, 2019, 5:44 p.m. OK GNU C++14 TESTS 9 15 0 1100
62073019 piyushgoyaliit B1 Oct. 7, 2019, 5:18 p.m. OK GNU C++14 TESTS 9 15 0 1100
61522773 ljaneczk B1 Sept. 29, 2019, 7:54 p.m. OK GNU C++14 TESTS 9 15 0 1100
59508842 p.ferrari B1 Aug. 26, 2019, 7:11 a.m. OK GNU C++14 TESTS 9 15 0 1100
68490328 vjudge3 B1 Jan. 10, 2020, 11:29 a.m. OK GNU C++17 TESTS 9 15 0 1100
69918626 bhuv18122000 B1 Jan. 31, 2020, 5:41 p.m. OK GNU C++17 TESTS 9 15 0 1100
68490862 vjudge3 B1 Jan. 10, 2020, 11:40 a.m. OK GNU C++17 TESTS 9 15 0 1100
68489395 vjudge2 B1 Jan. 10, 2020, 11:08 a.m. OK GNU C++17 TESTS 9 15 0 1100
68488204 sallu1234 B1 Jan. 10, 2020, 10:40 a.m. OK GNU C++17 TESTS 9 15 0 1100
68488141 vjudge2 B1 Jan. 10, 2020, 10:38 a.m. OK GNU C++17 TESTS 9 15 0 1100
68487935 vjudge3 B1 Jan. 10, 2020, 10:33 a.m. OK GNU C++17 TESTS 9 15 0 1100
66537539 codenojutsu B1 Dec. 9, 2019, 10:14 a.m. OK GNU C++17 TESTS 9 15 0 1100
61554261 OrlandoIsay B1 Sept. 30, 2019, 1:32 p.m. OK GNU C++17 TESTS 9 15 0 1100
61552862 Thanya_Leif B1 Sept. 30, 2019, 1:04 p.m. OK GNU C++17 TESTS 9 15 0 1100
38797520 louis.climber B1 May 31, 2018, 10:16 a.m. OK GNU C++17 Diagnostics TESTS 9 998 97894400 1100
59868659 pingie050 B1 Sept. 1, 2019, 6:17 p.m. OK Java 8 TESTS 9 108 0 1100
68399056 StEpAn_123 B1 Jan. 8, 2020, 12:24 p.m. OK Java 8 TESTS 9 109 0 1100
48084089 I.A.K.O.V B1 Jan. 8, 2019, 9:59 a.m. OK Java 8 TESTS 9 109 0 1100
37311801 Mendokusaiii S010M ShowStopper728 B1 April 14, 2018, 7:24 a.m. OK Java 8 TESTS 9 109 20684800 1100
38961370 bluesky111 B1 June 5, 2018, 6:43 a.m. OK Java 8 TESTS 9 124 20377600 1100
38317227 Tarun smit_detroja96 shreyansh08 B1 May 16, 2018, 10:35 a.m. OK Java 8 TESTS 9 124 20684800 1100
37795788 mishagam B1 May 1, 2018, 10:52 a.m. OK Java 8 TESTS 9 124 20684800 1100
37547343 Azuz B1 April 23, 2018, 9:37 a.m. OK Java 8 TESTS 9 124 20684800 1100
37373821 sark_01 B1 April 16, 2018, 1:26 p.m. OK Java 8 TESTS 9 124 20684800 1100
37319254 KulikAlex B1 April 14, 2018, 9:09 a.m. OK Java 8 TESTS 9 124 20684800 1100
37319943 TRR B1 April 14, 2018, 9:21 a.m. OK Mono C# TESTS 9 31 8089600 1100
37376632 AnatolyTolstobrov B1 April 16, 2018, 3:14 p.m. OK Mono C# TESTS 9 31 8089600 1100
37323147 sambara B1 April 14, 2018, 10:30 a.m. OK Mono C# TESTS 9 31 8192000 1100
56669830 og.kostya B1 July 7, 2019, 12:36 p.m. OK Mono C# TESTS 9 46 3686400 1100
40077774 vjudge5 B1 July 8, 2018, 6:56 a.m. OK MS C++ TESTS 9 15 0 1100
68570091 vjudge3 B1 Jan. 11, 2020, 1:30 a.m. OK MS C++ TESTS 9 15 0 1100
68490523 vjudge3 B1 Jan. 10, 2020, 11:33 a.m. OK MS C++ TESTS 9 15 0 1100
68490302 vjudge2 B1 Jan. 10, 2020, 11:28 a.m. OK MS C++ TESTS 9 15 0 1100
40099057 vjudge2 B1 July 9, 2018, 3:03 a.m. OK MS C++ TESTS 9 15 102400 1100
68493098 vjudge3 B1 Jan. 10, 2020, 12:25 p.m. OK MS C++ TESTS 9 15 819200 1100
37315905 1291835312 B1 April 14, 2018, 8:17 a.m. OK MS C++ TESTS 9 15 3481600 1100
37325897 Jayden123 B1 April 14, 2018, 11:54 a.m. OK MS C++ TESTS 9 15 3481600 1100
37328508 Kiaxa B1 April 14, 2018, 1:16 p.m. OK MS C++ TESTS 9 15 3481600 1100
37374460 MenOfPassion B1 April 16, 2018, 1:50 p.m. OK MS C++ TESTS 9 15 3481600 1100
68488372 vjudge3 B1 Jan. 10, 2020, 10:44 a.m. OK MS C++ 2017 TESTS 9 30 0 1100
68490652 vjudge1 B1 Jan. 10, 2020, 11:36 a.m. OK MS C++ 2017 TESTS 9 31 0 1100
67465147 immortal_luo B1 Dec. 23, 2019, 10:46 a.m. OK MS C++ 2017 TESTS 9 31 0 1100
64478976 Moen1578 B1 Nov. 7, 2019, 3:17 p.m. OK MS C++ 2017 TESTS 9 31 0 1100
54194647 kauai68 B1 May 15, 2019, 3:27 p.m. OK MS C++ 2017 TESTS 9 31 0 1100
68487354 vjudge5 B1 Jan. 10, 2020, 10:18 a.m. OK MS C++ 2017 TESTS 9 31 307200 1100
68569735 vjudge4 B1 Jan. 11, 2020, 1:12 a.m. OK MS C++ 2017 TESTS 9 31 307200 1100
37323647 repchatuy B1 April 14, 2018, 10:42 a.m. OK PascalABC.NET TESTS 9 46 17715200 1100
37313367 mr.Abdu mr.adisbek B1 April 14, 2018, 7:44 a.m. OK PascalABC.NET TESTS 9 46 97689600 1100
37479725 s_p B1 April 20, 2018, 7:26 a.m. OK Perl TESTS 9 46 2560000 1100
37316319 mayakin B1 April 14, 2018, 8:24 a.m. OK PHP TESTS 9 31 5939200 1100
37311570 pavankatta B1 April 14, 2018, 7:21 a.m. OK PyPy 2 TESTS 9 109 24371200 1100
37311197 deadkey exoji2e B1 April 14, 2018, 7:16 a.m. OK PyPy 2 TESTS 9 124 22835200 1100
37317403 MatchesMalone_ B1 April 14, 2018, 8:40 a.m. OK PyPy 3 TESTS 9 140 21606400 1100
37315760 fedor2612 B1 April 14, 2018, 8:16 a.m. OK PyPy 3 TESTS 9 140 21606400 1100
37312187 potpath B1 April 14, 2018, 7:29 a.m. OK PyPy 3 TESTS 9 140 21606400 1100
68146472 nealzane B1 Jan. 4, 2020, 4:43 a.m. OK PyPy 3 TESTS 9 171 1433600 1100
62149371 Unpossible B1 Oct. 8, 2019, 4:22 p.m. OK PyPy 3 TESTS 9 171 1433600 1100
37322820 licaroli B1 April 14, 2018, 10:24 a.m. OK Python 2 TESTS 9 108 6041600 1100
37316768 yuri.s.s B1 April 14, 2018, 8:30 a.m. OK Python 2 TESTS 9 155 6041600 1100
47549059 biltharesatyendra B1 Dec. 27, 2018, 11:59 a.m. OK Python 2 TESTS 9 171 0 1100
45345003 vjudge1 B1 Nov. 6, 2018, 2:01 a.m. OK Python 2 TESTS 9 187 0 1100
37318573 the_white_devil elayla B1 April 14, 2018, 8:58 a.m. OK Python 3 TESTS 9 62 7065600 1100
37321404 heraclai B1 April 14, 2018, 9:51 a.m. OK Python 3 TESTS 9 77 7065600 1100
37320321 Maksim1744 B1 April 14, 2018, 9:28 a.m. OK Python 3 TESTS 9 77 7065600 1100
37314430 atharva456 B1 April 14, 2018, 7:58 a.m. OK Python 3 TESTS 9 77 7065600 1100
37312411 giangtran B1 April 14, 2018, 7:32 a.m. OK Python 3 TESTS 9 77 7065600 1100
37316418 Oriole B1 April 14, 2018, 8:25 a.m. OK Python 3 TESTS 9 77 7372800 1100
37333158 _lucifer_ B1 April 14, 2018, 4:07 p.m. OK Python 3 TESTS 9 78 7065600 1100
37317458 Orion B1 April 14, 2018, 8:41 a.m. OK Python 3 TESTS 9 78 7065600 1100
37313065 k0walsk1 B1 April 14, 2018, 7:40 a.m. OK Python 3 TESTS 9 78 7065600 1100
37534048 Qumeric B1 April 22, 2018, 1:17 p.m. OK Python 3 TESTS 9 92 7065600 1100
58935229 BadDuck B1 Aug. 17, 2019, 3:40 a.m. OK Scala TESTS 9 498 0 1100
40525467 sam.ninja B1 July 18, 2018, 8:05 p.m. OK Scala TESTS 9 576 409600 1100

remove filters

Back to search problems