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 269474404 July 10, 2016, 8 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3883 ) C2 Brain Network (medium) PROGRAMMING dfs and similar graphs trees 1600

B'Further research on zombie thought processes yielded interesting results. As we know from the previous problem, the nervous system of a zombie consists of n brains and m brain connectors joining some pairs of brains together. It was observed that the intellectual abilities of a zombie depend mainly on the topology of its nervous system. More precisely, we define the distance between two brains 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) as the minimum number of brain connectors used when transmitting a thought between these two brains. The brain latency of a zombie is defined to be the maximum distance between any two of its brains. Researchers conjecture that the brain latency is the crucial parameter which determines how smart a given zombie is. Help them test this conjecture by writing a program to compute brain latencies of nervous systems. In this problem you may assume that any nervous system given in the input is valid, i.e., it satisfies conditions (1) and (2) from the easy version. The first line of the input contains two space-separated integers n and m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100000) denoting the number of brains (which are conveniently numbered from 1 to n) and the number of brain connectors in the nervous system, respectively. In the next m lines, descriptions of brain connectors follow. Every connector is given as a pair of brains a xe2 x80 x82b it connects (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89a, xe2 x80 x89b xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n and a xe2 x80 x89 xe2 x89 xa0 xe2 x80 x89b). Print one number xe2 x80 x93 the brain latency. '...

Tutorials

Tutotial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
19032184 ruban C2 July 11, 2016, 2:24 p.m. OK Delphi TESTS 19 62 176742400 1600
19000819 llgyc ceerRep aspi C2 July 10, 2016, 8:45 a.m. OK FPC TESTS 19 31 2867200 1600
19001961 Coward C2 July 10, 2016, 9:06 a.m. OK FPC TESTS 19 46 2764800 1600
19003152 lkmcfj mostcleverboy C2 July 10, 2016, 9:32 a.m. OK FPC TESTS 19 46 3174400 1600
19034844 k2nt C2 July 11, 2016, 5:42 p.m. OK FPC TESTS 19 46 4096000 1600
22108428 WalkingDeade C2 Nov. 8, 2016, 8:41 a.m. OK FPC TESTS 19 46 4505600 1600
26963870 VladProg C2 May 8, 2017, 8:19 p.m. OK FPC TESTS 19 46 5120000 1600
19071988 JonathanT C2 July 13, 2016, 11:56 a.m. OK FPC TESTS 19 46 5324800 1600
19006634 0lkeh C2 July 10, 2016, 11:09 a.m. OK FPC TESTS 19 46 5734400 1600
19006967 dmlocdmloc C2 July 10, 2016, 11:20 a.m. OK FPC TESTS 19 46 6758400 1600
20759328 harry1998kwan C2 Sept. 19, 2016, 3:33 p.m. OK FPC TESTS 19 62 5017600 1600
19030634 double301 C2 July 11, 2016, 1:02 p.m. OK GNU C TESTS 19 46 7680000 1600
19136994 mike_mg C2 July 14, 2016, 9:56 p.m. OK GNU C TESTS 19 62 4710400 1600
19030364 double301 C2 July 11, 2016, 12:47 p.m. OK GNU C TESTS 19 62 5427200 1600
19030510 double301 C2 July 11, 2016, 12:56 p.m. OK GNU C TESTS 19 62 8499200 1600
19064632 srijansingh C2 July 13, 2016, 6:19 a.m. OK GNU C TESTS 19 62 9728000 1600
32973686 UESTC_ELSE C2 Dec. 6, 2017, 11:33 a.m. OK GNU C++ TESTS 19 15 6144000 1600
36133831 wzlwzl C2 March 10, 2018, 1:52 a.m. OK GNU C++ TESTS 19 15 16281600 1600
19003461 Aliange C2 July 10, 2016, 9:40 a.m. OK GNU C++ TESTS 19 30 11571200 1600
19001814 miaom hzhzhzz lych_cys C2 July 10, 2016, 9:03 a.m. OK GNU C++ TESTS 19 31 2764800 1600
18999917 rqgao2014 C2 July 10, 2016, 8:31 a.m. OK GNU C++ TESTS 19 31 5324800 1600
19000284 liujunhao C2 July 10, 2016, 8:37 a.m. OK GNU C++ TESTS 19 31 5734400 1600
19434111 vjudge3 C2 July 27, 2016, 5:45 a.m. OK GNU C++ TESTS 19 31 6144000 1600
25862572 jiyutian C2 March 28, 2017, 12:43 a.m. OK GNU C++ TESTS 19 31 7475200 1600
19434713 vjudge2 C2 July 27, 2016, 6:29 a.m. OK GNU C++ TESTS 19 31 14131200 1600
40984169 ReaLNero1 C2 July 30, 2018, 7:13 p.m. OK GNU C++ TESTS 19 31 14233600 1600
56863253 NetravatPendsey C2 July 12, 2019, 1:13 a.m. OK GNU C11 TESTS 19 46 8294400 1600
56863276 NetravatPendsey C2 July 12, 2019, 1:15 a.m. OK GNU C11 TESTS 19 61 8294400 1600
56863029 NetravatPendsey C2 July 12, 2019, 1:01 a.m. OK GNU C11 TESTS 19 61 8704000 1600
18998936 GEOTCBRL C2 July 10, 2016, 8:19 a.m. OK GNU C++11 TESTS 19 31 2560000 1600
19000747 2014300227 C2 July 10, 2016, 8:43 a.m. OK GNU C++11 TESTS 19 31 4300800 1600
18999676 ShineRain johann_wang FailedSystemTest C2 July 10, 2016, 8:28 a.m. OK GNU C++11 TESTS 19 31 4710400 1600
18999233 footoredo fanyuda C2 July 10, 2016, 8:22 a.m. OK GNU C++11 TESTS 19 31 5529600 1600
18999565 EZ_zby Meowww ez_zkj C2 July 10, 2016, 8:27 a.m. OK GNU C++11 TESTS 19 31 6553600 1600
19851752 Arch0n wy_2016 jl0x61 C2 Aug. 13, 2016, 2:04 p.m. OK GNU C++11 TESTS 19 31 9318400 1600
19002673 I_See_You C2 July 10, 2016, 9:21 a.m. OK GNU C++11 TESTS 19 31 9420800 1600
21658490 __faith C2 Oct. 22, 2016, 6 a.m. OK GNU C++11 TESTS 19 31 9625600 1600
19313047 idemura C2 July 22, 2016, 4:26 a.m. OK GNU C++11 TESTS 19 46 2252800 1600
19000228 krijgertje C2 July 10, 2016, 8:36 a.m. OK GNU C++11 TESTS 19 46 2764800 1600
46064374 kalari499 C2 Nov. 22, 2018, 3:23 p.m. OK GNU C++14 TESTS 19 62 3993600 1600
22846992 thienlongtpct C2 Dec. 10, 2016, 1:51 a.m. OK GNU C++14 TESTS 19 62 3993600 1600
63086779 SachRestated C2 Oct. 21, 2019, 4:50 p.m. OK GNU C++14 TESTS 19 62 5120000 1600
26957026 evonloch C2 May 8, 2017, 12:55 p.m. OK GNU C++14 TESTS 19 62 5120000 1600
27827321 Zovube C2 June 16, 2017, 2:26 p.m. OK GNU C++14 TESTS 19 62 5427200 1600
28110180 fonmagnus C2 June 28, 2017, 7:25 a.m. OK GNU C++14 TESTS 19 62 5939200 1600
29423313 ryo_issy ShinyaKato yana87 C2 Aug. 13, 2017, 5:03 a.m. OK GNU C++14 TESTS 19 62 5939200 1600
51839586 AC_007 C2 March 25, 2019, 8:29 p.m. OK GNU C++14 TESTS 19 62 7475200 1600
28727986 waynetuinfor C2 July 20, 2017, 2:56 p.m. OK GNU C++14 TESTS 19 62 8089600 1600
61308769 tariqiitju mh755628 kzvd4729 C2 Sept. 26, 2019, 8:26 a.m. OK GNU C++14 TESTS 19 62 9728000 1600
56153473 ishaan19 C2 June 27, 2019, 9:07 a.m. OK GNU C++17 TESTS 19 62 3993600 1600
62432782 7amasa C2 Oct. 12, 2019, 4:21 p.m. OK GNU C++17 TESTS 19 62 3993600 1600
55982514 me_loves_direction C2 June 23, 2019, 10:48 p.m. OK GNU C++17 TESTS 19 62 4096000 1600
49347798 vighneshq C2 Feb. 2, 2019, 6:38 a.m. OK GNU C++17 TESTS 19 62 4403200 1600
66648907 BobTheBuiler C2 Dec. 11, 2019, 6:03 p.m. OK GNU C++17 TESTS 19 62 6246400 1600
58692115 vjudge1 C2 Aug. 13, 2019, 3:52 a.m. OK GNU C++17 TESTS 19 62 7987200 1600
58692596 vjudge2 C2 Aug. 13, 2019, 4:11 a.m. OK GNU C++17 TESTS 19 62 7987200 1600
49992137 coloredrabbit C2 Feb. 16, 2019, 1:18 p.m. OK GNU C++17 TESTS 19 62 9625600 1600
47677962 ianahao C2 Dec. 29, 2018, 10:23 a.m. OK GNU C++17 TESTS 19 62 10240000 1600
55608078 maxnguyen C2 June 16, 2019, 3:01 a.m. OK GNU C++17 TESTS 19 62 10547200 1600
19003689 robostac C2 July 10, 2016, 9:45 a.m. OK Go TESTS 19 171 33792000 1600
19744066 stejaax C2 Aug. 9, 2016, 8:59 a.m. OK Haskell TESTS 19 1325 140595200 1600
19095299 alibaba C2 July 13, 2016, 7:34 p.m. OK Java 7 TESTS 19 327 16179200 1600
19002827 Stole95 Dekacc C2 July 10, 2016, 9:24 a.m. OK Java 7 TESTS 19 1013 39014400 1600
19003198 liyangliyang C2 July 10, 2016, 9:33 a.m. OK Java 8 TESTS 19 218 3993600 1600
19149140 Sumeet.Varma C2 July 15, 2016, 9:19 a.m. OK Java 8 TESTS 19 248 56320000 1600
69233290 maheshwari29 C2 Jan. 21, 2020, 10:20 a.m. OK Java 8 TESTS 19 264 37376000 1600
59127639 ajkdrag C2 Aug. 20, 2019, 9:46 a.m. OK Java 8 TESTS 19 264 50380800 1600
53949490 vaibhavpulastya C2 May 10, 2019, 8:44 a.m. OK Java 8 TESTS 19 264 70348800 1600
45312381 ViciousCoder C2 Nov. 5, 2018, 5:28 a.m. OK Java 8 TESTS 19 265 66048000 1600
47891165 kunal725725 C2 Jan. 4, 2019, 6:40 a.m. OK Java 8 TESTS 19 280 15257600 1600
66460293 ishu_yash C2 Dec. 7, 2019, 2:34 p.m. OK Java 8 TESTS 19 280 28672000 1600
37746325 MaxHeap C2 April 30, 2018, 11 a.m. OK Java 8 TESTS 19 280 37683200 1600
19006670 rohansumant C2 July 10, 2016, 11:10 a.m. OK Java 8 TESTS 19 280 42393600 1600
45300278 Cotheq C2 Nov. 4, 2018, 7:47 p.m. OK Kotlin TESTS 19 639 102400000 1600
19003508 ahong cacad PieceOfCode C2 July 10, 2016, 9:40 a.m. OK Mono C# TESTS 19 217 15974400 1600
23802243 og.kostya C2 Jan. 14, 2017, 9:09 a.m. OK MS C# TESTS 19 93 18432000 1600
21278136 KemKTU C2 Oct. 8, 2016, 10:52 a.m. OK MS C# TESTS 19 186 29081600 1600
18999122 azukun C2 July 10, 2016, 8:21 a.m. OK MS C# TESTS 19 187 21504000 1600
28305238 balalaika C2 July 5, 2017, 1:39 p.m. OK MS C# TESTS 19 233 24678400 1600
19035548 SisAdminos C2 July 11, 2016, 6:45 p.m. OK MS C# TESTS 19 717 38092800 1600
24284087 pomjuice C2 Jan. 31, 2017, 7:41 a.m. OK MS C# TESTS 19 1076 47001600 1600
18998976 PengsenMao xu_an_xi squee_spoon C2 July 10, 2016, 8:19 a.m. OK MS C++ TESTS 19 46 4915200 1600
19000984 Mosyagin AleksanderBalobanov C2 July 10, 2016, 8:47 a.m. OK MS C++ TESTS 19 61 10444800 1600
19000706 rkm0959 C2 July 10, 2016, 8:43 a.m. OK MS C++ TESTS 19 62 5529600 1600
18999399 SlavaSSU Naduxa DimonK C2 July 10, 2016, 8:25 a.m. OK MS C++ TESTS 19 62 5734400 1600
50788793 vjudge4 C2 March 4, 2019, 2:39 p.m. OK MS C++ TESTS 19 62 6348800 1600
19002515 13048047792 C2 July 10, 2016, 9:17 a.m. OK MS C++ TESTS 19 62 6758400 1600
19004137 katan C2 July 10, 2016, 9:58 a.m. OK MS C++ TESTS 19 62 7168000 1600
19000616 Taube C2 July 10, 2016, 8:42 a.m. OK MS C++ TESTS 19 62 11161600 1600
18999989 TonySnark C2 July 10, 2016, 8:33 a.m. OK MS C++ TESTS 19 77 5734400 1600
19535560 dan-dan C2 July 31, 2016, 10:07 a.m. OK MS C++ TESTS 19 78 4915200 1600
19005681 Joshua_su C2 July 10, 2016, 10:41 a.m. OK Python 2 TESTS 19 1825 17100800 1600
59681814 youness.amhaouch C2 Aug. 29, 2019, 9:12 p.m. OK Python 3 TESTS 19 607 17305600 1600
34548107 yugle7 C2 Jan. 25, 2018, 1:50 p.m. OK Python 3 TESTS 19 655 16179200 1600
25767322 YakutovDmitriy C2 March 24, 2017, 9:03 a.m. OK Python 3 TESTS 19 670 18944000 1600
39066210 Taz C2 June 9, 2018, 10:13 a.m. OK Python 3 TESTS 19 670 118169600 1600
19000678 platypus179 cdkrot C2 July 10, 2016, 8:42 a.m. OK Python 3 TESTS 19 701 124723200 1600
62064971 Vareni4 C2 Oct. 7, 2019, 2:53 p.m. OK Python 3 TESTS 19 826 18432000 1600
19003968 potpath C2 July 10, 2016, 9:54 a.m. OK Python 3 TESTS 19 888 25088000 1600
25890065 mordig C2 March 29, 2017, 7:45 a.m. OK Python 3 TESTS 19 1809 19456000 1600
19005602 netoctone C2 July 10, 2016, 10:39 a.m. OK Ruby TESTS 19 1466 22630400 1600

remove filters

Back to search problems