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
( 195 ) E3 Guard Duty (hard) PROGRAMMING geometry 2800

B'Now that Heidi knows that she can assign Rebel spaceships to bases (recall the easy subtask), she is asking you: how exactly to do this? Now, given positions of N spaceships and N bases on a plane, your task is to connect spaceships and bases with line segments so that: The first line contains an integer N (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910000). For 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89i xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89N, the i xe2 x80 x89+ xe2 x80 x891-th line contains two integers xi and yi (|xi|, xe2 x80 x89|yi| xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910000) denoting the coordinates of the i-th spaceship. The following N lines have the same format, denoting the position of bases. It is guaranteed that no two points coincide and no three points are on the same line. The output should have N lines. The i-th line should contain an integer pi, the index of the base to which the i-th spaceship is connected. The sequence p1, xe2 x80 x89..., xe2 x80 x89pN should form a permutation of 1, xe2 x80 x89..., xe2 x80 x89N. It is guaranteed that a solution exists. If there are multiple solutions, you can output any one of them. '...

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
37318089 King_George ohweonfire FizzyDavid E3 April 14, 2018, 8:50 a.m. OK GNU C++ TESTS 18 1871 4300800 2800
37515726 notFancy E3 April 21, 2018, 2:07 p.m. OK GNU C++ TESTS 18 1887 7372800 2800
37324619 winterzz1 tokitsukaze teitoku E3 April 14, 2018, 11:26 a.m. OK GNU C++ TESTS 18 2574 4096000 2800
37390698 tokitsukaze E3 April 17, 2018, 8:52 a.m. OK GNU C++ TESTS 18 2589 4403200 2800
37353568 robinliu E3 April 15, 2018, 12:53 p.m. OK GNU C++ TESTS 18 2589 4505600 2800
37413383 krijgertje E3 April 17, 2018, 4:03 p.m. OK GNU C++11 TESTS 18 124 5120000 2800
51310544 alex_Harry E3 March 14, 2019, 7:06 p.m. OK GNU C++11 TESTS 18 155 6246400 2800
37513187 RNS_KSB E3 April 21, 2018, 12:05 p.m. OK GNU C++11 TESTS 18 234 41676800 2800
37314425 kriii E3 April 14, 2018, 7:58 a.m. OK GNU C++11 TESTS 18 249 58777600 2800
40689183 Reiketsu E3 July 24, 2018, 4:43 a.m. OK GNU C++11 TESTS 18 685 5017600 2800
58218067 daklqw E3 Aug. 3, 2019, 11:31 a.m. OK GNU C++11 TESTS 18 1092 716800 2800
37323526 OnlyVim E3 April 14, 2018, 10:39 a.m. OK GNU C++11 TESTS 18 1232 4403200 2800
48105804 Nishihara E3 Jan. 9, 2019, 4:49 a.m. OK GNU C++11 TESTS 18 1294 512000 2800
37317255 OnlyVim E3 April 14, 2018, 8:38 a.m. OK GNU C++11 TESTS 18 1560 4198400 2800
37385985 edisonhello E3 April 17, 2018, 3:16 a.m. OK GNU C++11 TESTS 18 1684 4505600 2800
37324641 bmerry E3 April 14, 2018, 11:27 a.m. OK GNU C++14 TESTS 18 77 5836800 2800
40932533 ReaLNero1 E3 July 30, 2018, 1:52 a.m. OK GNU C++14 TESTS 18 78 2560000 2800
37325706 sigma425 maroonrk sugim48 E3 April 14, 2018, 11:51 a.m. OK GNU C++14 TESTS 18 140 7372800 2800
37353522 shadowatyy E3 April 15, 2018, 12:51 p.m. OK GNU C++14 TESTS 18 156 7782400 2800
46265249 atoiz E3 Nov. 27, 2018, 1:38 a.m. OK GNU C++14 TESTS 18 171 4300800 2800
37317084 dotorya molamola. zigui E3 April 14, 2018, 8:35 a.m. OK GNU C++14 TESTS 18 202 4710400 2800
37315212 ksun48 sqrtdecompton Franklyn_W E3 April 14, 2018, 8:08 a.m. OK GNU C++14 TESTS 18 265 8806400 2800
37353442 shadowatyy E3 April 15, 2018, 12:48 p.m. OK GNU C++14 TESTS 18 358 18739200 2800
37442209 Tooc0ld E3 April 18, 2018, 3:45 p.m. OK GNU C++14 TESTS 18 623 4300800 2800
37323936 yosupo E3 April 14, 2018, 10:52 a.m. OK GNU C++14 TESTS 18 748 4710400 2800
46122487 Benq E3 Nov. 23, 2018, 5:01 p.m. OK GNU C++17 TESTS 18 264 10342400 2800
38820731 dacin21 E3 June 1, 2018, 7:14 a.m. OK GNU C++17 TESTS 18 451 5120000 2800
38820752 dacin21 E3 June 1, 2018, 7:15 a.m. OK GNU C++17 TESTS 18 998 5017600 2800
48105858 Nishihara E3 Jan. 9, 2019, 4:53 a.m. OK GNU C++17 TESTS 18 1060 819200 2800
37325162 cthbst harryoooooooooo ss1h2a3tw E3 April 14, 2018, 11:40 a.m. OK GNU C++17 TESTS 18 1294 3788800 2800
37396546 Jori E3 April 17, 2018, 1:25 p.m. OK GNU C++17 TESTS 18 1512 170598400 2800
38820556 dacin21 E3 June 1, 2018, 7:05 a.m. OK GNU C++17 TESTS 18 1528 6553600 2800
55614294 wo_okje E3 June 16, 2019, 7:56 a.m. OK GNU C++17 TESTS 18 1699 921600 2800
69419068 hjk1030 E3 Jan. 23, 2020, 1:54 p.m. OK GNU C++17 TESTS 18 1715 819200 2800
37316646 conflict alex9801 ko_osaga E3 April 14, 2018, 8:28 a.m. OK GNU C++17 TESTS 18 2043 4403200 2800

remove filters

Back to search problems