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. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 1660 ) | E1 | Daleks' Invasion (easy) | PROGRAMMING | graphs trees | 2000 |
B"Heidi found out that the Daleks have created a network of bidirectional Time Corridors connecting different destinations (at different times!). She suspects that they are planning another invasion on the entire Space and Time. In order to counter the invasion, she plans to deploy a trap in the Time Vortex, along a carefully chosen Time Corridor. She knows that tinkering with the Time Vortex is dangerous, so she consulted the Doctor on how to proceed. She has learned the following: Heidi decided to carry out a field test and deploy one trap, placing it along the first Corridor. But she needs to know whether the Daleks are going to use this corridor after the deployment of the trap. She gives you a map of Time Corridors (an undirected graph) with energy requirements for each Corridor. For a Corridor c , E_{max}(c) is the largest e <= 10^9 such that if we changed the required amount of energy of c to e , then the Daleks may still be using c in their invasion (that is, it belongs to some minimum spanning tree). Your task is to calculate E_{max}(c_1) for the Corridor c_1 that Heidi plans to arm with a trap, which is the first edge in the graph. The first line contains integers n and m ( 2 <= q n <= q 10^5 , n - 1 <= q m <= q 10^6 ), number of destinations to be invaded and the number of Time Corridors. Each of the next m lines describes a Corridor: destinations a , b and energy e ( 1 <= q a, b <= q n , a neq b , 0 <= q e <= q 10^9 ). It's guaranteed, that no pair {a, b } will repeat and that the graph is connected -- that is, it is possible to travel between any two destinations using zero or more Time Corridors. Output a single integer: E_{max}(c_1) for the first Corridor c_1 from the input. After the trap is set, the new energy requirement for the first Corridor may be either smaller, larger, or equal to the old energy requiremenet."... |
helvetic-coding-contest-2019-editorial.pdf |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
56648384 | hos.lyric maroonrk | E1 | July 7, 2019, 7:21 a.m. | OK | D | TESTS | 86 | 1200 | 68096000 | 2000 | |
56651420 | Hazyknight Elegia hychyc | E1 | July 7, 2019, 7:47 a.m. | OK | GNU C++11 | TESTS | 86 | 171 | 16076800 | 2000 | |
68329941 | luogu_bot3 | E1 | Jan. 6, 2020, 6:20 p.m. | OK | GNU C++11 | TESTS | 86 | 187 | 16281600 | 2000 | |
56657474 | memset0c Sooke LJC00118 | E1 | July 7, 2019, 8:58 a.m. | OK | GNU C++11 | TESTS | 86 | 187 | 16281600 | 2000 | |
56769409 | cznissnzg | E1 | July 9, 2019, 8:28 p.m. | OK | GNU C++11 | TESTS | 86 | 217 | 17100800 | 2000 | |
56651418 | zjp_shadow zhou888 ShichengXiao | E1 | July 7, 2019, 7:47 a.m. | OK | GNU C++11 | TESTS | 86 | 218 | 23347200 | 2000 | |
58533454 | wasa855 | E1 | Aug. 10, 2019, 10:43 a.m. | OK | GNU C++11 | TESTS | 86 | 249 | 12390400 | 2000 | |
56689483 | wasa855 | E1 | July 8, 2019, 2:38 a.m. | OK | GNU C++11 | TESTS | 86 | 249 | 12390400 | 2000 | |
56689367 | wasa855 | E1 | July 8, 2019, 2:32 a.m. | OK | GNU C++11 | TESTS | 86 | 249 | 12390400 | 2000 | |
56656093 | LJZ_C | E1 | July 7, 2019, 8:41 a.m. | OK | GNU C++11 | TESTS | 86 | 265 | 13721600 | 2000 | |
56650092 | mmh bdzxt zhushaoben | E1 | July 7, 2019, 7:35 a.m. | OK | GNU C++11 | TESTS | 86 | 296 | 13619200 | 2000 | |
56659253 | wa006 | E1 | July 7, 2019, 9:24 a.m. | OK | GNU C++14 | TESTS | 86 | 576 | 16691200 | 2000 | |
56651998 | krijgertje | E1 | July 7, 2019, 7:53 a.m. | OK | GNU C++14 | TESTS | 86 | 577 | 12800000 | 2000 | |
56650567 | hank55663 | E1 | July 7, 2019, 7:39 a.m. | OK | GNU C++14 | TESTS | 86 | 577 | 13107200 | 2000 | |
56668913 | amanoo7 | E1 | July 7, 2019, 12:11 p.m. | OK | GNU C++14 | TESTS | 86 | 592 | 12390400 | 2000 | |
56661575 | shdut | E1 | July 7, 2019, 10:02 a.m. | OK | GNU C++14 | TESTS | 86 | 607 | 23449600 | 2000 | |
56654059 | wiwitrifai | E1 | July 7, 2019, 8:16 a.m. | OK | GNU C++14 | TESTS | 86 | 608 | 12390400 | 2000 | |
56821198 | spacewalker | E1 | July 11, 2019, 12:28 a.m. | OK | GNU C++14 | TESTS | 86 | 608 | 18944000 | 2000 | |
56707174 | tsingcbx | E1 | July 8, 2019, 11:29 a.m. | OK | GNU C++14 | TESTS | 86 | 608 | 19763200 | 2000 | |
57465198 | jugol McDic Minju | E1 | July 21, 2019, 3:17 p.m. | OK | GNU C++14 | TESTS | 86 | 608 | 24883200 | 2000 | |
58838109 | rishabh_singh_ | E1 | Aug. 14, 2019, 11:01 p.m. | OK | GNU C++14 | TESTS | 86 | 623 | 19353600 | 2000 | |
56652872 | MrDindows | E1 | July 7, 2019, 8:02 a.m. | OK | GNU C++17 | TESTS | 86 | 280 | 20172800 | 2000 | |
56695176 | CFish | E1 | July 8, 2019, 6:38 a.m. | OK | GNU C++17 | TESTS | 86 | 483 | 13107200 | 2000 | |
56656302 | BudiArb faishol27 julianfernando | E1 | July 7, 2019, 8:43 a.m. | OK | GNU C++17 | TESTS | 86 | 483 | 19763200 | 2000 | |
56651518 | cat_of_orange qsh17 Lrztxdy | E1 | July 7, 2019, 7:49 a.m. | OK | GNU C++17 | TESTS | 86 | 577 | 13516800 | 2000 | |
56821715 | Wu-Kong | E1 | July 11, 2019, 1:06 a.m. | OK | GNU C++17 | TESTS | 86 | 577 | 16691200 | 2000 | |
56653297 | JOHNKRAM | E1 | July 7, 2019, 8:07 a.m. | OK | GNU C++17 | TESTS | 86 | 577 | 16691200 | 2000 | |
56752477 | INVWVZ SaSa | E1 | July 9, 2019, 12:29 p.m. | OK | GNU C++17 | TESTS | 86 | 592 | 17100800 | 2000 | |
56669699 | ready | E1 | July 7, 2019, 12:32 p.m. | OK | GNU C++17 | TESTS | 86 | 592 | 19353600 | 2000 | |
68362613 | yytsi42 hltk | E1 | Jan. 7, 2020, 2:41 p.m. | OK | GNU C++17 | TESTS | 86 | 592 | 19763200 | 2000 | |
56680174 | Not-Afraid | E1 | July 7, 2019, 5:53 p.m. | OK | GNU C++17 | TESTS | 86 | 592 | 19763200 | 2000 | |
66937350 | zhanyi_xiaolu | E1 | Dec. 15, 2019, 8:50 a.m. | OK | Java 11 | TESTS | 86 | 3821 | 30720000 | 2000 | |
56660044 | ATSTNG Musin | E1 | July 7, 2019, 9:36 a.m. | OK | Java 8 | TESTS | 86 | 670 | 44032000 | 2000 | |
59139209 | beginner1010 | E1 | Aug. 20, 2019, 1:46 p.m. | OK | Java 8 | TESTS | 86 | 841 | 55398400 | 2000 | |
56655214 | VivekRamnani KharYusuf mufaddalnaya | E1 | July 7, 2019, 8:30 a.m. | OK | Java 8 | TESTS | 86 | 1107 | 129843200 | 2000 | |
56728472 | YahiaSherif | E1 | July 8, 2019, 9:59 p.m. | OK | Java 8 | TESTS | 86 | 1169 | 35840000 | 2000 | |
56681345 | its_aks_ulure | E1 | July 7, 2019, 6:39 p.m. | OK | Java 8 | TESTS | 86 | 1809 | 91648000 | 2000 | |
56685586 | Xylenox | E1 | July 7, 2019, 10:09 p.m. | OK | Java 8 | TESTS | 86 | 1918 | 39424000 | 2000 | |
56654219 | insert_cool_handle | E1 | July 7, 2019, 8:18 a.m. | OK | Java 8 | TESTS | 86 | 2651 | 104550400 | 2000 | |
57016977 | akshat_21 | E1 | July 14, 2019, 12:06 p.m. | OK | Java 8 | TESTS | 86 | 3727 | 57753600 | 2000 | |
56657241 | sameep17264 | E1 | July 7, 2019, 8:55 a.m. | OK | Java 8 | TESTS | 86 | 4211 | 43212800 | 2000 | |
56675779 | its_aks_ulure | E1 | July 7, 2019, 3:26 p.m. | OK | Java 8 | TESTS | 86 | 5132 | 64000000 | 2000 | |
58331203 | tihoson | E1 | Aug. 5, 2019, 9:27 a.m. | OK | Mono C# | TESTS | 86 | 1809 | 35020800 | 2000 | |
58331342 | tihoson | E1 | Aug. 5, 2019, 9:30 a.m. | OK | Mono C# | TESTS | 86 | 1825 | 35430400 | 2000 | |
56655417 | peregrinus BrainFreeze | E1 | July 7, 2019, 8:33 a.m. | OK | Mono C# | TESTS | 86 | 4196 | 87961600 | 2000 | |
56688032 | dream_dreamer | E1 | July 8, 2019, 1:19 a.m. | OK | MS C++ 2017 | TESTS | 86 | 795 | 16281600 | 2000 | |
56665166 | PanZverski | E1 | July 7, 2019, 11:01 a.m. | OK | MS C++ 2017 | TESTS | 86 | 904 | 12800000 | 2000 | |
58121023 | nik1998 | E1 | Aug. 1, 2019, 10:45 a.m. | OK | MS C++ 2017 | TESTS | 86 | 2417 | 45260800 | 2000 | |
56654394 | iwgtg Strange_Evil kabeer27 | E1 | July 7, 2019, 8:21 a.m. | OK | PyPy 2 | TESTS | 86 | 4195 | 122675200 | 2000 | |
58925930 | Helli.code | E1 | Aug. 16, 2019, 7:29 p.m. | OK | Python 2 | TESTS | 86 | 4648 | 109260800 | 2000 |
Back to search problems