Helvetic Coding Contest 2016 online mirror (teams, 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
690 Helvetic Coding Contest 2016 online mirror (teams, unrated) FINISHED False 16200 263685599 July 10, 2016, 8 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 912 ) C3 Brain Network (hard) PROGRAMMING trees 2200

B"Breaking news from zombie neurology! It turns out that xe2 x80 x93 contrary to previous beliefs xe2 x80 x93 every zombie is born with a single brain, and only later it evolves into a complicated brain structure. In fact, whenever a zombie consumes a brain, a new brain appears in its nervous system and gets immediately connected to one of the already existing brains using a single brain connector. Researchers are now interested in monitoring the brain latency of a zombie. Your task is to write a program which, given a history of evolution of a zombie's nervous system, computes its brain latency at every stage. The first line of the input contains one number n xe2 x80 x93 the number of brains in the final nervous system (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89200000). In the second line a history of zombie's nervous system evolution is given. For convenience, we number all the brains by 1, xe2 x80 x892, xe2 x80 x89..., xe2 x80 x89n in the same order as they appear in the nervous system (the zombie is born with a single brain, number 1, and subsequently brains 2, xe2 x80 x893, xe2 x80 x89..., xe2 x80 x89n are added). The second line contains n xe2 x80 x89- xe2 x80 x891 space-separated numbers p2, xe2 x80 x89p3, xe2 x80 x89..., xe2 x80 x89pn, meaning that after a new brain k is added to the system, it gets connected to a parent-brain . Output n xe2 x80 x89- xe2 x80 x891 space-separated numbers xe2 x80 x93 the brain latencies after the brain number k is added, for k xe2 x80 x89= xe2 x80 x892, xe2 x80 x893, xe2 x80 x89..., xe2 x80 x89n. "...

Tutorials

Tutotial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
19214216 k2nt C3 July 18, 2016, 2:09 p.m. OK FPC TESTS 18 467 20070400 2200
22108091 WalkingDeade C3 Nov. 8, 2016, 8:17 a.m. OK FPC TESTS 18 560 25907200 2200
19049528 llgyc C3 July 12, 2016, 11:28 a.m. OK FPC TESTS 18 623 17612800 2200
22108001 WalkingDeade C3 Nov. 8, 2016, 8:10 a.m. OK FPC TESTS 18 624 32256000 2200
19008303 dmlocdmloc C3 July 10, 2016, 11:59 a.m. OK FPC TESTS 18 670 25292800 2200
40984159 ReaLNero1 C3 July 30, 2018, 7:13 p.m. OK GNU C++ TESTS 18 78 18432000 2200
19615100 LIN452 C3 Aug. 4, 2016, 12:36 p.m. OK GNU C++ TESTS 18 78 18432000 2200
31522685 Starry C3 Oct. 20, 2017, 3:27 a.m. OK GNU C++ TESTS 18 78 19148800 2200
31520581 nn020701 C3 Oct. 20, 2017, 12:21 a.m. OK GNU C++ TESTS 18 108 18944000 2200
19006301 rqgao2014 C3 July 10, 2016, 10:58 a.m. OK GNU C++ TESTS 18 108 25292800 2200
19003908 King_George Archies TRCYX C3 July 10, 2016, 9:52 a.m. OK GNU C++ TESTS 18 109 16691200 2200
36895960 vjudge2 C3 April 3, 2018, 7:56 a.m. OK GNU C++ TESTS 18 109 24166400 2200
36895925 vjudge5 C3 April 3, 2018, 7:55 a.m. OK GNU C++ TESTS 18 109 24371200 2200
36895892 vjudge4 C3 April 3, 2018, 7:53 a.m. OK GNU C++ TESTS 18 109 26726400 2200
19009529 jumpwmk nonira321 korla.march C3 July 10, 2016, 12:29 p.m. OK GNU C++ TESTS 18 124 15872000 2200
19004174 PengsenMao xu_an_xi squee_spoon C3 July 10, 2016, 9:59 a.m. OK GNU C++11 TESTS 18 77 16896000 2200
25886739 jiyutian C3 March 29, 2017, 3:29 a.m. OK GNU C++11 TESTS 18 93 20377600 2200
19167372 eddy1021 C3 July 16, 2016, 6:38 a.m. OK GNU C++11 TESTS 18 108 16998400 2200
51111082 cheetose C3 March 10, 2019, 4:26 a.m. OK GNU C++11 TESTS 18 109 15257600 2200
19013149 kadNaN C3 July 10, 2016, 4:41 p.m. OK GNU C++11 TESTS 18 109 15257600 2200
56783877 vjudge2 C3 July 10, 2019, 7:30 a.m. OK GNU C++11 TESTS 18 109 20787200 2200
19323101 jihad_dayoub timo14z C3 July 22, 2016, 11:48 a.m. OK GNU C++11 TESTS 18 124 15257600 2200
28815585 I_always_love_cc C3 July 24, 2017, 6 a.m. OK GNU C++11 TESTS 18 124 18944000 2200
36895979 Fuko_Ibuki C3 April 3, 2018, 7:58 a.m. OK GNU C++11 TESTS 18 124 24166400 2200
56785374 vjudge3 C3 July 10, 2019, 8:09 a.m. OK GNU C++11 TESTS 18 124 32256000 2200
46847768 IsacLucian C3 Dec. 10, 2018, 10:34 a.m. OK GNU C++14 TESTS 18 109 16896000 2200
27440325 aditya1495 C3 May 30, 2017, 5:19 a.m. OK GNU C++14 TESTS 18 124 16076800 2200
20921651 Steven_Wu C3 Sept. 26, 2016, 8:45 a.m. OK GNU C++14 TESTS 18 124 16793600 2200
25767666 YakutovDmitriy C3 March 24, 2017, 9:20 a.m. OK GNU C++14 TESTS 18 124 17203200 2200
29286230 hoangtun0810 C3 Aug. 8, 2017, 1:34 p.m. OK GNU C++14 TESTS 18 124 18739200 2200
31520673 Oktavia C3 Oct. 20, 2017, 12:30 a.m. OK GNU C++14 TESTS 18 124 21913600 2200
61319415 tariqiitju mh755628 kzvd4729 C3 Sept. 26, 2019, 12:06 p.m. OK GNU C++14 TESTS 18 139 16793600 2200
23252202 Al2K C3 Dec. 23, 2016, 4:48 p.m. OK GNU C++14 TESTS 18 139 20377600 2200
34810320 _AjReme_ C3 Feb. 1, 2018, 4:42 p.m. OK GNU C++14 TESTS 18 139 32256000 2200
38677182 Ziben C3 May 27, 2018, 6:08 p.m. OK GNU C++14 TESTS 18 140 15257600 2200
51388347 wery0 C3 March 16, 2019, 8:13 p.m. OK GNU C++17 TESTS 18 124 18739200 2200
69524408 vjudge1 C3 Jan. 25, 2020, 2:25 p.m. OK GNU C++17 TESTS 18 140 15257600 2200
62652817 Phortox C3 Oct. 15, 2019, 10:43 p.m. OK GNU C++17 TESTS 18 155 17612800 2200
46702181 wjli C3 Dec. 7, 2018, 3:54 a.m. OK GNU C++17 TESTS 18 155 22016000 2200
57843721 dimasidorenko C3 July 27, 2019, 10:15 a.m. OK GNU C++17 TESTS 18 156 40755200 2200
45278227 Ashishgup C3 Nov. 4, 2018, 12:17 p.m. OK GNU C++17 TESTS 18 171 101580800 2200
66730936 nishit5 C3 Dec. 12, 2019, 5:29 p.m. OK GNU C++17 TESTS 18 187 48537600 2200
61361247 zile C3 Sept. 27, 2019, 12:13 p.m. OK GNU C++17 TESTS 18 218 44134400 2200
66731211 nishit5 C3 Dec. 12, 2019, 5:35 p.m. OK GNU C++17 TESTS 18 218 50176000 2200
52958090 kazuki08 C3 April 18, 2019, 2:34 p.m. OK GNU C++17 TESTS 18 264 59699200 2200
20768130 I_love_tigersugar C3 Sept. 20, 2016, 4:20 a.m. OK Java 8 TESTS 18 404 19148800 2200
31237718 Enavik C3 Oct. 12, 2017, 10:19 a.m. OK Java 8 TESTS 18 483 72089600 2200
19029958 kraskevich C3 July 11, 2016, 12:26 p.m. OK Java 8 TESTS 18 592 83353600 2200
21241986 Nestman C3 Oct. 6, 2016, 5:23 p.m. OK Java 8 TESTS 18 701 93900800 2200
19457200 wengzc00bug C3 July 28, 2016, 8:18 a.m. OK Java 8 TESTS 18 1200 18329600 2200
19007389 eatmore C3 July 10, 2016, 11:34 a.m. OK Java 8 TESTS 18 1497 46796800 2200
29282094 vjudge5 C3 Aug. 8, 2017, 9:14 a.m. OK Java 8 TESTS 18 1840 159129600 2200
19018097 xu_an_xi C3 July 11, 2016, 1:47 a.m. OK MS C++ TESTS 18 155 21606400 2200
19172786 Mosyagin C3 July 16, 2016, 12:02 p.m. OK MS C++ TESTS 18 155 30822400 2200
19010682 Carups C3 July 10, 2016, 1:34 p.m. OK MS C++ TESTS 18 155 115712000 2200
42993947 vjudge5 C3 Sept. 17, 2018, 11:23 a.m. OK MS C++ TESTS 18 156 24883200 2200
34406058 Maffka C3 Jan. 21, 2018, 8:30 a.m. OK MS C++ TESTS 18 156 30617600 2200
28787978 golovozhop C3 July 22, 2017, 11:06 p.m. OK MS C++ TESTS 18 156 31539200 2200
28787908 golovozhop C3 July 22, 2017, 10:57 p.m. OK MS C++ TESTS 18 156 31539200 2200
28787947 golovozhop C3 July 22, 2017, 11:02 p.m. OK MS C++ TESTS 18 170 31539200 2200
19003042 SlavaSSU Naduxa DimonK C3 July 10, 2016, 9:29 a.m. OK MS C++ TESTS 18 186 33996800 2200
19018209 xiaobo C3 July 11, 2016, 1:54 a.m. OK MS C++ TESTS 18 233 81408000 2200
57811482 Skeef79 C3 July 26, 2019, 5:33 p.m. OK MS C++ 2017 TESTS 18 436 33075200 2200

remove filters

Back to search problems